Page MenuHomePhabricator

scap not installed on mw1486.eqiad.wmnet which breaks deployment: /usr/bin/scap: No such file or directory
Closed, ResolvedPublic

Description

While running scap for a security deploy, I had a sync-proxy fail. Log is below:

22:20:04 Started sync-proxies
22:20:05 ['/usr/bin/scap', 'pull', '--no-php-restart', '--no-update-l10n', '--include', 'php-1.42.0-wmf.14', '--include', 'php-1.42.0-wmf.14/includes', '--include', 'php-1.42.0-wmf.14/includes/CommentFormatter', '--include', 'php-1.42.0-wmf.14/includes/CommentFormatter/CommentParser.php', 'deploy1002.eqiad.wmnet', 'deploy2002.codfw.wmnet', 'deploy2002.codfw.wmnet'] (ran as mwdeploy@mw1486.eqiad.wmnet) returned [127]: bash: line 1: /usr/bin/scap: No such file or directory

22:20:05 sync-proxies: 100% (in-flight: 0; ok: 7; fail: 1; left: 0)

Event Timeline

hashar renamed this task from Scap Error to scap not installed on mw1486.eqiad.wment which breaks deployment: /usr/bin/scap: No such file or directory.Jan 23 2024, 9:23 AM
hashar updated the task description. (Show Details)

Change 992364 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] hieradata: remove mw1486 from scap proxies

https://gerrit.wikimedia.org/r/992364

Change 992364 merged by Majavah:

[operations/puppet@production] hieradata: remove mw1486 from scap proxies

https://gerrit.wikimedia.org/r/992364

The host had been reclaimed for mw-on-k8s, and wasn't removed from the list of scap proxies. Thank you @taavi for the patch.

Change 992391 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] scap::dsh::scap_proxies: Replace mw1486 by mw1405

https://gerrit.wikimedia.org/r/992391

Change 992391 merged by Clément Goubert:

[operations/puppet@production] scap::dsh::scap_proxies: Replace mw1486 by mw1405

https://gerrit.wikimedia.org/r/992391

Mentioned in SAL (#wikimedia-operations) [2024-01-23T12:14:31Z] <claime> scap::dsh::scap_proxies: Replace mw1486 by mw1405 - T355622

Mstyles renamed this task from scap not installed on mw1486.eqiad.wment which breaks deployment: /usr/bin/scap: No such file or directory to scap not installed on mw1486.eqiad.wmnet which breaks deployment: /usr/bin/scap: No such file or directory.Jan 24 2024, 1:35 AM
Clement_Goubert claimed this task.

Scap deployments have been running fine following the proxy replacement. Resolving.