60b9a9917e
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 |
||
---|---|---|
.. | ||
inventory | ||
library | ||
roles | ||
cleanup-deployment-images.yaml | ||
deploy-dynamic.yaml | ||
enroll-dynamic.yaml | ||
example-deploy-all-available-nodes.yaml | ||
install.yaml | ||
redeploy-dynamic.yaml | ||
test-bifrost-create-vm.yaml | ||
test-bifrost.yaml |