bifrost/playbooks/roles/bifrost-ironic-install/tasks
Markos Chandras 60b9a9917e playbooks: roles: bifrost-ironic-install: Set defaults for /etc/hosts
If /etc/hosts is not properly configured for localhost, then mysql will
fail with the following error:

Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: Creating MySQL privilege database...
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: Neither host 'vagrant-openSUSE-Leap' nor 'localhost' could be looked up with
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: '/usr/bin/resolveip'
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: Please configure the 'hostname' command to return a correct
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: hostname.
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: If you want to solve this at a later stage, restart this script
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: with the --force option
Aug 31 16:06:43 vagrant-openSUSE-Leap systemd[1]: mysql.service: Control process exited, code=exited status=1
Aug 31 16:06:43 vagrant-openSUSE-Leap systemd[1]: Failed to start MySQL server.

As such, we need to ensure that /etc/hosts is configured before starting
the mysql service.

Change-Id: I5f1151ab86b6190cf2310bd7fade5290d88abc1e
2017-08-31 18:30:48 +01:00
..
bootstrap.yml playbooks: roles: bifrost-ironic-install: Set defaults for /etc/hosts 2017-08-31 18:30:48 +01:00
create_tftpboot.yml Fixes to allow install Ironic on remote node 2017-01-23 13:28:12 +00:00
download_ipa_image.yml playbooks: roles: bifrost-ironic-install: Verify checksum for IPA files 2017-03-03 17:58:55 +00:00
get_ipxe.yml playbooks: roles: bifrost-ironic-install: Retry failed PXE downloads 2017-03-07 01:57:41 +00:00
inspector_bootstrap.yml Make ironic database use more configurable 2017-04-21 06:38:44 +00:00
inspector_install.yml Allow looking constraints file from env var 2017-04-03 10:14:37 +02:00
inspector_start.yml Fixes to allow services startup after reboot 2016-12-23 16:16:10 +02:00
install.yml Fix when clause in pymysql check on CentOS 2017-05-23 14:33:50 -04:00
ironic_config.yml Workaround for network start race condition 2017-02-27 15:03:01 +00:00
keystone_setup_inspector.yml Fix endpoint service name for inspector 2017-01-24 20:21:17 +00:00
keystone_setup.yml Fix endpoint creational in ironic 2017-04-01 12:20:27 +00:00
main.yml Remove my_ip_address from use 2017-02-03 19:37:20 +00:00
pip_install.yml roles: bifrost-ironic-install: Retry failed pip installation 2017-03-20 10:46:42 +00:00
set_ssh_private_key.yml Allow user to specify private SSH key 2017-01-16 17:20:46 +02:00
staging_install.yml Allow looking constraints file from env var 2017-04-03 10:14:37 +02:00
start.yml Ignore error when killall dnsmasq 2017-04-09 18:43:13 -05:00