Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-38442

vSphere CSI driver does not restart on config file change

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-38272. The following is the description of the original issue:

      Description of problem:

      When user changes Infrastructure object, e.g. adds a new vCenter, the operator generates a new driver config (Secret named vsphere-csi-config-secret), but the controller pods are not restarted and use the old config.

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

      4.17.0-0.nightly *after* 2024-08-09-031511

      How reproducible: always

      Steps to Reproduce:

      1. Enable TechPreviewNoUpgrade
      2. Add a new vCenter to infrastructure. It can be the same one as the existing one - we just need to trigger "disable CSi migration when there are 2 or more vCenters"
      3. See that vsphere-csi-config-secret changed and has `migration-datastore-url =` (i.e. empty string value)

      Actual results: the controller pods are not restarted

      Expected results: the controller pods areĀ  restarted

            rhn-engineering-jsafrane Jan Safranek
            openshift-crt-jira-prow OpenShift Prow Bot
            Wei Duan Wei Duan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: