By mistake around 11:13 UTC I ran rm -rf under /srv/deployment on deploy1002. I immediately stopped it but some files have probably been deleted. I am really sorry for the sloppy mistake, I apologize.
I tried to run puppet right afterwards, since my understanding is that the dirs under /srv/deployment are checked out by puppet based on a config, and got:
Notice: /Stage[main]/Profile::Mediawiki::Deployment::Server/File[/srv/deployment/mediawiki-staging]/ensure: created (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[dumps/dumps]/Scap_source[dumps/dumps]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[integration/docroot]/Scap_source[integration/docroot]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 1: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[logstash/plugins]/Scap_source[logstash/plugins]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 1: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[parsoid/deploy]/Scap_source[parsoid/deploy]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[wikimedia/discovery/analytics]/Scap_source[wikimedia/discovery/analytics]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[wdqs/wdqs]/Scap_source[wdqs/wdqs]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[cassandra/logstash-logback-encoder]/Scap_source[cassandra/logstash-logback-encoder]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[cassandra/twcs]/Scap_source[cassandra/twcs]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[debmonitor/deploy]/Scap_source[debmonitor/deploy]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[releng/phatality]/Scap_source[releng/phatality]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[design/style-guide]/Scap_source[design/style-guide]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective) Info: Class[Profile::Mediawiki::Deployment::Server]: Unscheduling all events on Class[Profile::Mediawiki::Deployment::Server]
Subsequent puppet runs got the errors down to:
Error: Execution of '/usr/bin/scap deploy --init' returned 1: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[logstash/plugins]/Scap_source[logstash/plugins]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 1: (corrective) Error: Execution of '/usr/bin/scap deploy --init' returned 70: Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[parsoid/deploy]/Scap_source[parsoid/deploy]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy --init' returned 70: (corrective)
As test, I saved the parsoid/deploy dir under the root home dir, removed it and ran puppet, since git status was complaining about it not being an existing git repo. The git weird status is now gone but the scap deploy --init ran by puppet fails.
I am going to send this task to ops@ to warn people.