yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46360
[Bug 1538006] Re: useless 'u' in the return info of "openstack aggregate show"
its in openstackclient not in novaclient
** Also affects: python-openstackclient
Importance: Undecided
Status: New
** Changed in: python-openstackclient
Status: New => Confirmed
--
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/1538006
Title:
useless 'u' in the return info of "openstack aggregate show"
Status in OpenStack Compute (nova):
Invalid
Status in python-novaclient:
Triaged
Status in python-openstackclient:
Confirmed
Bug description:
[Summary]
useless 'u' in the return info of "openstack aggregate show"
[Topo]
devstack all-in-one node
[Description and expect result]
no useless 'u' in the return info of "openstack aggregate show"
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) useless 'u' for metadata when creating an aggregate:
root@45-59:/opt/stack/devstack# openstack aggregate create
--zone bbb --property abc=1 agg3
+-------------------+----------------------------------------------+
| Field | Value |
+-------------------+----------------------------------------------+
| availability_zone | bbb |
| created_at | 2016-01-26T11:07:16.000000 |
| deleted | False |
| deleted_at | None |
| hosts | [] |
| id | 3 |
| metadata | {u'abc': u'1', u'availability_zone': u'bbb'} |
| name | agg3 |
| updated_at | None |
+-------------------+----------------------------------------------+
root@45-59:/opt/stack/devstack#
2)useless 'u' for properties when show an aggregate:
root@45-59:/opt/stack/devstack# openstack aggregate show agg3
+-------------------+----------------------------+
| Field | Value |
+-------------------+----------------------------+
| availability_zone | bbb |
| created_at | 2016-01-26T11:07:16.000000 |
| deleted | False |
| deleted_at | None |
| hosts | [] |
| id | 3 |
| name | agg3 |
| properties | {u'abc': u'1'} |
| updated_at | None |
+-------------------+----------------------------+
root@45-59:/opt/stack/devstack#
3)useless 'u' for hosts when add host into an aggregate:
root@45-59:~# openstack aggregate add host agg3 45-59
+-------------------+----------------------------------------------+
| Field | Value |
+-------------------+----------------------------------------------+
| availability_zone | bbb |
| created_at | 2016-01-26T11:07:16.000000 |
| deleted | False |
| deleted_at | None |
| hosts | [u'45-59'] |
| id | 3 |
| metadata | {u'abc': u'1', u'availability_zone': u'bbb'} |
| name | agg3 |
| updated_at | None |
+-------------------+----------------------------------------------+
root@45-59:~#
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1538006/+subscriptions
References