Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-18397

[2087608] Failure to create stable HCO CR after deleting it previously

XMLWordPrintable

    • Storage Core Sprint 248
    • Medium

      Description of problem:
      ------------------------
      When the HCO CR is deleted and created back, HCO CR was not reaching a stable condition

      Version-Release number of selected component (if applicable):
      -------------------------------------------------------------
      CNV 4.11 ( bundle - v4.11.0-360 )
      Index Image - registry-proxy.engineering.redhat.com/rh-osbs/iib:233912
      hyperconverged-cluster-operator - v4.11.0-65
      OCP 4.11 nightly ( 4.11.0-0.nightly-2022-05-11-054135 )

      How reproducible:
      -----------------
      Always

      Steps to Reproduce:
      -------------------
      1. Set the 'uninstallStrategy' of HCO CR to 'RemoveWorkloads'

      1. oc edit hco kubevirt-hyperconverged -n openshift-cnv

      2. Remove the HCO CR

      1. oc delete hco kubevirt-hyperconverged -n openshift-cnv

      3. After successful deletion of 'oc delete' command, create HCO CR ( "HyperConverged") from web-console ( Installed Operators -> create HyperConverged )

      Actual results:
      ---------------
      HCO CR never reaches stable condition

      <snip>

      { "lastTransitionTime": "2022-05-18T05:03:33Z", "message": "SSP is progressing: Error: the server could not find the requested resource (post datasources.cdi.kubevirt.io)", "observedGeneration": 2, "reason": "SSPProgressing", "status": "True", "type": "Progressing" }

      ,

      { "lastTransitionTime": "2022-05-18T05:03:33Z", "message": "SSP is degraded: Error: the server could not find the requested resource (post datasources.cdi.kubevirt.io)", "observedGeneration": 2, "reason": "SSPDegraded", "status": "True", "type": "Degraded" }

      ,
      </snip>

      Expected results:
      -----------------
      HCO CR should reach stable condition after recreating the same

      Additional info:
      -----------------
      SSP is stuck in deploying state

      [ ~]$ oc get ssps ssp-kubevirt-hyperconverged -n openshift-cnv
      NAME PHASE
      ssp-kubevirt-hyperconverged Deploying

      [ ~]$ oc get ssps ssp-kubevirt-hyperconverged -n openshift-cnv
      NAME PHASE
      ssp-kubevirt-hyperconverged Deploying
      [ ~]$ oc get ssps ssp-kubevirt-hyperconverged -n openshift-cnv -o json | jq '.status'
      {
      "conditions": [

      { "lastHeartbeatTime": "2022-05-18T05:24:40Z", "lastTransitionTime": "2022-05-18T05:03:32Z", "message": "Error: the server could not find the requested resource (post datasources.cdi.kubevirt.io)", "reason": "Available", "status": "False", "type": "Available" }

      ,

      { "lastHeartbeatTime": "2022-05-18T05:24:40Z", "lastTransitionTime": "2022-05-18T05:03:32Z", "message": "Error: the server could not find the requested resource (post datasources.cdi.kubevirt.io)", "reason": "Progressing", "status": "True", "type": "Progressing" }

      ,

      { "lastHeartbeatTime": "2022-05-18T05:24:40Z", "lastTransitionTime": "2022-05-18T05:03:32Z", "message": "Error: the server could not find the requested resource (post datasources.cdi.kubevirt.io)", "reason": "Degraded", "status": "True", "type": "Degraded" }

      ],
      "observedGeneration": 1,
      "operatorVersion": "4.11.0",
      "phase": "Deploying",
      "targetVersion": "4.11.0"
      }

            agilboa@redhat.com Arnon Gilboa
            sasundar@redhat.com Satheesaran Sundaramoorthi
            Dalia Frank Dalia Frank
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: