Public bug reported:

There is two scenarios where Interoperable Image Import might result
'Active' image without image data in it.

1) If the data from staging was deleted by the time task tries to delete it.
    * In This scenario the taskflow will hit revert chain, delete the image 
from the stores it had just uploaded, but will not revert the set_image_data() 
changing the image to active.

2) If the 'all_stores_must_succeed' was set to 'false' and all uploads fails.
    * As we ignore the individual store failures in this scenario the taskflow 
will finish and when it gets to _SaveImage it will finally set the image active 
even we have no locations.

** Affects: glance
     Importance: Critical
     Assignee: Erno Kuvaja (jokke)
         Status: Triaged

** Affects: glance/ussuri
     Importance: Undecided
     Assignee: Erno Kuvaja (jokke)
         Status: New

** Affects: glance/victoria
     Importance: Critical
     Assignee: Erno Kuvaja (jokke)
         Status: Triaged

** Also affects: glance/ussuri
   Importance: Undecided
       Status: New

** Also affects: glance/victoria
   Importance: Critical
     Assignee: Erno Kuvaja (jokke)
       Status: Triaged

** Changed in: glance/ussuri
     Assignee: (unassigned) => Erno Kuvaja (jokke)

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

Title:
  Image import might result 'active' image with no data.

Status in Glance:
  Triaged
Status in Glance ussuri series:
  New
Status in Glance victoria series:
  Triaged

Bug description:
  There is two scenarios where Interoperable Image Import might result
  'Active' image without image data in it.

  1) If the data from staging was deleted by the time task tries to delete it.
      * In This scenario the taskflow will hit revert chain, delete the image 
from the stores it had just uploaded, but will not revert the set_image_data() 
changing the image to active.

  2) If the 'all_stores_must_succeed' was set to 'false' and all uploads fails.
      * As we ignore the individual store failures in this scenario the 
taskflow will finish and when it gets to _SaveImage it will finally set the 
image active even we have no locations.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1889640/+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

Reply via email to