Created attachment 878339 [details] mysql.pp.log Description of problem: Fedora20: packstack gives traceback when SElinux permissive Version-Release number of selected component (if applicable): openvswitch.x86_64 0:2.0.1-1.fc20 installed Steps to Reproduce: 1. Followed steps given http://allthingsopen.com/2013/08/23/openstack-packstack-installation-with-external-connectivity/ 2. On step packstack --allinone —quantum-l3-ext-bridge=eth0 Applying 10.65.201.125_mysql.pp Applying 10.65.201.125_qpid.pp [ ERROR ] ERROR : Error appeared during Puppet run: 10.65.201.125_mysql.pp Error: Could not start Service[mysqld]: Execution of '/sbin/service mariadb start' returned 1: You will find full trace in log /var/tmp/packstack/20140325-031916-GWgWD5/manifests/10.65.201.125_mysql.pp.log Please check log file /var/tmp/packstack/20140325-031916-GWgWD5/openstack-setup.log for more information ================================================================================ /var/tmp/packstack/20140325-031916-GWgWD5/manifests/10.65.201.125_mysql.pp.log (PFA as well) ^[[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: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ^[[0m ^[[mNotice: /Stage[main]/Glance::Db::Mysql/Glance::Db::Mysql::Host_access[%]/Database_grant[glance@%/glance]: Dependency Service[mysqld] has failures: true^[[0m ================================================================================ /var/tmp/packstack/20140325-031916-GWgWD5/openstack-setup.log (PFA as well) KeyChecking=no -o UserKnownHostsFile=/dev/null root.201.125 tar -C /var/tmp/packstack/3c5fc6f0b07e40c58f9352ff427995d6/modules -xpzf - 2014-03-25 03:21:43::ERROR::run_setup::912::root:: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 893, in main single_step_aio_install(options) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 662, in single_step_aio_install single_step_install(options) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 695, in single_step_install _main(answerfilepath) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 573, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 552, in runSequences controller.runAllSequences()
Created attachment 878340 [details] openstack-setup.log
The tests i've done following the steps here [1] are for RDO grizzly and imply modifications to the packstack puppet templates, since the modifications do not modify the mysql template i tested and managed to reproduce the problem. I'm gonna test latest packstack to see if i can reproduce this problem. [1] http://allthingsopen.com/2013/08/23/openstack-packstack-installation-with-external-connectivity/
The mariadb service is no longer called mysql in fedora, this has been fixed in the upstream mysql puppet module and have to be reflected in our mysql puppet module in openstack puppet modules. Working on that
This issue has been fixed in the current openstack puppet modules package: openstack-puppet-modules-2013.2-9.fc20. which version of packstack are you using?
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days