← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1263729] [NEW] Image size won't be updated if locations are updated to empty

 

Public bug reported:

See
https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L225

Based on current design, the image status will be updated to 'queued' if
all locations are removed from the target image, but for now, the image
size won't be updated. It doesn't make sense and will confuse the end
user.

** Affects: glance
     Importance: Medium
     Assignee: Fei Long Wang (flwang)
         Status: Confirmed

** Changed in: glance
     Assignee: (unassigned) => Fei Long Wang (flwang)

** Changed in: glance
   Importance: Undecided => Medium

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

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

Title:
  Image size won't be updated if locations are updated to empty

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

Bug description:
  See
  https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L225

  Based on current design, the image status will be updated to 'queued'
  if all locations are removed from the target image, but for now, the
  image size won't be updated. It doesn't make sense and will confuse
  the end user.

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


Follow ups

References