-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat OpenStack Platform
Chapter 4. Configuring the all-in-one OpenStack installation
The all-in-one Red Hat OpenStack Platform installation does not require configuration pre-deployment or post-deployment. However, you must create the following configuration files manually before you can deploy OpenStack:
-
$HOME/containers-prepare-parameters.yaml -
$HOME/standalone_parameters.yaml
If you want to customize, develop, and test your all-in-one installation, edit the following configuration files:
-
/usr/share/openstack-tripleo-heat-templates/environments/standalone.yaml -
/usr/share/openstack-tripleo-heat-templates/roles/Standalone.yaml
4.1. Generating YAML files for the all-in-one installation
To generate the containers-prepare-parameters.yaml and standalone_parameters.yaml files, complete the following steps:
Generate the
containers-prepare-parameters.yamlfile that contains the defaultContainerImagePrepareparameters:$ openstack tripleo container image prepare default --output-env-file $HOME/containers-prepare-parameters.yaml
Create the
$HOME/standalone_parameters.yamlfile and configure basic parameters for your standalone OpenStack installation, including network configuration and some deployment options. In this example, network interfaceeth0is a default interface, and network interfaceeth1is the interface that you use to deploy OpenStack:export IP=192.168.25.2 export NETMASK=24 export INTERFACE=eth1 cat <<EOF > $HOME/standalone_parameters.yaml parameter_defaults: CloudName: $IP ControlPlaneStaticRoutes: [] Debug: true DeploymentUser: $USER DnsServers: - 1.1.1.1 - 8.8.8.8 DockerInsecureRegistryAddress: - $IP:8787 NeutronPublicInterface: $INTERFACE NeutronDnsDomain: localdomain NeutronBridgeMappings: datacentre:br-ctlplane NeutronPhysicalBridge: br-ctlplane StandaloneEnableRoutedNetworks: false StandaloneHomeDir: $HOME StandaloneLocalMtu: 1500 EOFYou must configure the
DnsServersparameter with your DNS address. For example, use the address from the/etc/resolv.conffile:$ cat /etc/resolv.conf 192.168.122.1
If you have an internal time source, or if your environment blocks access to external time sources, use the
NtpServerparameter to define the time source that you want to use:NtpServer: clock.example.com
If you want to use the all-in-one OpenStack installation in a virtual environment, you must define the virtualization type with the
StandaloneExtraConfigparameter:StandaloneExtraConfig: NovaComputeLibvirtType: qemu