Create the OpenStack Control Plane

We will be using a preconfigured file (files/osp-ng-ctlplane-deploy.yaml) to create the control plane and at the same time enable the required services, configure the control plane network, and configure the service back ends. The bastion has a preconfigured NFS service that we will be using to store glance images and cinder volumes.

Create an NFS share for cinder and glance

mkdir /nfs/cinder
chmod 777 /nfs/cinder
mkdir /nfs/glance
chmod 777 /nfs/glance

Configure NFS storage class

mkdir /nfs/pv6
mkdir /nfs/pv7
mkdir /nfs/pv8
mkdir /nfs/pv9
mkdir /nfs/pv10
mkdir /nfs/pv11
chmod 777 /nfs/pv*
oc create -f nfs-storage.yaml

Prepare the secret to place the NFS server connection used by Cinder

oc create secret generic cinder-nfs-config --from-file=nfs-cinder-conf

Finally create the OpenStack control plane

oc create -f osp-ng-ctlplane-deploy.yaml

Wait until the OpenStack control plane deployment is completed:

oc get openstackcontrolplane -n openstack
This can take several minutes.

Repeat the query until MESSAGE is Setup complete

Sample Output
NAME                                 STATUS   MESSAGE
openstack-galera-network-isolation   True     Setup complete