yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40496
[Bug 1505134] Re: Glance should allow to delete de-activated images
** Summary changed:
- error message not clear when image-delete is called on deactivated image
+ Glance should allow to delete de-activated images
** Also affects: glance/liberty
Importance: Undecided
Status: New
** Changed in: glance/liberty
Status: New => Triaged
** Changed in: glance/liberty
Importance: Undecided => High
** Changed in: glance
Importance: Critical => High
** Changed in: glance/liberty
Status: Triaged => Fix Released
** Changed in: glance
Status: Triaged => Fix Released
** Changed in: glance
Status: Fix Released => Fix Committed
** Changed in: glance
Status: Fix Committed => Invalid
** Changed in: glance/liberty
Assignee: (unassigned) => Ramaraja (ramaraja-r)
** Changed in: glance
Assignee: Ramaraja (ramaraja-r) => (unassigned)
** Changed in: glance/liberty
Assignee: Ramaraja (ramaraja-r) => Mike Fedosin (mfedosin)
** Changed in: glance
Importance: High => Undecided
** Changed in: glance
Importance: Undecided => High
--
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:
Glance should allow to delete de-activated images
Status in Glance:
Invalid
Status in Glance kilo series:
Triaged
Status in Glance liberty series:
Fix Released
Bug description:
Glance should allow to delete de-activated images
Steps to reproduce:
1. Create image
2. Deactivate image
3. Call image-delete on deactivated image
Actual message:
glance image-delete 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 output:
Deactivated image should be deleted successfully.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1505134/+subscriptions
References