yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69233
[Bug 1533083] Re: useless HTTP info in the error info for creating existing flavor
This is arguably not a bug, so marked as opinion.
** No longer affects: nova
** Changed in: python-novaclient
Status: In Progress => Opinion
--
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/1533083
Title:
useless HTTP info in the error info for creating existing flavor
Status in python-novaclient:
Opinion
Bug description:
[Summary]
useless HTTP info in the error info for creating existing flavor
[Topo]
devstack all-in-one node
[Description and expect result]
no useless HTTP info in the error info for creating existing flavor
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) create an existing flavor:
root@45-59:/opt/stack/devstack# nova flavor-create --is-public
false f1 13 1024 1 1
ERROR (Conflict): Flavor with name f1 already exists. (HTTP 409)
(Request-ID: req-3769491c-5f82-4064-8b45-ef1a3442957d)
root@45-59:/opt/stack/devstack#
ISSUE: For a cli user, the info "ERROR (Conflict): Flavor with name
f1 already exists." is enough, it let user know what happened.
But the info "HTTP 409" is useless
2) same issue when remove a non-existing flavor-access:
root@45-59:/opt/stack/devstack# nova flavor-access-remove 13 adminm
ERROR (NotFound): Flavor access not found for 13 / adminm combination.
(HTTP 404) (Request-ID: req-2eeb9656-72a9-45d8-bbe0-48536c8e0b5d)
root@45-59:/opt/stack/devstack#
3)Below is the error info when remove a non-existing flavor for reference:
root@45-59:/opt/stack/devstack# nova flavor-delete aa
ERROR (CommandError): No flavor with a name or ID of 'aa' exists.
root@45-59:/opt/stack/devstack#
[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/python-novaclient/+bug/1533083/+subscriptions
References