Description of problem: Version-Release number of selected component (if applicable): How reproducible: always at the first run of packstack Steps to Reproduce: 1. run the following allinone packstack line: packstack --allinone --nagios-install=y --os-ceilometer-install=y --os-neutron-install=y --keystone-admin-passwd=redhat --keystone-demo-passwd=redhat --ssh-public-key=/root/.ssh/id_rsa.pub 2. 3. Actual results: 10.35.101.10_mariadb.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 10.35.101.10_mariadb.pp Error: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: Initializing MySQL database: /usr/bin/my_print_defaults: unknown option '--mysqld' You will find full trace in log /var/tmp/packstack/20141019-154411-BgHr4_/manifests/10.35.101.10_mariadb.pp.log Expected results: packstack runs smooth with no errors Additional info: from /var/tmp/packstack/20141019-154411-BgHr4_/openstack-setup.log: tar --dereference -cpzf - apache ceilometer certmonger cinder concat firewall glance heat horizon inifile keystone memcached mongodb mysql neutron nova nssdb openstack packstack qpid rabbitmq remote rsync ssh stdlib swift sysctl tempest vcsrepo vlan vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root.101.10 tar -C /var/tmp/packstack/26e1074841324e2ab5725c3761c9694b/modules -xpzf - 2014-10-19 15:53:57::ERROR::run_setup::921::root:: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 902, in main single_step_aio_install(options) File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 688, in single_step_aio_install single_step_install(options) File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 718, in single_step_install _main(answerfilepath) File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 605, in _main runSequences() File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 584, in runSequences controller.runAllSequences() File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 68, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 98, in run step.run(config=config, messages=messages) File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 44, in run raise SequenceError(str(ex)) SequenceError: Error appeared during Puppet run: 10.35.101.10_mariadb.pp Error: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: Initializing MySQL database: /usr/bin/my_print_defaults: unknown option '--mysqld' You will find full trace in log /var/tmp/packstack/20141019-154411-BgHr4_/manifests/10.35.101.10_mariadb.pp.log from mariadb.pp.log: Timeout error occurred trying to start MySQL Daemon. Starting mysqld: [FAILED]^[[0m ^[[1;31mError: /Stage[main]/Main/Service[mysqld]: Failed to call refresh: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: MySQL Daemon failed to start. Starting mysqld: [FAILED]^[[0m ^[[1;31mError: /Stage[main]/Main/Service[mysqld]: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: MySQL Daemon failed to start. Starting mysqld: [FAILED] Wrapped exception: Execution of '/sbin/service mysqld start' returned 1: MySQL Daemon failed to start. Starting mysqld: [FAILED]^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/File[/etc/mysql/conf.d]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/Exec[set_mysql_rootpw]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Mysql::Config/Exec[set_mysql_rootpw]: Skipping because of failed dependencies^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/File[/root/.my.cnf]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Mysql::Config/File[/root/.my.cnf]: Skipping because of failed dependencies^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/Exec[mysqld-restart]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Mysql::Config/Exec[mysqld-restart]: Skipping because of failed dependencies^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/Exec[mysqld-restart]/returns: Stopping mysqld: [ OK ]^M^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/Exec[mysqld-restart]/returns: MySQL Daemon failed to start.^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/Exec[mysqld-restart]/returns: Starting mysqld: [FAILED]^M^[[0m ^[[1;31mError: /Stage[main]/Mysql::Config/Exec[mysqld-restart]: Failed to call refresh: service mysqld restart returned 1 instead of one of [0]^[[0m ^[[1;31mError: /Stage[main]/Mysql::Config/Exec[mysqld-restart]: service mysqld restart returned 1 instead of one of [0]^[[0m ^[[mNotice: /Stage[main]/Main/Database_user[@%]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Main/Database_user[@%]: Skipping because of failed dependencies^[[0m ^[[mNotice: /Stage[main]/Main/Database_user[root@::1]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Main/Database_user[root@::1]: Skipping because of failed dependencies^[[0m ^[[mNotice: /Stage[main]/Glance::Db::Mysql/Mysql::Db[glance]/Database[glance]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Glance::Db::Mysql/Mysql::Db[glance]/Database[glance]: Skipping because of failed dependencies^[[0m ^[[mNotice: /Stage[main]/Glance::Db::Mysql/Glance::Db::Mysql::Host_access[%]/Database_user[glance@%]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Glance::Db::Mysql/Glance::Db::Mysql::Host_access[%]/Database_user[glance@%]: Skipping because of failed dependencies^[[0m ^[[1;31mError: Could not prefetch database_grant provider 'mysql': Execution of '/usr/bin/mysql --defaults-file=/root/.my.cnf mysql -Be describe user' returned 1: Could not open required defaults file: /root/.my.cnf Fatal error in defaults handling. Program aborted
running packstack the 2nd time (with the generated answerfile) runs smoothly all the way to the end
reproduced it again with just: #packstack --allinone
*** Bug 1149000 has been marked as a duplicate of this bug. ***
*** Bug 1151928 has been marked as a duplicate of this bug. ***
verified in latest puddle: # rpm -qa |grep openstack-packstack openstack-packstack-2014.1.1-0.42.dev1251.el6ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1771.html