Skip to content

resolve default storage class AWS > gp3-csi#14696

Open
DanielOsypenko wants to merge 1 commit intored-hat-storage:masterfrom
DanielOsypenko:resolve-default-storageclass-aws-FDF-gp3-csi
Open

resolve default storage class AWS > gp3-csi#14696
DanielOsypenko wants to merge 1 commit intored-hat-storage:masterfrom
DanielOsypenko:resolve-default-storageclass-aws-FDF-gp3-csi

Conversation

@DanielOsypenko
Copy link
Contributor

Resolve issue on FDF installations with AWS:

 The StorageCluster CR's storageDeviceSets[0].dataPVCTemplate does not specify a storageClassName. The operator can't determine which StorageClass to use for provisioning OSD PVCs,
  so it rejects the spec and enters Error phase.

  The cluster has two available StorageClasses: gp2-csi and gp3-csi (default). No Ceph resources, PVCs, or data pods have been created yet — the reconciliation fails before it gets
  that far.

Storageclass name should be set via StorageCluster with this manner:

 {
    "spec": {
      "storageDeviceSets": [{
        "name": "ocs-deviceset",
        "count": 1,
        "replica": 3,
        "portable": true,
        "dataPVCTemplate": {
          "spec": {
            "storageClassName": "gp3-csi",
            "accessModes": ["ReadWriteOnce"],
            "volumeMode": "Block",
            "resources": {
              "requests": {
                "storage": "100Gi"
              }
            }
          }
        }
      }]
    }
  }'

Signed-off-by: Daniel Osypenko <danielosypenko@redhat.com>
@DanielOsypenko DanielOsypenko requested a review from a team as a code owner March 15, 2026 15:00
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines label Mar 15, 2026
@openshift-ci
Copy link

openshift-ci bot commented Mar 15, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: DanielOsypenko

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S PR that changes 10-29 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant