Ask Your Question

Revision history [back]

I am having the same issue myself, why would havana come into play when icehouse is being installed.

Anyway, I believe this to be an RDO issue and not openstack directly.

If you have any more insight on this please chime in. I am going to get onto the RDO team as well.

I am having In my case the same issue myself, why would havana come into play when icehouse is errors was due to the mysql database not being installed.configured with a password.

Anyway, I believe You can tell if this to be an RDO issue and is the case by doing: mysql -uroot If you get logged in then the password has not openstack directly. been configured.

If you have any more insight on this please chime in. Also I am going shutdown iptables to get onto the RDO team as well.by some network issues.

Here is my workaround.

afile=<your current="" answer="" file=""> mysqladmin -uroot password grep CONFIG_MYSQL_PW $afile | awk -F'=' '{ print $2 }' packstack --answer-file=$afile

This being said, I got further but not all the way there.

Still working on it will keep you posted.

In my case Issue is with packstack, not openstack and should be addressed on the errors was due to the mysql database not being configured with a password. RDO forums.

You can tell if this That being said, the problem is all about mysql, which does not get configured properly. I am posting a corrective script onto the case by doing: mysql -uroot If you get logged RDO forums and will put in then a request to do a bit of checking during the password has not been configured.packstack run.

Also I shutdown iptables to get by some network issues.

Here is my workaround.

afile=<your current="" answer="" file=""> mysqladmin -uroot password grep CONFIG_MYSQL_PW $afile | awk -F'=' '{ print $2 }' packstack --answer-file=$afile

This being said, I got further but not all the way there.

Still working on it will keep you posted.

Issue is with packstack, not openstack and should be addressed on the RDO forums.

That being said, the problem is all about mysql, which does not get configured properly. I am posting a corrective script onto the RDO forums and will put in a request to do a bit of checking during the packstack run.

There is however, either a flaw in the openstack puppet scripts or a bit of OS setup that needs to be understood.

In /usr/lib/python2.6/site-packages/packstack/puppet/templates/mysql_install.pp :

if ($::fqdn != $::hostname and $::hostname != "localhost") {
    database_user { ["root@${::hostname}", "@${::hostname}"]:
        ensure  => 'absent', require => Class['mysql::config'],
    }
}

fails to invoke properly if you use the command hostname and it returns a fully qualified domain name.

I ended up having to alter my /etc/sysconfig/network file so that the HOSTNAME variable did not include the domain name. like:

HOSTNAME=openstack1

I also had to modify /etc/hosts to so that the line leading with 127.0.0.1 completed with <hostname.domain-name> hostname, like

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 openstack1.rszabo50.net openstack1

I then rebooted and attempted the install again.

Issue is with packstack, not openstack and should be addressed on the RDO forums.

That being said, the packstack. The problem is all about mysql, which does not get configured properly. I am posting a corrective script onto the RDO forums and will put in a request to do a bit of checking during the packstack run.

There is however, either a flaw in the openstack puppet scripts or a bit of OS setup that needs to be understood.

In /usr/lib/python2.6/site-packages/packstack/puppet/templates/mysql_install.pp /usr/lib/python2.6/site-packages/packstack/puppet/templates/mysql_install.pp :

if ($::fqdn != $::hostname and $::hostname != "localhost") {
    database_user { ["root@${::hostname}", "@${::hostname}"]:
        ensure  => 'absent', require => Class['mysql::config'],
    }
}

fails to invoke properly if you use the command hostname and it returns a fully qualified domain name.

I ended up having to alter my /etc/sysconfig/network /etc/sysconfig/network file so that the HOSTNAME HOSTNAME variable did not include the domain name. like:

HOSTNAME=openstack1

I also had to modify /etc/hosts /etc/hosts to so that the line leading with 127.0.0.1 completed with <hostname.domain-name> hostname, like

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 openstack1.rszabo50.net openstack1

I then rebooted and attempted the install again.