Hide Forgot
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)
Thanks, Derek!
python-paste-deploy dependency reported also https://bugzilla.redhat.com/show_bug.cgi?id=784906
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.
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
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
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).
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.
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.