Bug 1218555

Summary: rdo-release needs to enable RHEL optional extras and rh-common repositories
Product: [Community] RDO Reporter: Ami Jeain <ajeain>
Component: distributionAssignee: Alan Pevec <apevec>
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: unspecified    
Version: KiloCC: aortega, apevec, derekh, gchamoul, jpena, markmc, srevivo
Target Milestone: GA   
Target Release: Kilo   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-19 15:32:28 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 Ami Jeain 2015-05-05 09:14:21 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:

install according to the latest RDO https://www.rdoproject.org/RDO_test_day_Kilo#How_To_Test

Steps to Reproduce:
1. run packstack with allinone
2. 
3.

Actual results:

packstack failed on installation of openstack-cinder. You will need to edit the answerfile and enable epel (CONFIG_USE_EPEL=y)
Expected results:

packstack runs smoothly

Additional info:
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.35.117.2_cinder.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-cinder' returned 1: Error: Package: python-cinder-2015.1.0-2.el7.noarch (openstack-kilo-testing)                                     
You will find full trace in log /var/tmp/packstack/20150505-105735-7dDI34/manifests/10.35.117.2_cinder.pp.log 


and:
# /usr/bin/yum -d 0 -e 0 -y install openstack-cinder
Error: Package: python-cinder-2015.1.0-2.el7.noarch (openstack-kilo-testing)
           Requires: python-cheetah
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 1 Javier Peña 2015-05-07 15:48:58 UTC
Packstack detects if it is installing RDO by checking if a package called rdo-release-* is installed. For the testing day, the package was called rdo-testing-kilo, so it was not detected.

I doubt if we should consider this as NOTABUG (it will only happen in these cases), or we should find a better way to detect RDO. Any ideas?

Comment 2 Alan Pevec (Fedora) 2015-05-08 12:56:03 UTC
With RDO >= Kilo EPEL will not be required, we'll carry CloudSIG EPEL rebuilds in RDO repo.
Also in this case, EPEL will not help, this is an issue with segmented RHEL repos, python-cheetah is in rh-common.
I'll try to handle RHEL specific repos in rdo-release|testing repos, so that Packstack doesn't need to have any special handling.

Comment 3 Alan Pevec 2015-05-12 21:25:15 UTC
Exact names of RHEL repos which need to be enabled are:
rhel-7-server-optional-rpms
rhel-7-server-extras-rpms
rhel-7-server-rh-common-rpms

Comment 4 Alan Pevec 2015-05-12 21:31:50 UTC
subscription-manager repos --enable rhel-7-server-optional-rpms --enable rhel-7-server-extras-rpms --enable rhel-7-server-rh-common-rpms

Comment 8 Chandan Kumar 2016-05-19 15:32:28 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.