Can't get power status on iDRAC 1.50 (11th gen)

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

Bug Description

In the response to querying the current power status, the DRAC power interface tries to find the 'EnabledState' element in the 'http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_ComputerSystem' namespace. The response contains the element but in a different namespace: 'http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem'

Tested on a Dell PowerEdge R910.

Tags: drac
Imre Farkas (ifarkas)
description: updated
Revision history for this message
Dmitry Tantsur (divius) wrote :

oh, these namespaces are awesome :D

Changed in ironic:
status: New → Triaged
importance: Undecided → High
tags: added: drac
Imre Farkas (ifarkas)
Changed in ironic:
assignee: nobody → Imre Farkas (ifarkas)
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/148903

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/148903
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=132bf74c193da563f9bff145169cdded7deba214
Submitter: Jenkins
Branch: master

commit 132bf74c193da563f9bff145169cdded7deba214
Author: Imre Farkas <email address hidden>
Date: Wed Jan 21 13:01:02 2015 +0100

    Fix filter_query in drac/power interface

    While enumerating the DCIM_ComputerSystem class, the filter wasn't set
    against the same class but against CIM_ComputerSystem in the query for
    get_power_state. It caused inconsistency between 11th and 12th
    generation servers. In the response, 11th generation server used the
    CIM_ComputerSystem namespace, while 12th generation used
    DCIM_ComputerSystem. Ironic looked for DCIM_ComputerSystem in the
    response, thus failing for 11th generation servers. With the patch, the
    response is in the DCIM_ComputerSystem namespace regardless of the
    generation of the server.

    Closes-Bug: #1409036
    Change-Id: I218a9c3c09208235ee4134eeeb30d878bda6ef6a

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-2 → 2015.1.0
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.