incorrect info returned when show aggregate info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
python-openstackclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Summary]
incorrect info returned when show aggregate info
[Topo]
devstack all-in-one node
[Description and expect result]
correct info returned when show aggregate info
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) create an aggregate, availability_zone is not specified:
root@45-59:~# openstack aggregate create agg1
+------
| Field | Value |
+------
| availability_zone | None |
| created_at | 2016-01-
| deleted | False |
| deleted_at | None |
| id | 6 |
| name | agg1 |
| updated_at | None |
+------
root@45-59:~#
root@45-59:~#
root@45-59:~# openstack aggregate list
+----+-
| ID | Name | Availability Zone |
+----+-
| 6 | agg1 | None | >>>>ISSUE, availability_zone is shown as "None"
+----+-
root@45-59:~#
ISSUE: availability_zone can be shown as "-"
2)below is nova cmd for reference:
root@45-59:~# nova aggregate-details agg1
+----+-
| Id | Name | Availability Zone | Hosts | Metadata |
+----+-
| 6 | agg1 | - | | |
+----+-
root@45-59:~#
root@45-59:~# nova aggregate-list
+----+-
| Id | Name | Availability Zone |
+----+-
| 6 | agg1 | - |
+----+-
root@45-59:~#
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
Changed in python-openstackclient: | |
assignee: | nobody → Hieu LE (hieulq) |
Changed in python-openstackclient: | |
assignee: | Hieu LE (hieulq) → nobody |
Changed in python-openstackclient: | |
status: | In Progress → Invalid |
bug skimming openstackclient handles empty values different than the python-novalient CLI. As the Nova API returns the values as is and the python-novaclient handles it as expected, I thing the issue (if any) is in the python- openstackclient .
------------------
It looks like the python-