Chapter 6. Deployment

Prerequisites

  • During undercloud installation, you set generate_service_certificate=false in the undercloud.conf file. Otherwise, you must inject a trust anchor when you deploy the overcloud, as described in Enabling SSL/TLS on Overcloud Public Endpoints in the Advanced Overcloud Customization guide.
Important

Red Hat recommends not to enable Instance HA by default for hyperconverged OpenStack deployments with Ceph (RHHI-C). It is possible to enable Instance HA with hyperconverged OpenStack deployments with Ceph provided that Red Hat reviews the configuration and that a support exception is filed. Please contact your Red Hat representative if you wish to use Instance HA with hyperconverged OpenStack deployments with Ceph.

To deploy your overcloud, run the following command:

$ openstack overcloud deploy --templates \
  -p /usr/share/openstack-tripleo-heat-templates/plan-samples/plan-environment-derived-params.yaml \
  -r /home/stack/templates/roles_data.yaml \
  -e /home/stack/templates/ports.yaml
  -e /home/stack/templates/environment-rhel-registration.yaml
  -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
  -e /home/stack/templates/storage-config.yaml \
  -e /home/stack/templates/storage-container-config.yaml \
  -e /home/stack/templates/network.yaml \
  -e /home/stack/templates/ceph-backfill-recovery.yaml \
  --ntp-server pool.ntp.org

Where:

  • --ntp-server pool.ntp.org - Sets our NTP server.

Use the -e flag to add environment files as needed for your planned overcloud deployment. For example, to also enable Single-Root Input/Output Virtualization (SR-IOV), add its corresponding environment file:

  -e /usr/share/openstack-tripleo-heat-templates/environments/neutron-sriov.yaml

To apply your SR-IOV network preferences, add an environment file defining them:

  -e /home/stack/templates/network-environment.yaml
Note

Currently, SR-IOV is the only Network Function Virtualization (NFV) implementation supported with hyperconverged infrastructure (HCI). See Planning an SR-IOV deployment (from the Network Functions Virtualization and Planning Guide) for more details.

For a full list of deployment options, run:

$ openstack help overcloud deploy

For more information, see Creating the Overcloud with the CLI Tools (from Director Installation and Usage).

Tip

You can also use an answers file to specify which environment files to include in your deployment. See Including Environment Files in Overcloud Creation (from Director Installation and Usage) for more details.