cli icon indicating copy to clipboard operation
cli copied to clipboard

MREF Installation: Incompatible modes on PVC

Open terc1997 opened this issue 2 months ago • 0 comments

MAS CLI version

15.8.0

CLI function used

install

What happened?

When installing MREF there's the option to select the PVC. However, the option of ReadWriteMany and ReadWriteOnce are not automatically set when the flavor of the PVC selected. Therefore, it allows the user to select ibmc-block-gold for example with ReadWriteMany blocking the deployment.

Relevant log output

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  annotations:
    ibm.io/provisioning-status: 'failed: "ReadWriteMany" is an unsupported access mode. Block Storage supports only ''ReadWriteOnce'' mode'
    volume.beta.kubernetes.io/storage-provisioner: ibm.io/ibmc-block
    volume.kubernetes.io/storage-provisioner: ibm.io/ibmc-block
  resourceVersion: '8037048'
  name: log-maspoc-gtmpoc-appserver-0
  uid: 8e8c8148-db10-4567-9755-452a7bd822c5
  creationTimestamp: '2025-10-07T07:43:50Z'
  managedFields:
    - manager: kube-controller-manager
      operation: Update
      apiVersion: v1
      time: '2025-10-07T07:43:50Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:annotations':
            .: {}
            'f:volume.beta.kubernetes.io/storage-provisioner': {}
            'f:volume.kubernetes.io/storage-provisioner': {}
          'f:labels':
            .: {}
            'f:app': {}
            'f:app.kubernetes.io/instance': {}
            'f:app.kubernetes.io/managed-by': {}
            'f:app.kubernetes.io/name': {}
            'f:mas.ibm.com/applicationId': {}
            'f:mas.ibm.com/instanceId': {}
            'f:mas.ibm.com/workspaceId': {}
          'f:ownerReferences':
            .: {}
            'k:{"uid":"4b622017-d825-409b-867e-d819169eba50"}': {}
        'f:spec':
          'f:accessModes': {}
          'f:resources':
            'f:requests':
              .: {}
              'f:storage': {}
          'f:storageClassName': {}
          'f:volumeMode': {}
    - manager: provisioner
      operation: Update
      apiVersion: v1
      time: '2025-10-07T07:43:50Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:annotations':
            'f:ibm.io/provisioning-status': {}
  namespace: mas-maspoc-facilities
  ownerReferences:
    - apiVersion: apps/v1
      kind: StatefulSet
      name: maspoc-gtmpoc-appserver
      uid: 4b622017-d825-409b-867e-d819169eba50
      controller: true
      blockOwnerDeletion: true
  finalizers:
    - kubernetes.io/pvc-protection
  labels:
    app: maspoc-gtmpoc-appserver
    app.kubernetes.io/instance: maspoc
    app.kubernetes.io/managed-by: ibm-mas-facilities-ws
    app.kubernetes.io/name: ibm-mas-facilities
    mas.ibm.com/applicationId: facilities
    mas.ibm.com/instanceId: maspoc
    mas.ibm.com/workspaceId: gtmpoc
spec:
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 30Gi
  storageClassName: ibmc-block-gold
  volumeMode: Filesystem
status:
  phase: Pending

terc1997 avatar Oct 08 '25 11:10 terc1997