tripleo-quickstart-extras/roles/baremetal-prep-virthost
Ronelle Landy 3d81be6217 Ensure locale is set to en_US.UTF-8 for baremetal systems
RHEL 8.4 guest images set the locale to LANG=en_US
which results in error during the deploy.
This role ensure that the locale includes
LANG=en_US.UTF-8 after the image boots.

Related-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1935345
Change-Id: I06dd113e41d4b47e74663cc5c7bea74434cfa0fc
2021-03-04 16:43:30 +00:00
..
2018-11-26 12:37:21 +00:00
2020-01-05 14:07:37 +00:00

Role Name

An Ansible role to set up a machine to host a virtual undercloud for a TripleO deployment on baremetal nodes.

Requirements

This role assumes that the host machine already has a nic on the provisioning network. The role assigns the nic an IP address.

Role Variables

Note: Make sure to include all environment file and options from your initial Overcloud creation

  • virthost_provisioning_interface: -- NIC for the provisioning interface on the undercloud host
  • virthost_provisioning_ip: <192.168.122.1> -- IP address for the provisioning interface on the undercloud host
  • virthost_provisioning_netmask: <255.255.255.192> -- Netmask for the provisioning interface on the undercloud host
  • virthost_provisioning_hwaddr: <52:54:00:00:76:00> -- MAC address the provisioning interface on the undercloud host
  • working_dir: <'/home/stack'> -- working directory for the role.

Dependencies

The playbook included in this role calls https://github.com/redhat-openstack/ansible-role-tripleo-validate-ipmi and https://github.com/redhat-openstack/ansible-role-tripleo-baremetal-overcloud.

Example Playbook

  1. Sample playbook to call the role
- name: Prepare the host for PXE forwarding
  hosts: virthost
  gather_facts: false
  roles:
    - ansible-role-tripleo-baremetal-prep-virthost

License

Apache-2.0

Author Information

RDO-CI Team