← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1273326] Re: glance image-list does not show deleted/killed images

 

I was not able to reproduce this bug in icehouse

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1273326

Title:
  glance image-list does not show deleted/killed images

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  I have 3 killed images and one in the 'deleted' state which I can see
  in the postgres database. When I try to run glance image-list,
  however, none of them are shown.

  I tried debugging this and placed a pdb.set_trace() call in
  glance/registry/api/v1/images.py:Controller._get_images where the
  self.db_api.image_get_all call is made
  (https://github.com/openstack/glance/blob/stable/havana/glance/registry/api/v1/images.py#L108).
  If I try to make this call manually it returns an empty list on the
  first try, but all subsequent tries with the same arguments return the
  right list with all the 4 images. Does anyone know what's going on?

  I have only tried reproducing this on Havana.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1273326/+subscriptions


References