Bug 1208798

Summary: Split glance-api and glance-registry
Product: [Community] RDO Reporter: Flavio Percoco <fpercoco>
Component: openstack-glanceAssignee: hguemar
Status: CLOSED EOL QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: unspecified    
Version: trunkCC: apevec, dprince, eglynn, fpercoco, srevivo
Target Milestone: ---Keywords: Reopened
Target Release: Kilo   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1208799 (view as bug list) Environment:
Last Closed: 2016-05-19 15:32:11 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: 1208799    

Description Flavio Percoco 2015-04-03 08:41:07 UTC
The current openstack-glance package ships both, glance-api and glance-registry. In order to better support distributed deployments, this package should be split in 2 packages, one for each service.

Please, refer to this thread for the upstream discussion. 

https://www.redhat.com/archives/rdo-list/2015-March/msg00146.html

Comment 1 hguemar 2015-04-10 12:37:25 UTC
Fixed in Delorean: https://review.gerrithub.io/#/c/229724/

Comment 2 Dan Prince 2015-04-17 13:27:18 UTC
Making this packaging change (in Delorean) can break end users quite badly.

Is there any benefit to it other than the fact that it would prevent an extra systemd script for one of the Glance servers getting installed (but not used). In other words would installing glance-registry or glance-api in isolation result in less dependencies getting installed if we do this split?

If not then I'm not sure this is worth it... and even then maybe it isn't worth breaking end users to save a dependency or two.

Comment 3 Alan Pevec 2015-04-17 16:01:49 UTC
Reverted in https://review.gerrithub.io/230453

Comment 4 Alan Pevec 2015-04-17 16:02:46 UTC
Setting needinfo for comment 2

Comment 5 Flavio Percoco 2015-04-20 07:13:53 UTC
Updating the bug with the discussion we had over email.

I believe the conclusion is that we'll try to make this change in a way were deployments are not broken by it. If we can't find such solution, we'll probably go ahead and do it anyway.

I believe this is is something we should do. The package splitting goes beyond just saving some dependencies. It helps making deployments of Glance semantically correct, if you will.

Comment 6 Chandan Kumar 2016-05-19 15:32:11 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.