Bug 1412350 - [RFE] Import an existing image that is present in the backend but unmanaged in glance
Summary: [RFE] Import an existing image that is present in the backend but unmanaged i...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Cyril Roelandt
QA Contact: Avi Avraham
URL:
Whiteboard:
Depends On: 1412343
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-11 20:14 UTC by Sean Cohen
Modified: 2020-02-20 22:28 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
cyril: needinfo? (fpercoco)
scohen: needinfo? (ekuvaja)
flucifre: needinfo? (scohen)
tangvald: needinfo+


Attachments (Terms of Use)

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?


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