Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 784891 - Glance dependency not installed
Summary: Glance dependency not installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-glance
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Russell Bryant
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-26 15:17 UTC by Derek Higgins
Modified: 2012-02-14 08:59 UTC (History)
11 users (show)

Fixed In Version: openstack-glance-2011.3.1-2.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-11 18:55:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch (deleted)
2012-01-26 15:17 UTC, Derek Higgins
no flags Details | Diff

Description Derek Higgins 2012-01-26 15:17:00 UTC
Created attachment 557683 [details]
patch

Description of problem:

After installing glance on a fresh F16 machine the service's fail to
start with the following error

ImportError: No module named pkg_resources

How reproducible:
every time

Steps to Reproduce:
1. install Fedora 16
2. yum install openstack-glance
3. sudo service openstack-glance-registry

  
Actual results:
service fails to start with a import error in /var/log/messages

Expected results:
service should start


Additional info:
python-paste-deploy (installed by glance) has a dependency on python-setuptools

patch attached (adds python-migrate as a dependency which requires python-setup-tools)

Comment 1 Russell Bryant 2012-01-26 15:42:56 UTC
Thanks, Derek!

Comment 2 Derek Higgins 2012-01-26 15:48:26 UTC
python-paste-deploy dependency reported also
https://bugzilla.redhat.com/show_bug.cgi?id=784906

Comment 3 Pádraig Brady 2012-01-26 16:11:26 UTC
Note on the el6 branch we have:
  Requires:         python-setuptools
because glance itself uses pkg_resources.

Other people have installed glance without nova,
but only on RHEL, so we didn't see this issue because of the above.

I notice that is dep missing from the el6 branch of nova, so I should fix that.
Note Nova depends on python-migrate, and satisfies the dependency that way,
but I should still fix though.

This patch should be applied, as glance does need python-migrate
and it will as a side effect fix the dependency issue.

Both the python-paste-deploy and python-paste packages should
also add a dependency on python-setuptools also.

Comment 4 Fedora Update System 2012-01-26 16:37:53 UTC
openstack-glance-2011.3.1-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/openstack-glance-2011.3.1-2.fc16

Comment 5 Fedora Update System 2012-01-26 16:38:45 UTC
openstack-glance-2011.3.1-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/openstack-glance-2011.3.1-2.el6

Comment 6 Fedora Update System 2012-01-27 19:20:06 UTC
Package openstack-glance-2011.3.1-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing openstack-glance-2011.3.1-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-0269/openstack-glance-2011.3.1-2.el6
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-02-11 18:55:46 UTC
openstack-glance-2011.3.1-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2012-02-14 08:59:47 UTC
openstack-glance-2011.3.1-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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