split glance package into glance-api/glance-registry

Bug #901804 reported by Dan Prince
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Dan Prince
glance (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

A glance deployment typically has multiple glance-api servers and only a single registry. We should split the glance package into multiple packages:

glance-common (common dirs and stuff used by both glance and registry servers)
glance-api (API servers including all the caching commands)
glance-registry (Glance registry stuff)

For now python-glance can continue to contain all the actual code. It might be worth splitting this out as well in the long run as well.

Tags: patch
Dan Prince (dan-prince)
Changed in glance:
status: New → In Progress
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → Medium
Revision history for this message
Jay Pipes (jaypipes) wrote :

++ thx for looking into this, Dan!

Dave Walker (davewalker)
Changed in glance (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
milestone: none → precise-alpha-2
Revision history for this message
Paul Belanger (pabelanger) wrote :

Caught this in passing

---
make[1]: Entering directory `/tmp/buildd/glance-2012.1~e1~20110919.1021'
dh_install
cp: cannot stat `debian/tmp/usr/bin/glance-cache-manage': No such file or directory
dh_install: cp -a debian/tmp/usr/bin/glance-cache-manage debian/glance-api//usr/bin/ returned exit code 1
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/tmp/buildd/glance-2012.1~e1~20110919.1021'
make: *** [binary] Error 2
---

Looks like glance-cache-manage is missing from the lance-2012.1~e1~20110919.1021 tarball

Revision history for this message
Paul Belanger (pabelanger) wrote :

Actually, it looks like a few files are missing from glance-api.install

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "glance-api.install.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Jay Pipes (jaypipes) wrote :

Hi! What's the status of this?

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

This is fixed on the Ubuntu side in precise as of our e2 snapshot. That is to say, the registry and API servers are split according to changes in the lp:~openstack-ubuntu-packagers/glance/essex branch, glance-common provides common dependencies, and the missing files Paul mentions all seem to be correctly provided.

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Correction, by e2 snapshot I mean e2 *milestone* (glance 2012.1~e2-0ubuntu1)

Changed in glance (Ubuntu):
status: Triaged → Fix Released
Jay Pipes (jaypipes)
Changed in glance:
status: In Progress → Fix Released
milestone: none → essex-3
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.