drac set_boot_device runs unneeded config job
Bug #1454259 reported by
Christopher Dearborn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
Christopher Dearborn |
Bug Description
The drac implementation of set_boot_device does not recognize when
it does not actually need to change the boot order, which causes it to
run a config job when there is nothing to do.
Changed in ironic: | |
assignee: | nobody → Christopher Dearborn (cdearbor) |
Changed in ironic: | |
status: | New → In Progress |
Changed in ironic: | |
importance: | Undecided → Low |
Changed in ironic: | |
milestone: | none → 4.0.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/173047 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=1edf56dbbfe f63eb7bc4d25c83 f2c88fd1d99833
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1edf56dbbfef63e b7bc4d25c83f2c8 8fd1d99833
Author: Victor Lowther <email address hidden>
Date: Mon Apr 13 14:16:22 2015 -0500
Fix drac implementation of set_boot_device
The drac implementation of set_boot_device was not recognizing when
it did not actually need to change the boot order, which caused it to
try running a config job when there was nothing to do.
This adds a check for that condition, and exits early if there is
nothing to do.
Closes-Bug: 1454259 5056ff3d3157fde 08b3d566f94
Change-Id: I48971c79ba3d74