Bug 1844213 - read-only http store should not be used if --all-stores specified for import/copy image
Summary: read-only http store should not be used if --all-stores specified for import/...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Cyril Roelandt
QA Contact: Mike Abrams
Chuck Copello
URL:
Whiteboard:
Depends On:
Blocks: 1802772
TreeView+ depends on / blocked
 
Reported: 2020-06-04 19:36 UTC by Abhishek Kekane
Modified: 2020-06-17 14:29 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-17 14:29:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1881958 0 None None None 2020-06-04 19:36:28 UTC
OpenStack gerrit 733395 0 None MERGED Exclude http store if --all-stores specified for import/copy operation 2020-09-02 09:17:00 UTC

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".


Note You need to log in before you can comment on or make changes to this bug.