Bug 1148348

Summary: packstack on CentOS 7 fails because python-anyjson requires Python 2.6
Product: [Community] RDO Reporter: Udi Kalifon <ukalifon>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED NOTABUG QA Contact: Ami Jeain <ajeain>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, apevec, derekh, ihrachys, lobo, yeylon
Target Milestone: ---   
Target Release: Juno   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-01 20:03:52 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 Udi Kalifon 2014-10-01 08:53:01 UTC
Description of problem:
I installed according to https://openstack.redhat.com/QuickStart on CentOS 7 and got this:

10.35.160.13_amqp.pp:                                [ DONE ]    
10.35.160.13_mysql.pp:                               [ DONE ]    
Applying 10.35.160.13_keystone.pp
Applying 10.35.160.13_glance.pp
Applying 10.35.160.13_cinder.pp
10.35.160.13_keystone.pp:                         [ ERROR ]         
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.35.160.13_keystone.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-keystone' returned 1: Traceback (most recent call last):
You will find full trace in log /var/tmp/packstack/20141001-103703-gbTJFP/manifests/10.35.160.13_keystone.pp.log
Please check log file /var/tmp/packstack/20141001-103703-gbTJFP/openstack-setup.log for more information


In the keystone.pp.log file you see:
^[[1;31mError: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-keystone' returned 1: Error: Package: python-anyjson-0.3.3-1.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7

... and many more dependency errors


I had CONFIG_USE_EPEL=y in the answer file.


Version-Release number of selected component (if applicable):
openstack-packstack-puppet-2014.1.1-0.28.dev1238.el7.noarch
openstack-packstack-2014.1.1-0.28.dev1238.el7.noarch


How reproducible:
100%


Steps to Reproduce:
1. Install on CentOS 7 according to the instructions in the RDO page


Actual results:
Puppet errors caused from yum dependencies


Expected results:
No errors.

Comment 1 Ihar Hrachyshka 2014-10-01 10:26:52 UTC
What are your repos? I wonder where you got EL6 openstack-keystone...

Comment 2 Alan Pevec (Fedora) 2014-10-01 20:03:52 UTC
> Error: Package: python-anyjson-0.3.3-1.el6.noarch (epel)

You somehow have epel6 repo enabled, please remove it from /etc/yum.repos.d/