bifrost/playbooks/roles
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
..
bifrost-configdrives-dynamic Allows to setup more than one nameserver 2017-07-17 09:48:25 +02:00
bifrost-create-bootable-image Migrate playbooks to use 'become' 2015-10-15 07:32:05 -07:00
bifrost-create-dib-image playbooks: roles: Drop obsolete dib-utils package 2017-03-29 15:16:19 +01:00
bifrost-create-vm-nodes Change perms for the VM logs 2017-08-24 12:57:55 +02:00
bifrost-deploy-nodes-dynamic Add when to skip os_client_config in noauth mode 2017-05-26 08:34:14 -04:00
bifrost-ironic-install playbooks: roles: bifrost-ironic-install: Set defaults for /etc/hosts 2017-08-31 18:30:48 +01:00
bifrost-keystone-client-config Ensure ~/.config exists 2017-06-06 12:13:14 +00:00
bifrost-keystone-install Merge "Make ironic database use more configurable" 2017-04-25 17:49:21 +00:00
bifrost-openstack-ci-prep Add new lines to improve pre-install yaml files 2016-09-22 19:58:43 +00:00
bifrost-prep-for-install Allow looking constraints file from env var 2017-04-03 10:14:37 +02:00
bifrost-prepare-for-test-dynamic bifrost-prepare-for-test-dynamic: Create known_hosts if it's not present 2016-09-19 09:01:43 +01:00
bifrost-test-dhcp Use JSON baremetal data in testing 2017-03-06 17:06:30 +02:00
bifrost-test-vm Cleanup unused/deprecated files 2017-02-09 14:35:02 +02:00
bifrost-unprovision-node-dynamic Add when to skip os_client_config in noauth mode 2017-05-26 08:34:14 -04:00
ironic-delete-dynamic Add when to skip os_client_config in noauth mode 2017-05-26 08:34:14 -04:00
ironic-enroll-dynamic Add when to skip os_client_config in noauth mode 2017-05-26 08:34:14 -04:00
ironic-inspect-node Add when to skip os_client_config in noauth mode 2017-05-26 08:34:14 -04:00