nova list --host invalidhostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Opinion
|
Wishlist
|
Ritesh Paiboina |
Bug Description
Versions:
rhel 7
python-
openstack-
openstack-
openstack-
python-
FYI my setup is an HA deployment, but same happens on none HA.
Description of bug:
When running nova list --host with an invalid hostname (no such server or typo in server name), we should get an error.
Today we get an empty table, alerting user to the fact that an invalid host name was given would be better IMHO :)
[root@mace83935
+----+-
| ID | Name | Status | Task State | Power State | Networks |
+----+-
+----+-
[root@mace83935
mace83935b075d6
[root@mace83935
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 620ce9ae-
| 5b7750d1-
+------
Steps to reproduce:
1. Boot up an instance
2. #nova list --host FakeServerName -> you will get an empty table, without notice of invalid hostname
3. #nova list --host realServername you will see instance name in table as should.
Changed in nova: | |
assignee: | nobody → Avinash (avinash-jalumuru) |
no longer affects: | nova |
Changed in python-novaclient: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in python-novaclient: | |
assignee: | nobody → Santhosh Peddiboyina (peddiboyina-9) |
description: | updated |
Changed in python-novaclient: | |
status: | Confirmed → In Progress |
Changed in python-novaclient: | |
assignee: | Santhosh Peddiboyina (peddiboyina-9) → nobody |
Changed in python-novaclient: | |
assignee: | nobody → Ritesh (rsritesh) |
summary: |
- nova list --hostname invalidhostname + nova list --host invalidhostname |
Changed in python-novaclient: | |
status: | In Progress → Opinion |
FYI same issue on Juno , just checked now.
openstack- nova-compute- 2014.2- 2.el7ost. noarch nova-api- 2014.2- 2.el7ost. noarch novaclient- 2.20.0- 1.el7ost. noarch
openstack-
python-
..