yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29642
[Bug 1433374] [NEW] CLI "nova hypervisor-servers ID" shows all instances not instances of hypervisor "ID "
Public bug reported:
env:
nova - 2014.1
novaclient - 2.17.0
Reproduce:
1. nova hypervisor-list
# nova hypervisor-list
+----+---------------------+
| ID | Hypervisor hostname |
+----+---------------------+
| 1 | 2C514_1_10_SBCJ |
| 2 | 2C519_1_11_SBCJ |
| 3 | 2C519_1_13_SBCJ |
+----+---------------------+
2. nova hypervisor-servers 1
# nova hypervisor-servers 1
+--------------------------------------+-------------------+---------------+---------------------+
| ID | Name | Hypervisor ID | Hypervisor Hostname |
+--------------------------------------+-------------------+---------------+---------------------+
| 5068402f-3e1f-4e1a-95b3-744a9916f6e9 | instance-00000096 | 1 | 2C514_1_10_SBCJ |
| f8ee006b-e039-48fe-8673-df54ffbf82ff | instance-00000099 | 1 | 2C514_1_10_SBCJ |
| 1dec8899-2f0f-4627-9eb6-9cfe476baba0 | instance-0000009a | 1 | 2C514_1_10_SBCJ |
| 869b561d-d0a0-404a-8a03-3b3bdf8b9f97 | instance-000000ac | 1 | 2C514_1_10_SBCJ |
| d693cde6-540d-495c-806c-17cf80be7382 | instance-000000ad | 1 | 2C514_1_10_SBCJ |
| d8097b96-c08c-420a-99c2-22510b2aa475 | instance-000000ae | 1 | 2C514_1_10_SBCJ |
| 75318765-e5ca-4fca-9d67-3678cd8e7626 | instance-000000aa | 2 | 2C519_1_11_SBCJ |
| fa27d9c8-3020-4690-a14c-ca24ae804921 | instance-000000ab | 2 | 2C519_1_11_SBCJ |
+--------------------------------------+-------------------+---------------+---------------------+
But use hostname, and got the right results:
# nova hypervisor-servers 2C514_1_10_SBCJ
+--------------------------------------+-------------------+---------------+---------------------+
| ID | Name | Hypervisor ID | Hypervisor Hostname |
+--------------------------------------+-------------------+---------------+---------------------+
| 5068402f-3e1f-4e1a-95b3-744a9916f6e9 | instance-00000096 | 1 | 2C514_1_10_SBCJ |
| f8ee006b-e039-48fe-8673-df54ffbf82ff | instance-00000099 | 1 | 2C514_1_10_SBCJ |
| 1dec8899-2f0f-4627-9eb6-9cfe476baba0 | instance-0000009a | 1 | 2C514_1_10_SBCJ |
| 869b561d-d0a0-404a-8a03-3b3bdf8b9f97 | instance-000000ac | 1 | 2C514_1_10_SBCJ |
| d693cde6-540d-495c-806c-17cf80be7382 | instance-000000ad | 1 | 2C514_1_10_SBCJ |
| d8097b96-c08c-420a-99c2-22510b2aa475 | instance-000000ae | 1 | 2C514_1_10_SBCJ |
+--------------------------------------+-------------------+---------------+---------------------+
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1433374
Title:
CLI "nova hypervisor-servers ID" shows all instances not instances of
hypervisor "ID "
Status in OpenStack Compute (Nova):
New
Bug description:
env:
nova - 2014.1
novaclient - 2.17.0
Reproduce:
1. nova hypervisor-list
# nova hypervisor-list
+----+---------------------+
| ID | Hypervisor hostname |
+----+---------------------+
| 1 | 2C514_1_10_SBCJ |
| 2 | 2C519_1_11_SBCJ |
| 3 | 2C519_1_13_SBCJ |
+----+---------------------+
2. nova hypervisor-servers 1
# nova hypervisor-servers 1
+--------------------------------------+-------------------+---------------+---------------------+
| ID | Name | Hypervisor ID | Hypervisor Hostname |
+--------------------------------------+-------------------+---------------+---------------------+
| 5068402f-3e1f-4e1a-95b3-744a9916f6e9 | instance-00000096 | 1 | 2C514_1_10_SBCJ |
| f8ee006b-e039-48fe-8673-df54ffbf82ff | instance-00000099 | 1 | 2C514_1_10_SBCJ |
| 1dec8899-2f0f-4627-9eb6-9cfe476baba0 | instance-0000009a | 1 | 2C514_1_10_SBCJ |
| 869b561d-d0a0-404a-8a03-3b3bdf8b9f97 | instance-000000ac | 1 | 2C514_1_10_SBCJ |
| d693cde6-540d-495c-806c-17cf80be7382 | instance-000000ad | 1 | 2C514_1_10_SBCJ |
| d8097b96-c08c-420a-99c2-22510b2aa475 | instance-000000ae | 1 | 2C514_1_10_SBCJ |
| 75318765-e5ca-4fca-9d67-3678cd8e7626 | instance-000000aa | 2 | 2C519_1_11_SBCJ |
| fa27d9c8-3020-4690-a14c-ca24ae804921 | instance-000000ab | 2 | 2C519_1_11_SBCJ |
+--------------------------------------+-------------------+---------------+---------------------+
But use hostname, and got the right results:
# nova hypervisor-servers 2C514_1_10_SBCJ
+--------------------------------------+-------------------+---------------+---------------------+
| ID | Name | Hypervisor ID | Hypervisor Hostname |
+--------------------------------------+-------------------+---------------+---------------------+
| 5068402f-3e1f-4e1a-95b3-744a9916f6e9 | instance-00000096 | 1 | 2C514_1_10_SBCJ |
| f8ee006b-e039-48fe-8673-df54ffbf82ff | instance-00000099 | 1 | 2C514_1_10_SBCJ |
| 1dec8899-2f0f-4627-9eb6-9cfe476baba0 | instance-0000009a | 1 | 2C514_1_10_SBCJ |
| 869b561d-d0a0-404a-8a03-3b3bdf8b9f97 | instance-000000ac | 1 | 2C514_1_10_SBCJ |
| d693cde6-540d-495c-806c-17cf80be7382 | instance-000000ad | 1 | 2C514_1_10_SBCJ |
| d8097b96-c08c-420a-99c2-22510b2aa475 | instance-000000ae | 1 | 2C514_1_10_SBCJ |
+--------------------------------------+-------------------+---------------+---------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1433374/+subscriptions
Follow ups
References