ironic client can not display chassis_uuid

Bug #1265785 reported by Haomeng,Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
Fix Released
Medium
Haomeng,Wang

Bug Description

Our API return chassis_uuid value, but ironic client display with empty chassis_id value as below:

{"instance_uuid": null, "target_power_state": null, "links": [{"href": "http://192.168.0.103:6385/v1/nodes/e598fed9-9163-46cf-9777-37ed84ca00bf", "rel": "self"}, {"href": "http://192.168.0.103:6385/nodes/e598fed9-9163-46cf-9777-37ed84ca00bf", "rel": "bookmark"}], "driver_info": {"virt_type": "virsh", "host": "127.0.0.1", "ssh_password": "ironic", "ssh_username": "ironic", "ssh_virt_type": "virsh", "ssh_address": "127.0.0.1"}, "extra": {}, "last_error": "Failed to change power state to 'power on'. Error: Node 127.0.0.1 could not be found.", "created_at": "2014-01-03T10:38:23+00:00", "target_provision_state": null, "driver": "pxe_ssh", "updated_at": "2014-01-03T11:41:29+00:00", "properties": {}, "chassis_uuid": "0c1cfa0f-9dfd-4964-8b88-ff6bd00231ac", "provision_state": null, "power_state": null, "ports": [{"href": "http://192.168.0.103:6385/v1/nodes/e598fed9-9163-46cf-9777-37ed84ca00bf/ports", "rel": "self"}, {"href": "http://192.168.0.103:6385/nodes/e598fed9-9163-46cf-9777-37ed84ca00bf/ports", "rel": "bookmark"}], "uuid": "e598fed9-9163-46cf-9777-37ed84ca00bf"}

+------------------------+-------------------------------------------------------------------------+
| Property | Value |
+------------------------+-------------------------------------------------------------------------+
| chassis_id | |
| created_at | 2014-01-03T10:38:23+00:00 |
| driver | pxe_ssh |
| driver_info | {u'virt_type': u'virsh', u'host': u'127.0.0.1', u'ssh_password': |
| | u'ironic', u'ssh_username': u'ironic', u'ssh_virt_type': u'virsh', |
| | u'ssh_address': u'127.0.0.1'} |
| extra | {} |
| instance_uuid | None |
| last_error | Failed to change power state to 'power on'. Error: Node 127.0.0.1 could |
| | not be found. |
| power_state | None |
| properties | {} |
| provision_state | None |
| reservation | |
| target_power_state | None |
| target_provision_state | None |
| updated_at | 2014-01-03T11:41:29+00:00 |
| uuid | e598fed9-9163-46cf-9777-37ed84ca00bf |
+------------------------+-------------------------------------------------------------------------+

Haomeng,Wang (whaom)
affects: ironic → python-ironicclient
Changed in python-ironicclient:
assignee: nobody → Haomeng,Wang (whaom)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ironicclient (master)

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

aeva black (tenbrae)
Changed in python-ironicclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ironicclient (master)

Reviewed: https://review.openstack.org/64815
Committed: https://git.openstack.org/cgit/openstack/python-ironicclient/commit/?id=f11949871e46324a0dc130dcb0c11d08046f9ff7
Submitter: Jenkins
Branch: master

commit f11949871e46324a0dc130dcb0c11d08046f9ff7
Author: Haomeng, Wang <email address hidden>
Date: Fri Jan 3 19:53:59 2014 +0800

    ironic client should display chassis_uuid value

    Our Node API return chassis_uuid value correctly, but ironic client
    display chassis_id with empty value, so change to chassis_uuid.

    Change-Id: I585dd3f7fb4e5a416ee0e47ac1f3d0c337da056b
    Closes-Bug: #1265785

Changed in python-ironicclient:
status: In Progress → Fix Committed
Changed in python-ironicclient:
milestone: none → 0.7.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.