Uploaded image for project: 'Red Hat OpenShift AI Engineering'
  1. Red Hat OpenShift AI Engineering
  2. RHOAIENG-297

[Enhancement] Improve error message when modifying unbounded cluster storage

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None
    • False
    • Low

    Description

      When trying to modify the size of an unconnected Cluster Storage (Inside a DS Project), the user gets the K8s error:

       

      Error creating storagePersistentVolumeClaim "ungigaymedio" is invalid: [spec: Forbidden: spec is immutable after creation except resources.requests for bound claims core.PersistentVolumeClaimSpec{ AccessModes: {"ReadWriteOnce"}, Selector: nil, Resources: core.ResourceRequirements{ Limits: nil, - Requests: core.ResourceList{ - s"storage": {i: resource.int64Amount{value: 1637875712}, s: "1562Mi", Format: "BinarySI"}, - }, + Requests: core.ResourceList{s"storage": {i: resource.int64Amount{value: 1635778560}, Format: "BinarySI"}}, Claims: nil, }, VolumeName: "", StorageClassName: &"standard-csi", ... // 3 identical fields } , spec.resources.requests.storage: Forbidden: field can not be less than previous value] 

      It's not a friendly error for the users 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rh-ee-fealonso Federico Alonso
            RHOAI Dashboard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty