OpenStack Image Registry and Delivery Service (Glance)

split glance package into glance-api/glance-registry

Reported by Dan Prince on 2011-12-08
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Medium
Dan Prince
glance (Ubuntu)
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.

Dan Prince (dan-prince) on 2011-12-08
Changed in glance:
status: New → In Progress
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → Medium
Jay Pipes (jaypipes) wrote :

++ thx for looking into this, Dan!

Dave Walker (davewalker) on 2011-12-14
Changed in glance (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
milestone: none → precise-alpha-2
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

Paul Belanger (pabelanger) wrote :

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

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
Jay Pipes (jaypipes) wrote :

Hi! What's the status of this?

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.

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) on 2012-01-04
Changed in glance:
status: In Progress → Fix Released
milestone: none → essex-3
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers