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
2017-08-11 09:05:46 +00:00
2017-08-15 09:12:20 -04:00
2017-08-03 10:07:01 +08:00
2015-05-25 13:52:46 +00:00
2015-04-16 15:58:23 -04:00
2017-08-11 11:34:49 +02:00
2017-08-11 11:34:49 +02:00
2017-03-02 23:53:04 +00:00
2017-06-26 10:22:17 +05:30

Bifrost

Bifrost (pronounced bye-frost) is a set of Ansible playbooks that automates the task of deploying a base image onto a set of known hardware using ironic. It provides modular utility for one-off operating system deployment with as few operational requirements as reasonably possible.

Team and repository tags:

image

Use Cases

  • Installation of ironic in standalone/noauth mode without other OpenStack components.
  • Deployment of an operating system to a known pool of hardware as a batch operation.
  • Testing and development of ironic in a standalone use case.

Documentation

Bifrost's documentation can be found at the OpenStack documentation site.

Description
Ansible roles and playbooks to enable a standalone Ironic install
Readme 27 MiB
Languages
Python 55.4%
Jinja 27%
Shell 17.6%