← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505134] Re: Glance should allow to delete de-activated images

 

** Changed in: glance/kilo
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
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