yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39953
[Bug 1505134] [NEW] error message not clear when image-show is called on deactivated image
Public bug reported:
Error message is not clear when user tries to use image-show on
deactivated image.
Steps to reproduce:
1. Create image
2. Deactivate image
3. Call image-show on deactivated image
Actual message:
glance image-show 5f0f914b-9f04-42c4-9769-07dc09e09056
u'deactivated' is not one of [u'queued', u'saving', u'active', u'killed', u'deleted', u'pending_delete']
Failed validating u'enum' in schema[u'properties'][u'status']:
{u'description': u'Status of the image (READ-ONLY)',
u'enum': [u'queued',
u'saving',
u'active',
u'killed',
u'deleted',
u'pending_delete'],
u'type': u'string'}
On instance[u'status']:
u'deactivated'
Expected image:
something like Image <image_id> is deactivated
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1505134
Title:
error message not clear when image-show is called on deactivated image
Status in Glance:
New
Bug description:
Error message is not clear when user tries to use image-show on
deactivated image.
Steps to reproduce:
1. Create image
2. Deactivate image
3. Call image-show on deactivated image
Actual message:
glance image-show 5f0f914b-9f04-42c4-9769-07dc09e09056
u'deactivated' is not one of [u'queued', u'saving', u'active', u'killed', u'deleted', u'pending_delete']
Failed validating u'enum' in schema[u'properties'][u'status']:
{u'description': u'Status of the image (READ-ONLY)',
u'enum': [u'queued',
u'saving',
u'active',
u'killed',
u'deleted',
u'pending_delete'],
u'type': u'string'}
On instance[u'status']:
u'deactivated'
Expected image:
something like Image <image_id> is deactivated
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1505134/+subscriptions
Follow ups