Bug 1844213

Summary: read-only http store should not be used if --all-stores specified for import/copy image
Product: Red Hat OpenStack Reporter: Abhishek Kekane <akekane>
Component: openstack-glanceAssignee: Cyril Roelandt <cyril>
Status: CLOSED UPSTREAM QA Contact: Mike Abrams <mabrams>
Severity: high Docs Contact: Chuck Copello <ccopello>
Priority: high    
Version: 16.1 (Train)CC: abishop, athomas, eglynn, gcharot, jvisser, pgrist
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-17 14:29:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1802772    

Description Abhishek Kekane 2020-06-04 19:36:29 UTC
Description of problem:

In Ussuri release we have added new functionality to import image in multiple stores or copy existing image in multiple stores. To ease user experience we have given a option --all-stores in glanceclient which avoids user to specify all the configured stores explicitly for these new operations.

Now, if operator has configured read-only 'http' store and while creating or copying image if user has specified --all-stores true then depending on `allow-failure`; if it is True then image is imported/copied to other stores than http or if it is false then image can not be imported/copied to other stores as well. Also, new image property `os_glance_failed_imports` shows `http` as failed store.

Expected result:
If operator configures 'http' store as then it should not be included in import/copying operation if --all-stores specified by user.

Comment 4 Cyril Roelandt 2020-06-17 14:29:14 UTC
OK, I'll close as "UPSTREAM".