Red Hat Bugzilla – Bug 1006342
Remove runtime dependency on python-pbr
Last modified: 2016-04-26 10:35:56 EDT
Description of problem:
neutron package still needs python-pbr on runtime but it is not in the package dependencies.
This dependency was removed in all the other openstack packages. See the patch for nova: http://pkgs.fedoraproject.org/cgit/openstack-nova.git/tree/0002-remove-runtime-dep-on-python-pbr.patch
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install with packstack: packstack --allinone
2. At some point it will fail with the error below while configuring neutron
The package in the el6-havana repository will work because it depends on python-pbr but it could be removed too.
It seems that this bug can be worked around by manually installing python-pbr on the affected fedora system, and then running packstack.
openstack-neutron-2013.2-0.8.b3.fc20 just includes the Requires: python-pbr to work around the issue (the el6 builds have done this for a long time now). I'll leave this open to remind me to look into removing the runtime dependency, but to be honest distro-specific patches for something like this kind of irritate me since python-pbr actually is packaged. Yeah, you can reduce it to a BuildRequires, but if it is a bad idea to use something for getting the version info at runtime, then that should really just be fixed upstream IMHO.
> should really just be fixed upstream
Fix is coming, I hope for Icehouse: https://github.com/openstack/oslo.version
So PBR as runtime dep will be just a historical anecdote.
Neutron no longer requires python-pbr at runtime.