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

[2079916] KubeVirt CR seems to be in DeploymentInProgress state and not recovering

XMLWordPrintable

    • CNV Virtualization Sprint 222
    • Medium

      Description of problem:
      KubeVirt CR seems to be in DeploymentInProgress state and not recovering

      oc get hco -n openshift-cnv kubevirt-hyperconverged -o=jsonpath='

      {range .status.conditions[*]} {.type} {"\t"}{.status}{"t"} {.message} {"\n"} {end}

      '
      ReconcileComplete True Reconcile completed successfully
      Available False KubeVirt is not available: Deploying version sha256:48b123381f4aec379a24cd6bb2d641721919a7c4d95a6d42c7934a41177a0f37 with registry registry.redhat.io/container-native-virtualization
      Progressing True KubeVirt is progressing: Deploying version sha256:48b123381f4aec379a24cd6bb2d641721919a7c4d95a6d42c7934a41177a0f37 with registry registry.redhat.io/container-native-virtualization
      Degraded False Reconcile completed successfully
      Upgradeable False KubeVirt is progressing: Deploying version sha256:48b123381f4aec379a24cd6bb2d641721919a7c4d95a6d42c7934a41177a0f37 with registry registry.redhat.io/container-native-virtualization

      [kbidarka@localhost auth]$ oc get kubevirt kubevirt-kubevirt-hyperconverged -n openshift-cnv -o yaml
      apiVersion: kubevirt.io/v1
      kind: KubeVirt
      metadata:
      annotations:
      kubevirt.io/latest-observed-api-version: v1
      kubevirt.io/storage-observed-api-version: v1alpha3
      creationTimestamp: "2022-04-27T14:49:03Z"
      ...
      name: kubevirt-kubevirt-hyperconverged
      namespace: openshift-cnv
      ownerReferences:

      • apiVersion: hco.kubevirt.io/v1beta1
        blockOwnerDeletion: true
        controller: true
        kind: HyperConverged
        name: kubevirt-hyperconverged
        uid: f19055d3-f566-4214-b596-9ae2be777f79
        resourceVersion: "1538042"
        uid: ab64cffc-c144-46a9-b083-1dae1e2eeddc
        spec:
        certificateRotateStrategy:
        selfSigned:
        ca:
        duration: 48h0m0s
        renewBefore: 24h0m0s
        server:
        duration: 24h0m0s
        renewBefore: 12h0m0s
        configuration:
        developerConfiguration:
        diskVerification:
        memoryLimit: 2G
        featureGates:
      • DataVolumes
      • SRIOV
      • CPUManager
      • CPUNodeDiscovery
      • Snapshot
      • HotplugVolumes
      • ExpandDisks
      • GPU
      • HostDevices
      • DownwardMetrics
      • NUMA
      • WithHostModelCPU
      • HypervStrictCheck
      • SRIOVLiveMigration
      • LiveMigration
        machineType: pc-q35-rhel8.4.0
        migrations:
        completionTimeoutPerGiB: 800
        network: migration-nad
        parallelMigrationsPerCluster: 5
        parallelOutboundMigrationsPerNode: 2
        progressTimeout: 150
        network:
        defaultNetworkInterface: masquerade
        obsoleteCPUModels:
        "486": true
        Conroe: true
        athlon: true
        core2duo: true
        coreduo: true
        kvm32: true
        kvm64: true
        n270: true
        pentium: true
        pentium2: true
        pentium3: true
        pentiumpro: true
        phenom: true
        qemu32: true
        qemu64: true
        selinuxLauncherType: virt_launcher.process
        smbios:
        family: Red Hat
        manufacturer: Red Hat
        product: Container-native virtualization
        sku: 4.10.1
        version: 4.10.1
        customizeComponents: {}
        productComponent: compute
        productName: hyperconverged-cluster
        productVersion: 4.10.1
        uninstallStrategy: BlockUninstallIfWorkloadsExist
        workloadUpdateStrategy:
        batchEvictionInterval: 1m0s
        batchEvictionSize: 10
        workloadUpdateMethods:
      • LiveMigrate
        status:
        conditions:
      • lastProbeTime: "2022-04-28T11:36:08Z"
        lastTransitionTime: "2022-04-28T11:36:08Z"
        message: Deploying version sha256:48b123381f4aec379a24cd6bb2d641721919a7c4d95a6d42c7934a41177a0f37
        with registry registry.redhat.io/container-native-virtualization
        reason: DeploymentInProgress
        status: "False"
        type: Available
      • lastProbeTime: "2022-04-28T11:36:08Z"
        lastTransitionTime: "2022-04-28T11:36:08Z"
        message: Deploying version sha256:48b123381f4aec379a24cd6bb2d641721919a7c4d95a6d42c7934a41177a0f37
        with registry registry.redhat.io/container-native-virtualization
        reason: DeploymentInProgress
        status: "True"
        type: Progressing
      • lastProbeTime: "2022-04-28T11:36:08Z"
        lastTransitionTime: "2022-04-28T11:36:08Z"
        message: Deploying version sha256:48b123381f4aec379a24cd6bb2d641721919a7c4d95a6d42c7934a41177a0f37
        with registry registry.redhat.io/container-native-virtualization
        reason: DeploymentInProgress
        status: "False"
        type: Degraded
      • lastProbeTime: "2022-04-28T08:23:53Z"
        lastTransitionTime: null
        message: All resources were created.
        reason: AllResourcesCreated
        status: "True"
        type: Created

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

      How reproducible:
      Always

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:
      DeploymentInProgress for KubeVirt CR is True.

      KubeVirt is not Ready.

      Expected results:

      KubeVirt is in Ready state.

      Additional info:

            iholder@redhat.com Itamar Holder
            kbidarka@redhat.com Kedar Bidarkar
            Denys Shchedrivyi Denys Shchedrivyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: