Bug 1006342

Summary: Remove runtime dependency on python-pbr
Product: [Community] RDO Reporter: Xavier Queralt <xqueralt>
Component: openstack-neutronAssignee: Alan Pevec <apevec>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: chrisw, lars, ndipanov, twilson
Target Milestone: RC   
Target Release: Havana   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-18 19:46:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xavier Queralt 2013-09-10 13:11:06 UTC
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):

2013.2-0.7.b3.fc20

How reproducible:

always

Steps to Reproduce:
1. Install with packstack: packstack --allinone
2. At some point it will fail with the error below while configuring neutron
3.

Actual results:

http://fpaste.org/38345/13788183/

Expected results:


Additional info:

The package in the el6-havana repository will work because it depends on python-pbr but it could be removed too.

Comment 1 Nikola Dipanov 2013-09-10 15:10:18 UTC
It seems that this bug can be worked around by manually installing python-pbr on the affected fedora system, and then running packstack.

Comment 2 Terry Wilson 2013-09-10 17:51:30 UTC
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.

Comment 3 Alan Pevec 2013-11-14 21:02:47 UTC
>  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.

Comment 5 Lars Kellogg-Stedman 2015-03-18 19:46:50 UTC
Neutron no longer requires python-pbr at runtime.