there is useless 'u' in the return info of "glance image-tag-update"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Undecided
|
Abijitha Nadagouda |
Bug Description
[Summary]
there is useless 'u' in the return info of "glance image-tag-update"
[Topo]
devstack all-in-one node
[Description and expect result]
no useless 'u' in the return info of "glance image-tag-update"
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) there is useless 'u' in the return info of "glance image-tag-update":
root@45-
+------
| ID | Tags |
+------
| 1acacb75-
+------
root@45-
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
Changed in python-glanceclient: | |
assignee: | nobody → linwei,wu (wlwwu) |
Changed in python-glanceclient: | |
assignee: | linwei,wu (wlwwu) → Jaspreet Singh Rawel (jaspreetsinghrawel) |
Changed in python-glanceclient: | |
assignee: | Jaspreet Singh Rawel (jaspreetsinghrawel) → Abijitha Nadagouda (abijithanadagouda) |
status: | Triaged → In Progress |
Well, it's not exactly a *useless* u, it indicates that the string is unicode. It is, however, an implementation detail that ideally wouldn't be exposed to users. Apparently, we're just dumping out the content of the tag list to the console without bothering to process the individual strings to convert them into some native format.
I suggest taking a look at how the keystoneclient is handling this, as is described in bug https:/ /bugs.launchpad .net/python- glanceclient/ +bug/1533090 and propose a patch to the python- glanceclient.