yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83580
[Bug 1891352] [NEW] Failed import of one store will remain in progress forever if all_stores_must_succeed=True
Public bug reported:
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
** Affects: glance
Importance: Undecided
Status: New
--
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:
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
Follow ups