Closed
Bug 1043777
Opened 10 years ago
Closed 10 years ago
run puppet on webheads after a release
Categories
(Socorro :: Infra, task)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: lonnen, Unassigned)
Details
Attachments
(1 file)
691 bytes,
patch
|
rhelmer
:
review+
|
Details | Diff | Splinter Review |
Puppet fixes the permissions problem caused by shipping a new copy of crash-stats. It runs so infrequently, though, that we're very likely to see the symbols cron job alert and fail in production before it can clean things up. Ideally the webhead update script would fix this, and there's another bug on file for that. That script is outside of the parts of puppet most of us can modify, though. Instead, we can trigger a puppet run on just the web heads after we push new code.
Reporter | ||
Comment 1•10 years ago
|
||
Attachment #8462304 -
Flags: review?(rhelmer)
Comment 2•10 years ago
|
||
Comment on attachment 8462304 [details] [diff] [review] 1043777.patch I believe that this is a fine thing to do in any case - it'd be nice to make /data/crashstats/src/crash-stats.mozilla.org/update set the proper permission I'd think (although I agree that the lag between install and puppet finishing leaves very little room for the symbol upload to fail, and it'll recover anyway)
Attachment #8462304 -
Flags: review?(rhelmer) → review+
Reporter | ||
Comment 3•10 years ago
|
||
Committed revision 90904. I can't get at the right file to fix but this will cut down on spurious problems in the meanwhile.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•10 years ago
|
||
$ svn commit -m "set the correct multi-command group to run puppet against" Sending files/prod/usr-local-bin/update-socorro-all.sh Transmitting file data . Committed revision 90905. got an error. `web` was an outdated target for the old php webheads. `crashstats` is the correct target for production.
Reporter | ||
Comment 5•10 years ago
|
||
downside of this change -- now releases take a lot longer. There's a step at the end where we wait for puppet, which can take 5 - 15 minutes.
Reporter | ||
Comment 6•10 years ago
|
||
mega downside -- the upgrade seems to hang after the puppet run finishes until you send sig term. reverting change.
Reporter | ||
Comment 7•10 years ago
|
||
reverted by revision 90908
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 8•10 years ago
|
||
Changed the deploy script to set permissions correctly instead of this.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•