deploy scripts need to escape wildcards to prevent mismatches for local files

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: atoll, Assigned: cyliang)

Tracking

Details

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

Per bug 1129604#c14:

(In reply to C. Liang [:cyliang] from comment #13)
> TL;DR: You'll want to escape the '*' in the superisorctl command:
> 
>    /usr/bin/supervisorctl mrestart celery\*
> 
> 
> If there is a file matching the celery* pattern in the home directory of the
> user running the supervisorctl command, the wildcard is processed as a match
> for the filename.  For example, if there is a file name 'celery_kuma.conf'
> in the directory, supervisorctl will attempt to restart 'celery_kuma.conf'
> and not 'celeryd*'.

(In reply to C. Liang [:cyliang] from comment #14)
> (I have deleted the file with the celery* file name that was causing the
> issue on developer3.  Escaping the wildcard, if possible, would proactively
> protect this from happening again with the deploy scripts.)

Filing this bug to track updating the deploy scripts, so the incident bug can be closed.
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/681]
(Assignee)

Updated

3 years ago
Assignee: server-ops-webops → cliang
(Assignee)

Comment 1

3 years ago
Submitted pull request (https://github.com/mozilla/kuma/pull/3163)
(Assignee)

Comment 2

3 years ago
jezdez merged 1 commit into mozilla:master from cyl-moz:master 3 days ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.