Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Fix bug 1120619 - Restart all celery components during deploy. Refs bug 1122085. #3036

Merged
merged 1 commit into from Jan 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/chief_deploy.py
Expand Up @@ -71,7 +71,7 @@ def prime_app(ctx):
@hostgroups(settings.CELERY_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY})
def update_celery(ctx):
ctx.remote(settings.REMOTE_UPDATE_SCRIPT)
ctx.remote('/usr/bin/supervisorctl restart %s' % settings.CELERY_SERVICE)
ctx.remote('/usr/bin/supervisorctl mrestart celery*')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mrestart typo? Or are we using a library or something that gives it to us?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no typo, we use a supervisor plugin that adds wildcard support via an own command

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


# As far as I can tell, Chief does not pass the username to commander,
# so I can't give a username here: (
Expand Down