DRAC fails during automated cleaning

Bug #1621385 reported by Imre Farkas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Imre Farkas

Bug Description

DRAC deploy interface tries to check node.driver_internal_info['clean_steps'] which might not exist during automated cleaning.

2016-09-07 16:17:46.881 21002 DEBUG ironic.conductor.manager [req-4ce8bb9d-6a34-43b3-a192-243ba1fa171d - - - - -] Starting automated cleaning for node b7b110a4-a919-48cf-890d-7f36a2a3ebb0 _d
o_node_clean /opt/stack/new/ironic/ironic/conductor/manager.py:793
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager [req-4ce8bb9d-6a34-43b3-a192-243ba1fa171d - - - - -] Failed to prepare node b7b110a4-a919-48cf-890d-7f36a2a3ebb0 for cleaning: 'c
lean_steps'
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager Traceback (most recent call last):
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager File "/opt/stack/new/ironic/ironic/conductor/manager.py", line 825, in _do_node_clean
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager prepare_result = task.driver.deploy.prepare_cleaning(task)
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager File "/opt/stack/new/ironic/ironic/drivers/modules/drac/deploy.py", line 42, in prepare_cleaning
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager in node.driver_internal_info['clean_steps']
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager KeyError: 'clean_steps'
2016-09-07 16:17:46.881 21002 ERROR ironic.conductor.manager

Tags: drac
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/367229

Changed in ironic:
status: New → In Progress
Imre Farkas (ifarkas)
description: updated
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/367229
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=8ffd5a9e4e4f2c49173b2ac97cf176dc49e03443
Submitter: Jenkins
Branch: master

commit 8ffd5a9e4e4f2c49173b2ac97cf176dc49e03443
Author: Imre Farkas <email address hidden>
Date: Thu Sep 8 11:06:37 2016 +0200

    Fix DRAC failure during automated cleaning

    Issue is caused by checking node.driver_internal_info['clean_steps']
    which might not exist.

    Change-Id: I8fbf340bb0b20caa85e2b5809677d97ddbb3e64b
    Closes-Bug: #1621385

Changed in ironic:
status: In Progress → 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.