Bug 2086231

Summary: Install Shared Resource CSI Driver Webhook
Product: OpenShift Container Platform Reporter: Corey Daley <cdaley>
Component: StorageAssignee: jawed <jkhelil>
Storage sub component: Operators QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: jitsingh
Version: 4.11   
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:48:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 3 Wei Duan 2022-05-24 07:58:33 UTC
Hi

From deployment/shared-resource-csi-driver-operator, WEBHOOK_IMAGE is defined:
$ oc -n openshift-cluster-csi-drivers get deployment.apps/shared-resource-csi-driver-operator -o json | jq .spec.template.spec.containers[].env
[
  {
    "name": "DRIVER_IMAGE",
    "value": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0c41cf449fa701dd84ecc433260e3baa3eb9a52b2ef7b22dcbba7f040dff653d"
  },
  {
    "name": "NODE_DRIVER_REGISTRAR_IMAGE",
    "value": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:b934227f9d103fee89a645c6549ce3e4b0c7341dfdac7fa4433e4736c093974e"
  },
  {
    "name": "WEBHOOK_IMAGE",
    "value": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:023b631fbb462982de164331567810083b9949cc1402ac7ec61b625d52230d09"
  },
  {
    "name": "POD_NAME",
    "valueFrom": {
      "fieldRef": {
        "apiVersion": "v1",
        "fieldPath": "metadata.name"
      }
    }
  }
]

But it is not present in daemonset/shared-resource-csi-driver-node (no other pods):
$ oc -n openshift-cluster-csi-drivers get pod | grep shared-resource
shared-resource-csi-driver-node-mdzf4                  2/2     Running   2          41m
shared-resource-csi-driver-node-pdd7m                  2/2     Running   2          41m
shared-resource-csi-driver-node-rsp7z                  2/2     Running   2          41m
shared-resource-csi-driver-node-sq446                  2/2     Running   2          41m
shared-resource-csi-driver-operator-74595f88f9-c2cgp   1/1     Running   0          37m


$ oc -n openshift-cluster-csi-drivers get daemonset/shared-resource-csi-driver-node -o json | jq  '.spec.template.spec.containers[] | .name + ": " + .image'
"node-driver-registrar: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:b934227f9d103fee89a645c6549ce3e4b0c7341dfdac7fa4433e4736c093974e"
"hostpath: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0c41cf449fa701dd84ecc433260e3baa3eb9a52b2ef7b22dcbba7f040dff653d"


Assign it back.

Comment 6 Wei Duan 2022-08-24 06:38:06 UTC
Verified pass on 4.12.0-0.nightly-2022-08-23-153511:


$ oc -n openshift-cluster-csi-drivers get deployment shared-resource-csi-driver-webhook
NAME                                 READY   UP-TO-DATE   AVAILABLE   AGE
shared-resource-csi-driver-webhook   2/2     2            2           11m


$ oc -n openshift-cluster-csi-drivers get pod -l "name=shared-resource-csi-driver-webhook"
NAME                                                 READY   STATUS    RESTARTS   AGE
shared-resource-csi-driver-webhook-8c5659785-959c2   1/1     Running   0          5m39s
shared-resource-csi-driver-webhook-8c5659785-nm9vg   1/1     Running   0          96s


I did not check the feature of shared-resource-csi-driver-webhook.

Update status to "Verified".

Comment 10 errata-xmlrpc 2023-01-17 19:48:48 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security 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-2022:7399

Comment 11 Red Hat Bugzilla 2023-09-18 04:37:13 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days