extra_hardware plugin should optionally convert data from edeploy format

Bug #1495649 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic Inspector
Fix Released
Medium
Sam Betts

Bug Description

eDeploy's python-hardware collects a lot of information, but does it in a bit unusual format: list of lists. To be able to use it with introspection rules we need to convert it to dicts.

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

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

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

Reviewed: https://review.openstack.org/225168
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector/commit/?id=973dd160b3eceef4af76409f4d82698545fd3edd
Submitter: Jenkins
Branch: master

commit 973dd160b3eceef4af76409f4d82698545fd3edd
Author: Sam Betts <email address hidden>
Date: Fri Sep 18 13:55:59 2015 +0100

    Convert eDeploy data so that rules can process it

    eDeploy's return format is a list of lists, in order to use it with
    introspection rules we must convert it to dictionary format. This patch
    detects if the data is in eDeploy's format and will convert it storing
    the new data in introspection_data['extra']. introspection_data['data']
    is assumed unusable by introspection rules and will always be removed
    from introspection_data after the data is stored in swift.

    Change-Id: I25c7ef1f3d3122b80ea98e4d0e64ea20e2eec618
    Closes-Bug: #1495649

Changed in ironic-inspector:
status: In Progress → Fix Committed
Dmitry Tantsur (divius)
Changed in ironic-inspector:
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.