← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1395069] Re: Prevent upload data bits to a non-queued image

 

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

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

** Changed in: glance
     Assignee: nikhil komawar (nikhil-komawar) => (unassigned)

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

Title:
  Prevent upload data bits to a non-queued image

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

Bug description:
  Currently, it's possible to upload data to an image which is not in
  queued state; and while attempting to update it status to active the
  409 conflict is raised. [1, 2, 3]

  We'd prevent this as it could potentially mean bandwidth usage for the
  user.

  [1] https://github.com/openstack/glance/blob/master/glance/api/v1/images.py#L625
  [2] https://github.com/openstack/glance/blob/master/glance/registry/api/v1/images.py#L454
  [3] https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/api.py#L725

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


References