Ask Your Question

DanNeedles's profile - activity

2014-11-15 22:56:55 -0500 answered a question unable to install openstack-keystone

There was a bug earlier in packstack where it would look for Fedora but not Centos. As a result it would disable the EPEL repos causing various failures. A simple edit of the install script corrected the issue. I haven't checked to see if that was fixed over the last month.

2014-10-22 08:28:38 -0500 received badge  Nice Answer (source)
2014-10-17 12:42:55 -0500 received badge  Self-Learner (source)
2014-10-17 12:42:55 -0500 received badge  Teacher (source)
2014-10-16 21:32:42 -0500 marked best answer Packstack allinone on Icehouse on CentOS 6.5

What is the latest "Workarounds" for a Packstack allinone on Icehouse on CentOS 6.5+ (CentOS 6.6 in this case.)? The directions via no workie and I wanted to try this configuration out.

After installation I got the "Something went wrong" message when trying to get into Horizon. Looking deeper in the keystone logs I found erlang wasn't loaded properly due to a script bug (see answer in answer response below.) Also I failed to use the --answer-file=<> option to which resulted in:

ERROR : Error appeared during Puppet run:
Error: mysqladmin -u root  password 'XXXXXXXX' returned 1 instead of one of [0]
You will find full trace in log /var/tmp/packstack/20141014-234401-jYu9QG/manifests/

Using the parameters in the /etc/keystone/keystone.conf I confirmed the error:

mysql -u keystone_admin -p3e5b6cb83c4f4bf1@ -h keystone
ERROR 1045 (28000): Access denied for user 'keystone_admin'@'OpenStack' (using password: YES)

I did find: Which led to:

These did not relate to the problem I found though the version listed isn't what the repositories:


Is not:

rpm -qa | grep openstack-packstack-2014

So before I go reinventing the wheel and given how common a configuration this has to be. Does anyone have a set of CentOS, Packstack, and other configuration bits that works for allinone? Or is this a known problem since this summer and I should go fish elsewhere? Or did I biff it somewhere an should just start over? 8-)

2014-10-16 18:49:43 -0500 answered a question Packstack allinone on Icehouse on CentOS 6.5


The installation of Icehouse on CentOS 6.5 using RDO quickstart fails initially when trying to find the erlang package.


There is a bug in the packstack installation scripts that prevents the RDO Quickstart directions from working on:

CentOS-6.5-x86_64-minimal.iso  or CentOS-6.5-x86_64-bin-DVD1.iso
VMware Workstation 10 
(NOTE: Done without NTP or DNS (used hostfile))

The issue is the packstack script that handles part of the yum processing, doesn't handle CentOS. It is looking for Fedora, Redhat, etc. The fix is easy, though it was about as painful to find as watching the Titanic was with my wife and her friend, um... anyway it is here:

    def manage_epel(host, config)
        Installs and/or enables EPEL repo if it is required or disables it if it 
        is not required.
        if config['HOST_DETAILS'][host]['os'] in ('Fedora', 'Unknown'):


Changing the if clause corrected the "product feature":

        if config['HOST_DETAILS'][host]['os'] in ('Fedora', 'CentOS', 'Unknown'):

NOTE: I had also changed the redhat-releases file to try to work around the issue. After changing this line, I had to change that file back to the initial state rather than mimicing the redhat equivallent.

This changes causes CentOS to abort the function early (like Fedora) and prevents epel from turning off.

There is another lovely issue that I fixed outside the code where it create the following file:

    enabled = 1

I simply reset this to 0. When enabled, it blocked a number of repositories that were desirable. Grrr.


There are other scripts that might need touched that I haven't examined. The following command gives the areas that need to be looked at with:

find /usr/lib/python2.6/site-packages -name "*.py" -exec grep -l HOST_DETAIL '{}' \; | xargs grep HOST_DETAIL


The full steps are here. Also note this is a throw away server (i.e no NTP, uses DHCP, etc) You can also look here to glean more though it appears the bug didn't occur in the version the author was installing:

A Install OS (CentOS-6.5-x86_64-bin-DVD1.iso)

B Turn on networking

  And it is on
service network restart



 D UPDATE THE RELEASES FILE (Caused trouble as it was looking for RedHat, not CentOS)

      /etc/redhat-release: Red Hat Enterprise Linux Server release 6.5
      cat /etc/redhat-release.OLD: CentOS release 6.5 (Final)

E UNINSTALL MYSQL (comes with CentOS 6.5 min)

yum remove mysql\*
yum install cron\*

F INSTALL EPEL (per Prerequisites) AND repoquery to show erlang problem

yum install wget
wget; rpm -ivh epel-release-6-8.noarch.rpm; 
yum install yum-utils


repoquery -i erlang
  Name : Erlang
  Version : R14B
  Release : 04.3.e16 ...
2014-10-16 16:26:36 -0500 received badge  Scholar (source)
2014-10-16 16:18:09 -0500 commented answer Packstack allinone on Icehouse on CentOS 6.5

Take a look at the answer below. There is a bug in the packstack script that does not recognize CentOS and as a result disables the epel depot during the installation causing the script to fail to find the erlang package (along with others if installed and installation is continued.)

2014-10-16 15:01:10 -0500 commented answer Packstack allinone on Icehouse on CentOS 6.5

I confirmed BEFORE installation that repoquery can see erlang and rabbitmsq-server. Then packstack --allinone mucks with the repos and whala they are no longer seen and the installation bombs. I am using CentOS-6.5 min -- what else are folks doing?

2014-10-16 11:10:15 -0500 commented answer Packstack allinone on Icehouse on CentOS 6.5

D'oh! Well that's part of it - I wasn't using the recent answer-file. And though I installed EPEL I failed to enable Remi (though it was installed) and hence why erlang and rabbitmq was an issue. So very intuitive of you to read through my tea leaves. Thanks! (Albeit it was a tad embarrassing. ;-)

2014-10-16 04:00:03 -0500 commented question Packstack allinone on Icehouse on CentOS 6.5

Yep did those things. Look at my answer below. If you could add for posterity what step you did different, I am sure others that follow would appreciate it. 8-)

2014-10-16 03:40:23 -0500 commented answer Packstack allinone on Icehouse on CentOS 6.5

Take a look at the answer below. I would really like to know what versions you are using as I suspect they are not the same as mine as this appears to be a scripting bug.