Ask Your Question
0

Packstack --allinone failure to install keystone.pp error

asked 2014-04-26 09:21:44 -0500

dougwatola gravatar image

I am trying to run through the quickstart install of openstack on CentOS 6.5. I am getting a consistent error with the puppet install of keystone.pp.

ERROR : Error appeared during Puppet run: 192.168.234.166_keystone.pp Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-keystone' returned 1: Error: Package: python-prettytable-0.6.1-0.1.27.ef7efe7_e1b1b1d.noarch (fedora-openstack-trunk)

The log file did not reveal much other than this same error message.

I highly suspect that there is an issue with a Python dependency. That is the error I get when I run yum -d 0 -e 0 -y install openstack-keystone. I have looked on this forum and have discovered similar postings. I was concerned about breaking yum with upgrading python to version 7 on CentOS 6.5.

I am not sure of how to proceed.

/usr/bin/yum -d 0 -e 0 -y install openstack-keystone Error: Package: python-prettytable-0.6.1-0.1.27.ef7efe7_e1b1b1d.noarch (fedora-openstack-trunk) Requires: python(abi) = 2.7 Installed: python-2.6.6-51.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5) python(abi) = 2.6 Available: python-2.6.6-52.el6.x86_64 (updates) python(abi) = 2.6 Error: Package: 1:python-keystoneclient-0.4.1.7.gdca1d42-0.1.627.dca1d42_4742f53.noarch (fedora-openstack-trunk) Requires: python(abi) = 2.7 Installed: python-2.6.6-51.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5) python(abi) = 2.6 Available: python-2.6.6-52.el6.x86_64 (updates) python(abi) = 2.6 Error: Package: 1:python-oslo-config-1.3.0a0.5.g03930e3-0.1.208.03930e3_022715f.noarch (fedora-openstack-trunk) Requires: python(abi) = 2.7 Installed: python-2.6.6-51.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5) python(abi) = 2.6 Available: python-2.6.6-52.el6.x86_64 (updates) python(abi) = 2.6

edit retag flag offensive close merge delete

Comments

I have ran through these answers in detail and I am using icehouse (rdo quickstart). I am getting a new error--- Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-keystone' returned 1: Error: Package: 1:python-oslo-config-1.3.0a0.5.g03930e3-0.1.208.03930e3_022715f.noarch (fedora-openstack-trunk).

There seems to be a problem with the respond.xml file is mislabeled respomd.xml. I downloaded the specific python-oslo-config rpm and tried to install it, however, it is indicating that it needs python 2.7. I ran the following commands from a http://juniper.net forum: wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz (http://www.python.org/ftp/python/2.7....) tar xvzf Python-2.7.6.tgz cd Python-2.7.6 ./configure --prefix=/usr/local make make altinstall

I verified that Python 2.7.6 is available when I run python2.7 --version. I ...(more)

dougwatola gravatar imagedougwatola ( 2014-05-02 11:09:53 -0500 )edit

4 answers

Sort by » oldest newest most voted
1

answered 2014-04-27 14:37:30 -0500

TBH you'd be better served by the icehouse repos at this stage.

http://repos.fedorapeople.org/repos/o...

Icehouse has just been released and those packages are much better tested. We'll decide soon what to do with those openstack-trunk packages.

edit flag offensive delete link more
0

answered 2014-04-26 18:52:24 -0500

dougwatola gravatar image

I tried to run yum -y install python-prettytable-0.6.1-0.1.27.ef7efe7_e1b1b1d.noarch.rpm before running packstack --allinone but I get the following error.

201 packages excluded due to repository priority protections Setting up Install Process No package python-prettytable-0.6.1-0.1.27.ef7efe7_e1b1b1d.noarch.rpm available. Error: Nothing to do

edit flag offensive delete link more

Comments

Before doing so, install manually EPEL :-
[root@hv02 ~]# wget http://dl.fedoraproject.org/pub/epel/...
[root@hv02 ~]# wget http://rpms.famillecollet.com/enterpr...
[root@hv02 ~]# rpm -Uvh remi-release-6.rpm epel-release-6.rpm
[root@hv02 ~]# ls /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/remi.repo
Install manually :-
View http://repos.fedorapeople.org/repos/o...
To enable (on RHEL/Centos ** requires EPEL - Done already):
Attention ! Run yum install yum-priorities
(cd /etc/yum.repos.d && wget http://repos.fedorapeople.org/repos/o... )
Download RPM and try
sudo yum -y install python-prettytable-0.6.1-0.1.27.ef7efe7_e1b1b1d.noarch.rpm

dbaxps gravatar imagedbaxps ( 2014-04-26 19:00:30 -0500 )edit
0

answered 2014-10-13 13:28:47 -0500

I have the same problem, I found that everytime i run packstack, the epel repository changes to disabled. You can fix it changing enabled=0 to enabled=1 in the /etc/yum.repos.d/epel.repo file. It will with the most of necesary packages. Re-enable the epel repo Greetings!

edit flag offensive delete link more
0

answered 2014-04-26 09:53:00 -0500

dbaxps gravatar image

updated 2014-04-26 09:56:17 -0500

There is now problem with Python 2.6 dependencies.
Package in http://repos.fedorapeople.org/repos/openstack/openstack-trunk/fedora/x86_64/
I would try to activate repo manually and run before packstack. 
View http://repos.fedorapeople.org/repos/openstack/openstack-trunk/README
       To enable (on RHEL/Centos ** requires EPEL):
        yum install yum-priorities
       (cd /etc/yum.repos.d && wget http://repos.fedorapeople.org/repos/openstack/openstack-trunk/el6-openstack-  trunk.repo)
$ sudo yum -y install python-prettytable-0.6.1-0.1.27.ef7efe7_e1b1b1d.noarch.rpm
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-26 09:21:44 -0500

Seen: 2,087 times

Last updated: Apr 27 '14