Ironic will poke the node continuously, if it fails to change power state

Bug #1285806 reported by Roman Prykhodchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Rohan

Bug Description

Since power state is being force-set to the node if it mismatches the DB record the node will be poked every time a sync_power_state periodic task is running.

This can be fixed by specifying the maximum number of times Ironic should try force-setting the power state.

Rohan (kanaderohan)
Changed in ironic:
assignee: nobody → Rohan (kanaderohan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/77420

Changed in ironic:
status: New → In Progress
aeva black (tenbrae)
Changed in ironic:
milestone: none → icehouse-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/77420
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=65098bcf6576526200a5c946c8aa12352d8e33d3
Submitter: Jenkins
Branch: master

commit 65098bcf6576526200a5c946c8aa12352d8e33d3
Author: Rohan Kanade <email address hidden>
Date: Sun Mar 2 11:27:44 2014 +0100

    Adds max retry limit to sync_power_state task

    * sync_power_state periodic task tries to set node's actual power state.
      In case of failure to sync power state, Ironic will keep trying to
      sync power state, Hence introduce a max retry per node
      sync power state limit
    * Set Node's DB power state as the actual Node power state if max retries
      exceeded
    * Set the Node's last_error msg after max retries exceed and set the
      node in maintainence mode

    Change-Id: Idbd3afab746f81b9097e97afb1d12a81686a4564
    Closes-Bug: #1285806

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: icehouse-rc1 → 2014.1
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.