Public bug reported: Currently image location updates (removing, replacing) are permitted for images even if their state is not ``active``. Glance must prevent removal and replacement of image locations of images that are not ``active`` by returning a Conflict Error (409 response code).
WIP: https://review.openstack.org/#/c/366995/ TODO: Atomicity in glance such that, glance permits removal/replacement of image locations on certain permissible image transition states. For example, when the status of the image is ``deactivated`` and it has just been moved to ``active``, removing/replacing the custom location may be allowed. ** Affects: glance Importance: Undecided Assignee: Dharini Chandrasekar (dharini-chandrasekar) Status: New ** Changed in: glance Assignee: (unassigned) => Dharini Chandrasekar (dharini-chandrasekar) ** Description changed: Currently image location updates (removing, replacing) are permitted for images even if their state is not ``active``. Glance must prevent removal and replacement of image - locations of images that are not in ``active`` by returning a Conflict Error - (409 response code. + locations of images that are not ``active`` by returning a Conflict Error (409 response code). WIP: https://review.openstack.org/#/c/366995/ TODO: Atomicity in glance such that, glance permits removal/replacement of - image locations on certain permissible image transition states. + image locations on certain permissible image transition states. For example, when the status of the image is ``deactivated`` and it has just been moved to ``active``, removing/replacing the custom location may be allowed. -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1622016 Title: Glance allows image location updates (removal, replacement) for images in non-active state Status in Glance: New Bug description: Currently image location updates (removing, replacing) are permitted for images even if their state is not ``active``. Glance must prevent removal and replacement of image locations of images that are not ``active`` by returning a Conflict Error (409 response code). WIP: https://review.openstack.org/#/c/366995/ TODO: Atomicity in glance such that, glance permits removal/replacement of image locations on certain permissible image transition states. For example, when the status of the image is ``deactivated`` and it has just been moved to ``active``, removing/replacing the custom location may be allowed. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1622016/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

