Chapter 5. Solution installation details

To assist the reader, the OpenStack install command and OpenShift install configuration files for this solution are provided here for reference. These examples are not intended to replace a thorough understanding or comprehensive testing when implementing OpenShift on OpenStack. They are offered without guarantee of accuracy or support from Red Hat.

5.1. OpenStack install command

 openstack overcloud deploy \
  --timeout 100 \
  --templates /usr/share/openstack-tripleo-heat-templates \
  --environment-file /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsganesha-config.yaml \
  --environment-file /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-rgw.yaml \
  --environment-file /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-mds.yaml \
  --environment-file /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml \
  --libvirt-type kvm \
  --stack overcloud \
  -r /home/stack/hybrid_templates/roles/roles_data.yaml \
  -e /home/stack/hybrid_templates/roles/nodes.yaml \
-e /home/stack/hybrid_templates/internal.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/hybrid_templates/network/network-environment.yaml \
-e /home/stack/hybrid_templates/network/dvr-override.yaml \
-e /home/stack/hybrid_templates/enable-tls.yaml \
-e /home/stack/hybrid_templates/inject-trust-anchor.yaml \
-e /home/stack/hybrid_templates/public_vip.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml \
-e /home/stack/hybrid_templates/hostnames.yml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
-n /usr/share/openstack-tripleo-heat-templates/network_data_ganesha.yaml   \
-e /home/stack/hybrid_templates/hostnames.yaml \
-e /home/stack/hybrid_templates/debug.yaml \
-e /home/stack/hybrid_templates/custom-storage.yaml \
-e /home/stack/hybrid_templates/config_heat.yaml \
-e ~/containers-prepare-parameter.yaml \
-e /home/stack/hybrid_templates/manila-cephganesha.yaml \
--log-file overcloud_deployment_50.log

5.2. OpenShift install configuration file

apiVersion: v1                                                                                                                                                                                                                        baseDomain: "shiftstack.com"
clusterID:  "9242da7a-81a2-5fcc-b95f-ab2240f5170c"
compute:                                                                                                                                                                                                                              - name: worker                                                                                                                                                                                                                          platform:
    openstack:
      zones: ['AZ0', 'AZ1', 'AZ2']
      additionalNetworkIDs:
      - 2f256706-dd68-45c9-970a-8376f02410e8
  replicas: 3
controlPlane:
  name: master
  platform:
    openstack:
      zones: ['AZ0', 'AZ1', 'AZ2']
  replicas: 3
metadata:
  name: "ostest"
networking:
  clusterNetworks:
  - cidr:             10.128.0.0/14
    hostSubnetLength: 9
  serviceCIDR: 172.30.0.0/16
  machineCIDR: 10.196.0.0/16
  type: "Kuryr"
platform:
  openstack:
    cloud:            "shiftstack"
    externalNetwork:  "nova"
    region:           "regionOne"
    computeFlavor:    "m4.xlarge"
    externalDNS:      ["10.46.0.31"]
    lbFloatingIP:     "10.46.43.176"
    ingressFloatingIP:     "10.46.43.181"
pullSecret: |  {PRIVATE}
sshKey: |
  ssh-rsa ABCDEFGHIJKLMNOPQRSTUVWXZY1234567890