Page MenuHomePhabricator
Paste P4880

Beta labs ORES deploy error
ActivePublic

Authored by Halfak on Feb 3 2017, 3:45 PM.
halfak@deployment-tin:/srv/deployment/ores/deploy$ scap deploy -v
20:30:13 Started deploy [ores/deploy@9fd75a1]
20:30:13 Deploying Rev: 9fd75a1109495cbe479893df0cb7ab56846548d9
20:30:13 Update DEPLOY_HEAD
20:30:13 Creating /srv/deployment/ores/deploy/.git/DEPLOY_HEAD
Deleted tag 'scap/sync/2016-08-08/0001' (was 10f6d96)
20:30:13 Update server info
Entering 'submodules/editquality'
Entering 'submodules/ores'
Entering 'submodules/wheels'
Entering 'submodules/wikiclass'
20:30:13 Started deploy [ores/deploy@9fd75a1]: (no justification provided)
20:30:13
== WORKER ==
:* deployment-sca03.deployment-prep.eqiad.wmflabs
20:30:13 Running remote deploy cmd ['/usr/bin/scap', 'deploy-local', '-v', '--repo', 'ores/deploy', '-g', 'worker', 'fetch', '--refresh-config']
ores/deploy: fetch stage(s): 100% (ok: 1; fail: 0; left: 0)
20:30:15 Running remote deploy cmd ['/usr/bin/scap', 'deploy-local', '-v', '--repo', 'ores/deploy', '-g', 'worker', 'config_deploy', '--refresh-config']
ores/deploy: config_deploy stage(s): 100% (ok: 1; fail: 0; left: 0)
20:30:16 Running remote deploy cmd ['/usr/bin/scap', 'deploy-local', '-v', '--repo', 'ores/deploy', '-g', 'worker', 'promote', '--refresh-config']
ores/deploy: promote and restart_service stage(s): 100% (ok: 1; fail: 0; left: 0)
worker deploy successful. Continue? [y]es/[n]o/[c]ontinue all groups: y
20:30:20 Finished deploy [ores/deploy@9fd75a1] (duration: 00m 07s)
20:30:20 Unhandled error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 285, in run
exit_status = app.main(app.extra_arguments)
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 572, in main
exec_result = self._execute_for_groups(stages)
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 594, in _execute_for_groups
self._execute_for_group(stages, group)
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 641, in _execute_for_group
for label, targets in group.subgroups():
File "/usr/lib/python2.7/dist-packages/scap/targets.py", line 283, in subgroups
for i in xrange(0, len(targets), self.size):
ValueError: xrange() arg 3 must not be zero
20:30:20 deploy failed: <ValueError> xrange() arg 3 must not be zero