hypervisor-show can't use cell format id to show hypervisor

Bug #1475973 reported by Chung Chih, Hung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Chung Chih, Hung

Bug Description

This bug was occurred in cell mode.

In cell mode, compute node's id was not identified by integer type. It was formatted with "path!to!cell@ID".
Therefore we can't using the id of hypervisor-list output.

For example,
> nova hypervisor-list
+----------------+--------------------------+-------+---------+
| ID | Hypervisor hostname | State | Status |
+----------------+--------------------------+-------+---------+
| region!child@1 | vagrant-ubuntu-trusty-64 | up | enabled |
+----------------+--------------------------+-------+---------+

But we can still using hostname to show hypervisor.

Changed in python-novaclient:
assignee: nobody → lyanchih (lyanchih)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

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

Reviewed: https://review.openstack.org/203416
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=c3a0c035dc6bd4676805d0618dfe334ed2d81228
Submitter: Jenkins
Branch: master

commit c3a0c035dc6bd4676805d0618dfe334ed2d81228
Author: Chung Chih, Hung <email address hidden>
Date: Sun Jul 19 18:31:45 2015 +0800

    hypervisor command can't use cell format id to show hypervisor

    This bug was occurred in cell mode.

    In cell mode, compute node's id was not identified by integer type. It
    was formatted with "path!to!cell@ID".
    Therefore we can't using the id of hypervisor-list output.

    For example,
    > nova hypervisor-list
    +----------------+--------------------------+-------+---------+
    | ID | Hypervisor hostname | State | Status |
    +----------------+--------------------------+-------+---------+
    | region!child@1 | vagrant-ubuntu-trusty-64 | up | enabled |
    +----------------+--------------------------+-------+---------+

    Change-Id: Iba0cc1993f67351b11d034f372d7a5b98dc017f0
    Closes-Bug: 1475973

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