drac set_boot_device runs unneeded config job

Bug #1454259 reported by Christopher Dearborn
8
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/173047
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=1edf56dbbfef63eb7bc4d25c83f2c88fd1d99833
Submitter: Jenkins
Branch: master

commit 1edf56dbbfef63eb7bc4d25c83f2c88fd1d99833
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
    Change-Id: I48971c79ba3d745056ff3d3157fde08b3d566f94

Changed in ironic:
status: In Progress → Fix Committed
Dmitry Tantsur (divius)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.