Red Hat Bugzilla – Bug 1006911
heat-engine requires dependency python-pbr
Last modified: 2014-06-05 05:14:39 EDT
Description of problem:
heat-engine package needs python-pbr on runtime but it is not in the package dependencies.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. heat-db-setup rpm -y -r xxx --password yyy
Traceback (most recent call last):
File "/usr/bin/heat-manage", line 32, in <module>
from heat.cmd import manage
File "/usr/lib/python2.6/site-packages/heat/cmd/manage.py", line 29, in <module>
from heat import version
File "/usr/lib/python2.6/site-packages/heat/version.py", line 17, in <module>
ImportError: No module named pbr.version
Fixed in current version:
# rpm -q --whatrequires python-pbr
So this is confusing, in Fedora you added Requires: python-pbr and in el6-havana you removed it: http://pkgs.fedoraproject.org/cgit/openstack-heat.git/tree/remove-pbr-runtime-dependency.patch?h=el6-havana
It should've been the latter everywhere, we did that in other openstack-* packages.
PBR as runtime dep in Havana is wrong and will be left as a historical anecdote.
I did that only because the version of pbr in EPEL wouldn't work. A patch is preferred over adding a dependency?
(In reply to Jeff Peeler from comment #3)
> A patch is preferred over adding a dependency?
Yes, since that dependency is bogus and is being removed upstream.