error message shows redundant information
Bug #1598714 reported by
Bhagyashri Shewale
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Undecided
|
Jaspreet Singh Rawel |
Bug Description
As of now when any api fails, it shows error code twice in the error message.
For Example:
Following error message will be displayed for non existing image:
$ glance image-show <non-existing-
Error message:
404 Not Found: No image found with ID <non-existing-
In this case 404 is shown twice.
Changed in python-glanceclient: | |
assignee: | nobody → Bhagyashri Shewale (bhagyashri-shewale) |
Changed in python-glanceclient: | |
assignee: | Bhagyashri Shewale (bhagyashri-shewale) → Jaspreet Singh Rawel (jaspreetsinghrawel) |
description: | updated |
To post a comment you must log in.
root@controller :/home/ ubuntu# glance --version :/home/ ubuntu# :/home/ ubuntu# :/home/ ubuntu# :/home/ ubuntu# :/home/ ubuntu# glance image-list ------- ------- ------- ------- ----+-- ------+ ------- ------- ------- ------- ----+-- ------+ 331f-4b30- b2f0-36cda78755 60 | cirros | ------- ------- ------- ------- ----+-- ------+ :/home/ ubuntu# :/home/ ubuntu# :/home/ ubuntu# glance image-show a109d73c- 331f-4b30- b2f0-36cda78755 61 331f-4b30- b2f0-36cda78755 61 (HTTP 404) :/home/ ubuntu#
2.0.0
root@controller
root@controller
root@controller
root@controller
root@controller
+------
| ID | Name |
+------
| a109d73c-
+------
root@controller
root@controller
root@controller
404 Not Found: No image found with ID a109d73c-
root@controller