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: 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 Sets the director to finalize the previously deployed Ceph Storage cluster. This environment file deploys RGW by default. It also creates pools, keys, and daemons. If you do not want to deploy RGW or object storage, see the options described in Section 5.5, "Deployment options for Red Hat OpenStack Platform object storage" -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/ceph-mds.yaml Enables the Ceph Metadata Server, as described in Section 5.3, "Enabling Ceph Metadata Server" . -e /usr/share/openstack-tripleo-heat-templates/environments/cinder-backup.yaml Enables the Block Storage Backup service ( cinder-backup ), as described in Section 5.6, "Configuring the Block Storage Backup Service to use Ceph" . -e /home/stack/templates/storage-config.yaml Adds the environment file that contains your custom Ceph Storage configuration as described in Section 5.1, "Configuring a custom environment file" -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.

Commands:
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