Multiple import fails if all-stores 'True' is passed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Abhishek Kekane |
Bug Description
Newly added multiple import fails if user passes "all_stores" as "true" in the request.
The reason is if all_stores is specified then we are getting stores using CONF.enabled_
Steps to reproduce:
1. Create image using
glance --debug image-create-
2. Stage the data for import using
glance image-stage <image-id> --file <file-name>
3. import image in multiple stores by setting all_stores as true
curl -g -i -X POST http://
Expected result:
Image should be imported in all stores configured using enabled_backends config option
Actual result:
Image fails to import and data remains in staging area
Possible solution:
After population stores using CONF.enabled_
Changed in glance: | |
importance: | Undecided → High |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
Fix proposed to branch: master /review. opendev. org/708629
Review: https:/