Open flozanorht opened 6 months ago
The demo configures an NFS server on bastion and creates manually provisioned PVs that refer to file shares on that NFS server at https://github.com/rh-osp-demo/dp-demo/blob/main/demo/create-cp.md#create-a-nfs-share-for-cinder
But later, the demo deploys a control plane which references ODF storage classes: https://github.com/rh-osp-demo/dp-demo/blob/main/demo/create-cp.md#finally-create-the-openstack-control-plane
See the contents of osp-ng-ctlplane-deploy.yaml :
apiVersion: core.openstack.org/v1beta1 kind: OpenStackControlPlane metadata: name: openstack-galera-network-isolation spec: secret: osp-secret storageClass: ocs-storagecluster-ceph-rbd
Indeed, the demo environment now includes both the predefined ODF storage classes and my new nfs storage class
# oc get storageclass NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE localblock kubernetes.io/no-provisioner Delete WaitForFirstConsumer false 3d5h nfs kubernetes.io/no-provisioner Delete Immediate false 5m3s ocs-storagecluster-ceph-rbd (default) openshift-storage.rbd.csi.ceph.com Delete Immediate true 3d5h ocs-storagecluster-ceph-rgw openshift-storage.ceph.rook.io/bucket Delete Immediate false 3d5h ocs-storagecluster-cephfs openshift-storage.cephfs.csi.ceph.com Delete Immediate true 3d5h openshift-storage.noobaa.io openshift-storage.noobaa.io/obc Delete Immediate false 3d5h
But if I have ODF available in the demo environment, there's no need to use nfs from OpenShit, for OpenStack control plane services or whatever else I deploy in that OpenShift cluster.
The demo configures an NFS server on bastion and creates manually provisioned PVs that refer to file shares on that NFS server at https://github.com/rh-osp-demo/dp-demo/blob/main/demo/create-cp.md#create-a-nfs-share-for-cinder
But later, the demo deploys a control plane which references ODF storage classes: https://github.com/rh-osp-demo/dp-demo/blob/main/demo/create-cp.md#finally-create-the-openstack-control-plane
See the contents of osp-ng-ctlplane-deploy.yaml :
apiVersion: core.openstack.org/v1beta1 kind: OpenStackControlPlane metadata: name: openstack-galera-network-isolation spec: secret: osp-secret storageClass: ocs-storagecluster-ceph-rbd
Indeed, the demo environment now includes both the predefined ODF storage classes and my new nfs storage class
But if I have ODF available in the demo environment, there's no need to use nfs from OpenShit, for OpenStack control plane services or whatever else I deploy in that OpenShift cluster.