Closed Bug 1043777 Opened 10 years ago Closed 10 years ago

run puppet on webheads after a release

Categories

(Socorro :: Infra, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lonnen, Unassigned)

Details

Attachments

(1 file)

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.
Attached patch 1043777.patchSplinter Review
Attachment #8462304 - Flags: review?(rhelmer)
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+
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
$ 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.
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.
mega downside -- the upgrade seems to hang after the puppet run finishes until you send sig term. reverting change.
reverted by revision 90908
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Changed the deploy script to set permissions correctly instead of this.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: