Comment 1 for bug 1482195

Revision history for this message
Jiří Stránský (jistr) wrote :

In another run the forming the cluster seems to have succeeded, but it failed later when trying to create users for OpenStack services.

http://logs.openstack.org/93/208993/1/check-tripleo/gate-tripleo-ironic-overcloud-f21puppet-ha/f839e8c/

Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: [2015-08-06 08:17:24,084] (heat-config) [INFO] Error: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: Error: Could not prefetch mysql_database provider 'mysql': Execution of '/usr/bin/mysql -NBe show databases' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: Error: Execution of '/usr/bin/mysql -e CREATE USER 'neutron'@'192.0.2.8' IDENTIFIED BY PASSWORD '*2D8B749F0D875BBBF90D997FB98ED8F26D1107D7'' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: Error: /Stage[main]/Neutron::Db::Mysql/Openstacklib::Db::Mysql[neutron]/Openstacklib::Db::Mysql::Host_access[ovs_neutron_192.0.2.8]/Mysql_user[neutron@192.0.2.8]/ensure: change from absent to present failed: Execution of '/usr/bin/mysql -e CREATE USER 'neutron'@'192.0.2.8' IDENTIFIED BY PASSWORD '*2D8B749F0D875BBBF90D997FB98ED8F26D1107D7'' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: Warning: /Stage[main]/Neutron::Db::Mysql/Openstacklib::Db::Mysql[neutron]/Openstacklib::Db::Mysql::Host_access[ovs_neutron_192.0.2.8]/Mysql_grant[neutron@192.0.2.8/ovs_neutron.*]: Skipping because of failed dependencies
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: Error: Execution of '/usr/bin/mysql -e CREATE USER 'heat'@'192.0.2.8' IDENTIFIED BY PASSWORD '*EA68BB50C10B0CF3CEBC4D1CB5D06032790FE07E'' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: Error: /Stage[main]/Heat::Db::Mysql/Openstacklib::Db::Mysql[heat]/Openstacklib::Db::Mysql::Host_access[heat_192.0.2.8]/Mysql_user[heat@192.0.2.8]/ensure: change from absent to present failed: Execution of '/usr/bin/mysql -e CREATE USER 'heat'@'192.0.2.8' IDENTIFIED BY PASSWORD '*EA68BB50C10B0CF3CEBC4D1CB5D06032790FE07E'' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: Warning: /Stage[main]/Heat::Db::Mysql/Openstacklib::Db::Mysql[heat]/Openstacklib::Db::Mysql::Host_access[heat_192.0.2.8]/Mysql_grant[heat@192.0.2.8/heat.*]: Skipping because of failed dependencies
Aug 06 08:17:24 overcloud-controller-0 os-collect-config[941]: [2015-08-06 08:17:24,085] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-puppet/a161b2ee-ec9f-4f41-8e7d-9dc02157be85.pp. [6]