Chapter 8. Initiating overcloud deployment

Deploy the overcloud after completing the initial configuration and customization of services.

8.1. Initiating overcloud deployment

Deploy the overcloud to implement the configuration of the Red Hat OpenStack Platform (RHOSP) environment.

Prerequisites

  • During undercloud installation, set generate_service_certificate=false in the undercloud.conf file. Otherwise, you must inject a trust anchor when you deploy the overcloud.
Note

If you want to add Ceph Dashboard during your overcloud deployment, see Chapter 10, Adding the Red Hat Ceph Storage Dashboard to an overcloud deployment.

Procedure

Deploy the overcloud using the openstack overcloud deploy command. For a complete list of all command arguments, see openstack overcloud deploy in the Command line interface reference.

The following is an example usage of the command:

$ openstack overcloud deploy --templates -r /home/stack/templates/roles_data_custom.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/ceph-mds.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/cinder-backup.yaml \
  -e /home/stack/templates/storage-config.yaml \
  -e /home/stack/templates/deployed-ceph.yaml \
  -e /home/stack/templates/networks-deployed.yaml \
  -e /home/stack/templates/deployed-metal.yaml \
  -e /home/stack/templates/deployed-vips.yaml \
  --ntp-server pool.ntp.org

The example command uses the following options:

  • --templates

    • Creates the overcloud from the default heat template collection, /usr/share/openstack-tripleo-heat-templates/.
  • -r /home/stack/templates/roles_data_custom.yaml

    • Specifies a customized roles definition file.
  • -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm.yaml

  • -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/ceph-mds.yaml

  • -e /usr/share/openstack-tripleo-heat-templates/environments/cinder-backup.yaml

  • -e /home/stack/templates/storage-config.yaml

  • -e /home/stack/templates/deployed-ceph.yaml

    • Adds the environment file that contains your Ceph cluster settings, as output by the openstack overcloud ceph deploy command run earlier.
  • -e /home/stack/templates/networks-deployed.yaml

    • Adds the environment file that contains your Ceph cluster network settings, as output by openstack overcloud network provision.
  • -e /home/stack/templates/deployed-metal.yaml

    • Adds the environment file that contains your Ceph cluster node settings, as output by openstack overcloud node provision.
  • -e /home/stack/templates/deployed-vips.yaml

    • Adds the environment file that contains your Ceph cluster network VIP settings, as output by openstack overcloud network vip provision.
  • --ntp-server pool.ntp.org

    • Sets the NTP server.