-
Bug
-
Resolution: Done
-
Major
-
CNV v4.17.7
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
-
Important
-
Customer Reported
-
None
Description of problem:
VMs running in the environment are temporarily showing Not Migratable status. The status disappears when we perform below steps. OCP Admin Portal -> Virtualization Tab -> Note VM running with Not Migratable status -> Select the VM name -> Toggle to metrics and then click back again to overview. -> Notice Not Migratable tag is gone -> Select Actions -> Select Migrate. -> Confirmed VM Live migrates works.
// VMs satisfy the pre-req's for Live Migrate. omc get vms NAME AGE STATUS READY rhel9 4d Running True win2k19 4d Running True omc get vmi NAME AGE PHASE IP NODENAME READY LIVE-MIGRATABLE PAUSED rhel9 57m Running 10.2.245.26 dc2-ocp02.dc2ocpcls.internal.lgsuper.org True True win2k19 52m Running dc2-ocp03.dc2ocpcls.internal.lgsuper.org True True # omc get vm rhel9 -o yaml | yq .status "lastProbeTime": null, "lastTransitionTime": null, "status": "True", "type": "LiveMigratable" }, omc get vm win2k19 -o yaml | yq .status { "lastProbeTime": null, "lastTransitionTime": null, "status": "True", "type": "LiveMigratable" }, omc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE rhel9 Bound pvc-86a025c7-75c4-42fb-95fd-6451b572ac84 30Gi RWX sc-hitachi <unset> 4d rhel9-installation-cdrom Bound pvc-c1087368-ea00-497b-86c3-e0e5ac16f4b9 15Gi RWX sc-hitachi <unset> 4d win2k19 Bound pvc-3f8917a4-a0d1-4a0e-92be-ee2d57c5e1f4 60Gi RWX sc-hitachi <unset> 4d win2k19-installation-cdrom Bound pvc-4427983c-b5dd-4f0f-ad3c-6b949dbe0474 30Gi RWX sc-hitachi <unset> 4d
Version-Release number of selected component (if applicable):
omc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.17.22 True False 2h6m csv -n openshift-cnv NAME DISPLAY VERSION REPLACES PHASE kubevirt-hyperconverged-operator.v4.17.7 OpenShift Virtualization 4.17.7 kubevirt-hyperconverged-operator.v4.17.5 Succeeded
How reproducible:
100%
Steps to Reproduce:
1. Create a virtual machine with RWX storage that meets the prerequisites for live migration. 2. Notice VM running status with Not Migrateable from all projects view. 3. Select VM Toggle to metrics and then click back again to overview.
Actual results:
VMs shows in-correct status as Not Migrate able.
Expected results:
VMs should show correct status migrate able.
Additional info:
In my lab, everytime when I open VMs running on all namespaces shows non-migrate able status for all VMs and stays around 30 seconds and disappear.
- links to