Bug 1006911

Summary: heat-engine requires dependency python-pbr
Product: [Community] RDO Reporter: stefano.zilli
Component: openstack-heatAssignee: RHOS Maint <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Amit Ugol <augol>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: apevec, Jan.van.Eldik, jpeeler, pbrady, sdake, shardy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-16 14:30:06 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 stefano.zilli 2013-09-11 13:41:08 UTC
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):
openstack-heat-engine 0.5.b3.el6

How reproducible:
100%

Steps to Reproduce:
1. heat-db-setup rpm -y -r xxx --password yyy
2.
3.

Actual results:
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>
    import pbr.version
ImportError: No module named pbr.version

Comment 1 Steven Hardy 2013-09-16 14:01:27 UTC
Fixed in current version:

# rpm -q --whatrequires python-pbr
openstack-heat-common-2013.2-0.7.b3.fc20.noarch

Comment 2 Alan Pevec 2013-10-11 19:36:27 UTC
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.

Comment 3 Jeff Peeler 2013-10-11 19:53:55 UTC
I did that only because the version of pbr in EPEL wouldn't work. A patch is preferred over adding a dependency?

Comment 4 Alan Pevec 2013-10-14 12:11:40 UTC
(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.