Ask Your Question
2

Icehouse - packstack installation fails "Error: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: MySQL Daemon failed to start"

asked 2014-06-23 07:28:13 -0500

updated 2014-06-23 12:06:57 -0500

Hi,

I tried to install the RDO ("Icehouse") release and at the first step, it fails with these message :

Preparing servers [ DONE ] Installing Dependencies [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 192.168.10.65_prescript.pp 192.168.10.65_prescript.pp: [ DONE ]
Applying 192.168.10.65_mysql.pp Applying 192.168.10.65_amqp.pp 192.168.10.65_mysql.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run:192.168.10.65_mysql.pp Error: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: MySQL Daemon failed to start. You will find full trace in log /var/tmp/packstack/20140623-174424-dpduFO/manifests/192.168.10.65_mysql.pp.log Please check log file /var/tmp/packstack/20140623-174424-dpduFO/openstack-setup.log for more information

Could be related to this bug ?

https://bugzilla.redhat.com/show_bug....

Has anyone seen before ?

Thanks a lot for your answers!

edit retag flag offensive close merge delete

Comments

dbaxps gravatar imagedbaxps ( 2014-06-23 07:47:45 -0500 )edit

Hi,

Yes, have done it also the set the SELinux to "disabled" and applied some workaround suggested in internet but nothing to do.

Thanks.

Marius gravatar imageMarius ( 2014-06-23 08:00:10 -0500 )edit

What OS are you running ?

dbaxps gravatar imagedbaxps ( 2014-06-23 08:12:42 -0500 )edit

CentOS 6.5 (64bit)

Marius gravatar imageMarius ( 2014-06-23 08:13:55 -0500 )edit

Check for mysql* folder under /var/log and run
chown mysql:mysql /var/log/mysql/mysql .log

View also http://openstack.redhat.com/Workaroun... :

dbaxps gravatar imagedbaxps ( 2014-06-23 08:30:01 -0500 )edit

4 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-24 09:17:39 -0500

silviu gravatar image

3rd line of /usr/lib/python2.6/site-packages/packstack/puppet/templates/mysql_install.pp should be :

if $::operatingsystem in ['RedHat','CentOS','Scientific'] and $::operatingsystemrelease < 7 {

instead of :

if $::operatingsystem in ['RedHat','CentoS','Scientific'] and $::operatingsystemrelease < 7 {

On the line 68 in /usr/share/openstack-puppet/modules/swift/manifests/storage/mount.pp, you have to modify to :

path        => ['/usr/sbin', '/sbin'],

instead of :

path        => ['/usr/sbin', '/bin'],

This workaround will allow you to install RDO packstack on an updated version of CentOS 6.5 . You can find additional details here:

https://www.redhat.com/archives/rdo-list/2014-June/msg00086.htm https://bugzilla.redhat.com/show_bug.cgi?id=1109079

edit flag offensive delete link more
1

answered 2014-06-25 02:41:45 -0500

Madko gravatar image

Hi,

If it's the same problem I encounter, try to comment the innodb_log_file_size in /etc/my.cnf.d/innodb.cnf and restart mysql service. If mysql service starts now, you have to edit puppet template:

In file /usr/share/openstack-puppet/modules/packstack/templates/innodb.cnf.erb

Just comment line 3:

#innodb_log_file_size = <%= @log_file_size %>

Rerun packstack --answer-file=your_answer_file

and it should be good.

edit flag offensive delete link more
0

answered 2014-06-23 23:57:35 -0500

edit flag offensive delete link more
0

answered 2014-06-23 09:39:57 -0500

dbaxps gravatar image

updated 2014-06-24 23:22:54 -0500

[Rdo-list] FYI.. CentOS6.5 ( do not install ) https://www.redhat.com/archives/rdo-l... Update
Re: [Rdo-list] FYI.. CentOS6.5 ( do not install ) https://www.redhat.com/archives/rdo-l...

edit flag offensive delete link more

Comments

Thanks Boris,

I will wait until the fix will be released.

Regards.

Marius gravatar imageMarius ( 2014-06-23 09:52:56 -0500 )edit

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-06-23 07:28:13 -0500

Seen: 2,739 times

Last updated: Jun 25 '14