copy-image, multiple image imports dosen't work as expected if all_stores_must_succeed passed as string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Abhishek Kekane |
Bug Description
If user passes 'all_stores_
Expected is to skip the failure store and continue copying/importing image to other stores but instead it stops execution of task and revert it and deletes the image data copied/imported to previous stores.
How to reproduce:
1. Ensure multipe stores are enabled in your environment and multiple stores are configured
2. Run below commands to import image in multiple stores
glance --debug image-create-
(internal curl command to API - curl -g -i -X POST http://
Assume failure occures while importing image to "slow" store
Expected result:
Image should be uploaded to all other stores except "slow" store
Actual result:
Image remains in 'importing' state and data imported to previous stores get deleted while reverting the import tasks.
Changed in glance: | |
importance: | Undecided → Critical |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
Fix proposed to branch: master /review. opendev. org/718367
Review: https:/