Bug 2237288 - [4.14] portworx: update the storageProfile
Summary: [4.14] portworx: update the storageProfile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.14.0
Assignee: Arnon Gilboa
QA Contact: Jenia Peimer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-04 14:43 UTC by Jenia Peimer
Modified: 2023-11-08 14:07 UTC (History)
1 user (show)

Fixed In Version: CNV v4.14.0.rhel9-1910
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:06:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerized-data-importer pull 2789 0 None Merged Fix Portworx CSI storage capabilities 2023-09-07 10:39:05 UTC
Github kubevirt containerized-data-importer pull 2890 0 None Merged [release-v1.57] Fix Portworx CSI storage capabilities 2023-09-07 10:41:48 UTC
Red Hat Issue Tracker CNV-32674 0 None None None 2023-09-06 12:29:21 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:07:21 UTC

Description Jenia Peimer 2023-09-04 14:43:33 UTC
Description of problem:
We need to update the storageProfile for Portworx

From my attempts, these are supported combinations for the provisioners:
pxd.portworx.com - {RWX, FS}, {RWO, Block}, {RWO, FS}
ebs.csi.aws.com - {RWO, Block}, {RWO, FS}
kubernetes.io/portworx-volume - DV is Pending for all: {RWX, FS}, {RWO, Block}, {RWO, FS}


Version-Release number of selected component (if applicable):
4.14

How reproducible:
Always

Steps to Reproduce:
$ oc get storageprofile px-csi-db-shared -oyaml


Actual results:


Expected results:


Additional info:

You can patch the storageProfile manually:

$ oc patch storageprofile px-csi-db-shared --type='merge' --patch='{"spec": {"claimPropertySets": [{"accessModes": ["ReadWriteMany"], "volumeMode": "Filesystem"}, {"accessModes": ["ReadWriteOnce"], "volumeMode": "Block"}, {"accessModes": ["ReadWriteOnce"], "volumeMode": "Filesystem"}]}}'

Comment 1 Jenia Peimer 2023-09-26 10:14:36 UTC
Verified on CNV-v4.14.0.rhel9-2082:

$ oc get storageprofile px-csi-db-shared -oyaml

apiVersion: cdi.kubevirt.io/v1beta1
kind: StorageProfile
metadata:
  creationTimestamp: "2023-09-26T09:57:58Z"
  generation: 2
  labels:
    app: containerized-data-importer
    app.kubernetes.io/component: storage
    app.kubernetes.io/managed-by: cdi-controller
    app.kubernetes.io/part-of: hyperconverged-cluster
    app.kubernetes.io/version: 4.14.0
    cdi.kubevirt.io: ""
  name: px-csi-db-shared
  ownerReferences:
  - apiVersion: cdi.kubevirt.io/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: CDI
    name: cdi-kubevirt-hyperconverged
    uid: 52dc2dbc-70b8-49a8-98c2-e9d84f34f191
  resourceVersion: "68851"
  uid: 4a49e0e9-16ff-4eec-9031-b5a40a40d29d
spec: {}
status:
  claimPropertySets:
  - accessModes:
    - ReadWriteMany
    volumeMode: Filesystem
  - accessModes:
    - ReadWriteOnce
    volumeMode: Block
  - accessModes:
    - ReadWriteOnce
    volumeMode: Filesystem
  cloneStrategy: snapshot
  dataImportCronSourceFormat: pvc
  provisioner: pxd.portworx.com
  storageClass: px-csi-db-shared

Comment 3 errata-xmlrpc 2023-11-08 14:06:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6817


Note You need to log in before you can comment on or make changes to this bug.