Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent storage configuration #14

Open
flozanorht opened this issue May 3, 2024 · 0 comments
Open

Inconsistent storage configuration #14

flozanorht opened this issue May 3, 2024 · 0 comments

Comments

@flozanorht
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant