Page MenuHomePhabricator

Upgrade ancient version of scap running on deploy-1006.devtools.eqiad1.wikimedia.cloud
Closed, ResolvedPublic

Description

deploy-1006.devtools.eqiad1.wikimedia.cloud is running scap 4.79.0-1 but the latest version of scap is 4.243.0. Scap is normally only kept up-to-date in production. We don't have a procedure for keeping scap up-to-date in devtools.

Running scap install-world on deploy1006 fails with:

Aborting: List of targets is empty

because /etc/dsh/group/scap_targets has no hosts listed in it (this is a bad behavior of this old version of scap).

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
bootstrap_scap_master.sh: Fix install_local_version.sh flagsrepos/releng/scap!1114dancymaster-Id538a8d7baeaa80666ba0e51cfcd4030ef6632d8master
Customize query in GitLab

Event Timeline

Things done:

ssh deploy-1006.devtools.eqiad1.wikimedia.cloud
$ sudo -i
$ cd /srv/deployment/scap
$ git pull
$ rm -fr /var/lib/scap /usr/bin/scap
$ run-puppet-agent
dancy@deploy-1006:~$ scap version
4.243.0