RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1006342 - Remove runtime dependency on python-pbr
Summary: Remove runtime dependency on python-pbr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-neutron
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: RC
: Havana
Assignee: Alan Pevec
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 13:11 UTC by Xavier Queralt
Modified: 2016-04-26 14:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-18 19:46:50 UTC
Embargoed:


Attachments (Terms of Use)

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.


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