Closed
Bug 1275428
Opened 9 years ago
Closed 9 years ago
Weekly master restart should add comment to slavealloc while disabled
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Infrastructure & Operations Graveyard
CIDuty
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: aobreja)
References
Details
Attachments
(1 file, 2 obsolete files)
|
1.31 KB,
patch
|
aselagea
:
checked-in+
|
Details | Diff | Splinter Review |
The recent buildbot master lag alerts were debugged by Alin to be 13 masters being disabled in slavealloc, presumably because something went wrong with their restarts. We should try to figure out the root cause (in bug 1256118) but in the meantime drop a comment in slavealloc like 'master restart YYYYMMDD' while they're disabled.
| Assignee | ||
Comment 1•9 years ago
|
||
This patch should give us notifications in slavealloc about the master when was disabled.
I will still need to test this modifications on local,can you give me any advise how can I begin testing this?and to what should I be aware of? thank you
Attachment #8756892 -
Flags: feedback?(coop)
Updated•9 years ago
|
Attachment #8756892 -
Flags: feedback?(coop) → feedback+
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → andrei.obreja
| Assignee | ||
Comment 2•9 years ago
|
||
This patch will give us notifications in slavealloc about the master when was disabled while is been disabled.
Attachment #8777314 -
Flags: review?(coop)
Comment 3•9 years ago
|
||
Comment on attachment 8777314 [details] [diff] [review]
bug_1275428_notification_slavealloc.patch
Review of attachment 8777314 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with nit fixed.
::: buildfarm/maintenance/restart_masters.py
@@ +263,4 @@
> # and possibly getting hung.
> log.debug("Disabling %s in slavealloc." % master['hostname'])
> disable_url = furl(slavealloc_api_url + "/" + str(master_ids[master['name']]))
> + put_data = {"enabled": 0, "notes": "master disabled at %s " %datetime.datetime.now().strftime("%d-%m-%y %H:%M")}
Nit: I prefer %Y-%m-%d as the date format because it's sortable.
Attachment #8777314 -
Flags: review?(coop) → review+
| Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8756892 -
Attachment is obsolete: true
Attachment #8777314 -
Attachment is obsolete: true
Updated•9 years ago
|
Attachment #8777802 -
Flags: checked-in+
Comment 5•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Release Engineering → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•