Closed
Bug 629694
Opened 14 years ago
Closed 14 years ago
modify runslave.py to call back to nagios
Categories
(Release Engineering :: General, defect, P4)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
References
Details
(Whiteboard: [automation][nagios])
Attachments
(1 file, 1 obsolete file)
9.72 KB,
patch
|
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
Per bug 627126, runslave.py is the single common point for all (desktop) slaves, and we want it to report its status to nagios, as a passive check.
This should go into runslave.py *before* the rollout to the various win* systems, since that's a manual process.
Updated•14 years ago
|
Priority: -- → P4
Whiteboard: [automation][nagios]
Assignee | ||
Comment 1•14 years ago
|
||
I'm putting this in staging now. Let's see if it hangs any of the slaves' startup - it shouldn't!
I considered complicating this so that it times out the connect, read, and write operations -- but that's hard to do portably on Windows. If nagios is *down*, this will fail silently and move on. If nagios is hanging, this will hang, too - but then we've got bigger problems.
Assignee: nobody → dustin
Attachment #529218 -
Flags: review?(bear)
Attachment #529218 -
Flags: feedback?(arich)
Assignee | ||
Comment 2•14 years ago
|
||
linux-ix-slave05 has rebooted a bunch of times with this patch applied, with no ill effects. I'll leave it in staging over the weekend, but this looks promising, so plz 2 review.
Comment 3•14 years ago
|
||
Comment on attachment 529218 [details] [diff] [review]
m629694-puppet-manifests-r1.patch
One thing that I am wondering is the buf+= sk.recv() loop in do_send_notice() routine is how you would prevent an endless loop if the remote end of the socket is closed but your local socket remains open. You would receive 0 bytes until something else happened.
Other than that (and given how much of a low-level single-purpose tool) r+
Assignee | ||
Comment 4•14 years ago
|
||
updated version on bear's advice. Checked in and will be deployed shortly along with the patch for bug 648665.
Attachment #529218 -
Attachment is obsolete: true
Attachment #529500 -
Flags: checked-in+
Attachment #529218 -
Flags: review?(bear)
Attachment #529218 -
Flags: feedback?(arich)
Assignee | ||
Comment 5•14 years ago
|
||
deployed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•