Closed Bug 1261046 Opened 9 years ago Closed 9 years ago

[Reps] Chief not updating dev instance

Categories

(Infrastructure & Operations Graveyard :: WebOps: Engagement, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tasos, Assigned: ericz)

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/2781] )

Chief is not updating the dev server (reps-dev.allizom.org) with new code from master. Please also see history and traceback here: http://genericadm.private.phx1.mozilla.com/chief/reps.dev/history
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/2781]
Here is the traceback that we are getting from the chief logs: I am trying to load /data/python-dev/src/reps-dev.allizom.org/remo/bin/update/update.py Traceback (most recent call last): File "/usr/bin/commander", line 4, in <module> main() File "/usr/lib/python2.6/site-packages/commander/main.py", line 102, in main cmd_mod = import_cmdfile(cmdfile) File "/usr/lib/python2.6/site-packages/commander/main.py", line 83, in import_cmdfile return imp.load_source('cmdfile', cmdfile) File "/data/python-dev/src/reps-dev.allizom.org/remo/bin/update/update.py", line 76, in <module> @hostgroups(settings.CELERY_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY}) File "/usr/lib/python2.6/site-packages/commander/deploy.py", line 121, in hostgroups hs = reduce(lambda x, y: x + y, [get_systems(group) for group in groups]) File "/usr/lib/python2.6/site-packages/commander/hosts.py", line 23, in get_systems return commanderconfig.hostgroups[host_group] KeyError: 'genericrhel6-celery-dev'
The last successful chief push was on 15-Mar-2016. It looks like some configuration change must have occurred since then.
Assignee: server-ops-webops → eziegenhorn
The celery hostgroup was misconfigured in commander_settings.py -- not sure how that happened or how it ever worked, but I fixed it and it's working now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.