Page MenuHomePhabricator
Paste P12895

stat1007 scap deploy
ActivePublic

Authored by dcausse on Fri, Oct 2, 8:46 AM.
dcausse@deploy1001:/srv/deployment/wikimedia/discovery/analytics$ scap deploy -l "stat1007*" "Test stat1007 deploy"
08:41:26 Started deploy [wikimedia/discovery/analytics@5713fb0]
08:41:26 Deploying Rev: HEAD = 5713fb09d0d7cf98bf2c865fa7b7fd4431160ce3
08:41:26 Started deploy [wikimedia/discovery/analytics@5713fb0]: Test stat1007 deploy
08:41:26
== ANALYTICS ==
:* stat1007.eqiad.wmnet
08:41:27 ['/usr/bin/scap', 'deploy-local', '-v', '--repo', 'wikimedia/discovery/analytics', '-g', 'analytics', 'fetch', '--refresh-config'] on stat1007.eqiad.wmnet returned [70]: 08:41:27 WARNING - Unhandled error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 334, in run
app._load_config()
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 114, in _load_config
overrides = self._get_config_overrides()
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 531, in _get_config_overrides
with open(self.context.local_config, 'w') as cfg:
IOError: [Errno 13] Permission denied: '/srv/deployment/wikimedia/discovery/analytics-cache/.config'
08:41:27 ERROR - deploy-local failed: <IOError> [Errno 13] Permission denied: '/srv/deployment/wikimedia/discovery/analytics-cache/.config'
wikimedia/discovery/analytics: fetch stage(s): 100% (ok: 0; fail: 1; left: 0)
08:41:27 1 targets had deploy errors
08:41:27 1 targets failed
08:41:27 1 of 1 analytics targets failed, exceeding limit
Rollback all deployed groups? [Y/n]: Y
08:42:00
== ANALYTICS ==
:* stat1007.eqiad.wmnet
08:42:00 ['/usr/bin/scap', 'deploy-local', '-v', '--repo', 'wikimedia/discovery/analytics', '-g', 'analytics', 'rollback', '--refresh-config'] on stat1007.eqiad.wmnet returned [70]: 08:42:00 WARNING - Unhandled error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 334, in run
app._load_config()
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 114, in _load_config
overrides = self._get_config_overrides()
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 531, in _get_config_overrides
with open(self.context.local_config, 'w') as cfg:
IOError: [Errno 13] Permission denied: '/srv/deployment/wikimedia/discovery/analytics-cache/.config'
08:42:00 ERROR - deploy-local failed: <IOError> [Errno 13] Permission denied: '/srv/deployment/wikimedia/discovery/analytics-cache/.config'
wikimedia/discovery/analytics: rollback stage(s): 100% (ok: 0; fail: 1; left: 0)
08:42:00 1 targets had deploy errors
08:42:00 1 targets failed
08:42:00 Finished deploy [wikimedia/discovery/analytics@5713fb0]: Test stat1007 deploy (duration: 00m 34s)
08:42:00 Finished deploy [wikimedia/discovery/analytics@5713fb0] (duration: 00m 34s)
dcausse@deploy1001:/srv/deployment/wikimedia/discovery/analytics$

Event Timeline

dcausse created this paste.Fri, Oct 2, 8:46 AM