yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83636
[Bug 1891352] Re: Failed import of one store will remain in progress forever if all_stores_must_succeed=True
** Also affects: glance/ussuri
Importance: Undecided
Status: New
** Changed in: glance
Assignee: (unassigned) => Dan Smith (danms)
** Changed in: glance/ussuri
Assignee: (unassigned) => Dan Smith (danms)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1891352
Title:
Failed import of one store will remain in progress forever if
all_stores_must_succeed=True
Status in Glance:
Fix Released
Status in Glance ussuri series:
New
Bug description:
If import is called with all_stores_must_succeed=True and a store
fails during set_image_data(), the store will remain in
os_glance_importing_stores forever, never going into the
os_glance_failed_import list. This means a polling client will never
notice that the import failed. Further, if multiple stores are
included in the import, and the failure happens in the later stores,
the revert process will remove the earlier stores (after they had
already been reported as available in stores). This means a polling
client doing an import on an image already in store1 to
store2,store3,store4 will see the following progression:
stores=store1;os_glance_importing_to_stores=store2,store3,store4
stores=store1,store2;os_glance_importing_to_stores=store3,store4
stores=store1,store2,store3;os_glance_importing_to_stores=store4
stores=store1,store2;os_glance_importing_to_stores=store4
stores=store1;os_glance_importing_to_stores=store4
The last line, forever, and never see anything in
os_glance_failed_import
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1891352/+subscriptions
References