Status

Infrastructure & Operations
RelOps: Puppet
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: dustin, Assigned: dustin)

Tracking

Details

Attachments

(2 attachments)

(Assignee)

Description

4 years ago
We're seeing a lot of problems recently where an update is partially cached by Puppet (3.6.x caches a lot more aggressively than older versions).

A graceful reload (service httpd reload) seems to do the trick.
(Assignee)

Comment 1

4 years ago
Created attachment 8467189 [details] [diff] [review]
bug1048231.patch

This caused issues this morning, for example.
Attachment #8467189 - Flags: review?(bugspam.Callek)
Comment on attachment 8467189 [details] [diff] [review]
bug1048231.patch

Review of attachment 8467189 [details] [diff] [review]:
-----------------------------------------------------------------

my *only* concern would be if this causes any intermittent 500s when hg updates. (e.g. cert/puppetizing failures, or other puppet errors).

I am presuming of course that httpd reload does not cause that at all.
Attachment #8467189 - Flags: review?(bugspam.Callek) → review+
(Assignee)

Comment 3

4 years ago
It shouldn't, but even if it does -- we see those sometimes anyway.
(Assignee)

Updated

4 years ago
Attachment #8467189 - Flags: checked-in+
(Assignee)

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Assignee)

Comment 4

4 years ago
Huh.. /etc/crontab has

PATH=/sbin:/bin:/usr/sbin:/usr/bin

and

[root@releng-puppet2.srv.releng.scl3.mozilla.com dmitchell]# which service
/sbin/service

yet

/etc/puppet/update.sh: line 76: service: command not found
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 5

4 years ago
Created attachment 8467814 [details] [diff] [review]
bug1048231-p1.patch

This seems to work, though.
Attachment #8467814 - Flags: review?(bugspam.Callek)
Comment on attachment 8467814 [details] [diff] [review]
bug1048231-p1.patch

cron PATH always baffles me
Attachment #8467814 - Flags: review?(bugspam.Callek) → review+
(Assignee)

Updated

4 years ago
Attachment #8467814 - Flags: checked-in+
(Assignee)

Updated

4 years ago
Status: REOPENED → RESOLVED
Last Resolved: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.