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 |
+----------------+--------------------------+-------+---------+
Reviewed: https:/ /review. openstack. org/203416 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=c3a0c035dc6 bd4676805d0618d fe334ed2d81228
Committed: https:/
Submitter: Jenkins
Branch: master
commit c3a0c035dc6bd46 76805d0618dfe33 4ed2d81228
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, ------- ------- +------ ------- ------- ------+ ------- +------ ---+ ------- ------- +------ ------- ------- ------+ ------- +------ ---+ ubuntu- trusty- 64 | up | enabled | ------- ------- +------ ------- ------- ------+ ------- +------ ---+
> nova hypervisor-list
+--
| ID | Hypervisor hostname | State | Status |
+--
| region!child@1 | vagrant-
+--
Change-Id: Iba0cc1993f6735 1b11d034f372d7a 5b98dc017f0
Closes-Bug: 1475973