Closed Bug 939118 Opened 11 years ago Closed 11 years ago

DisconnectStep shouldn't do anything if the slave is in the middle of a graceful shutdown

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(1 file)

Arguably, if you've requested a graceful shutdown of a slave, you don't want it to reboot. It's kindof pointless, really, and harmful if you didn't or can't disable it in slavealloc for some reason. Also this would help a lot with bug 932392.

I'm a little biased in my desire for this, so what do folks think? I tested this in staging.
Attachment #832925 - Flags: review?(emorley)
Attachment #832925 - Flags: review?(catlee)
Rail just pointed out a more solid use case for this: it will allow us to grab files before puppet cleans them up at start-up time. This won't help with nightly builds where we rm the dir as part of the build, but it will help in cases where there's files in temp dirs or other locations like that.
Comment on attachment 832925 [details] [diff] [review]
don't reboot when graceful shutdown is set

sgtm :-)
Attachment #832925 - Flags: review?(emorley) → feedback+
Assignee: nobody → bhearsum
Status: NEW → ASSIGNED
Attachment #832925 - Flags: review?(catlee) → review?(rail)
Attachment #832925 - Flags: review?(rail) → review+
Attachment #832925 - Flags: checked-in+
something[s] here made it to production
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: