Bug 1412350

Summary: [RFE] Import an existing image that is present in the backend but unmanaged in glance
Product: Red Hat OpenStack Reporter: Sean Cohen <scohen>
Component: openstack-glanceAssignee: Cyril Roelandt <cyril>
Status: CLOSED WONTFIX QA Contact: Avi Avraham <aavraham>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: cschwede, eglynn, ekuvaja, flucifre, fpercoco, gcharot, mabrams, pgrist, seb, srevivo
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: tangvald: needinfo+
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: 2021-08-02 13:23:46 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: 1412343    
Bug Blocks:    

Description Sean Cohen 2017-01-11 20:14:28 UTC
Our intent is to replicate glance's image pool from one site (A) to a secondary site (B).  When images appear in the mirrored pool on site B, we would like the glance service running there to make use of those images and allow instances to be created from them.  This requires a way to tell glance "I would like to add an image that's already in your store with a particular name".  In cinder this is called "import" but there appears to be no similar command for glance.

Comment 1 Cyril Roelandt 2017-01-13 15:15:40 UTC
(In reply to Sean Cohen from comment #0)

> When images appear in the mirrored pool on site B,


How do they "appear"? How do you "copy" them there?


I think glance-replicator could do the whole replication from site A to site B. I'm not exactly sure how well it works, though. Flavio, any idea?

Comment 2 seb 2017-02-03 10:29:10 UTC
I took the discussion offline with Cyril so he has a better understanding of what we do. We are currently revisiting our approach, more details coming soon.

Comment 3 Sean Cohen 2017-08-09 13:24:04 UTC
Pushing out to OSP14 for review,
Suggest to investigate Images synchronization at Kingbird level 

[2] https://review.openstack.org/#/c/462551/

Comment 6 Federico Lucifredi 2019-03-17 03:29:47 UTC
The Ceph side of the RFE is implemented in Nautilus/4.0. We should plan this for OSP 16.

Comment 9 tangvald 2020-01-14 06:11:58 UTC
What do we need to do to ensure this is either covered in RHCS 4, a 4 z-stream or 4.1?

Comment 10 Cyril Roelandt 2020-01-29 21:15:10 UTC
@tangvald: have you talked to Greg Charot about this?

Comment 11 Gregory Charot 2021-08-02 13:23:46 UTC
This bug has been closed as WONTFIX due to limited activity. DR Multi site / replication is not currently prioritised.


If you believe this has been closed in error, please re-open and provide a comment telling us why this bug is important to you and provide a link to your active support case.

Comment 12 Red Hat Bugzilla 2023-09-15 01:25:26 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days