-
Bug
-
Resolution: Done-Errata
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
CLOSED
-
-
-
CNV I/U Operators Sprint 239
-
Moderate
-
No
Description of problem:
If the VM was live migrated, there will be virt-launcher pods with the status "completed".
~~~
- oc get pod
NAME READY STATUS RESTARTS AGE
virt-launcher-rhel8-i181f1yxkfqqrv83-75lxb 1/1 Running 0 55s
virt-launcher-rhel8-i181f1yxkfqqrv83-bn728 0/1 Completed 0 86s
virt-launcher-rhel8-i181f1yxkfqqrv83-lmlqv 0/1 Completed 0 29h
virt-launcher-rhel8-i181f1yxkfqqrv83-lzcwx 0/1 Completed 0 22h
virt-launcher-rhel8-i181f1yxkfqqrv83-v5lvb 0/1 Completed 0 73s
~~~
must-gather is trying to do `oc exec` on all these completed pods which will fail. This will result in multiple empty files in must gather.
~~~
nijin-cnv]# ls -l vms/rhel8-i181f1yxkfqqrv83/
total 44
drwxr-xr-x. 2 root root 6 Jun 21 17:39 log
rw------. 1 root root 5206 Jun 21 17:34 nijin-cnv_rhel8-i181f1yxkfqqrv83.log
rw-rr-. 1 root root 1133 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-75lxb.bridge.txt
rw-rr-. 1 root root 8330 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-75lxb.dumpxml.xml
rw-rr-. 1 root root 1287 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-75lxb.ip.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-75lxb.ruletables.txt
rw-rr-. 1 root root 263 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-bn728.bridge.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-bn728.dumpxml.xml
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-bn728.ip.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-bn728.ruletables.txt
rw-rr-. 1 root root 263 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lmlqv.bridge.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lmlqv.dumpxml.xml
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lmlqv.ip.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lmlqv.ruletables.txt
rw-rr-. 1 root root 263 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lzcwx.bridge.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lzcwx.dumpxml.xml
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lzcwx.ip.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-lzcwx.ruletables.txt
rw-rr-. 1 root root 263 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-v5lvb.bridge.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-v5lvb.dumpxml.xml
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-v5lvb.ip.txt
rw-rr-. 1 root root 0 Jun 21 17:39 virt-launcher-rhel8-i181f1yxkfqqrv83-v5lvb.ruletables.txt
~~~
Version-Release number of selected component (if applicable):
OpenShift Virtualization 4.13.1
How reproducible:
100%
Steps to Reproduce:
1. Migrate VMs multiple times so that we will have virt-launcher pods with "completed" status.
2. Collect a must-gather and list the files under namespace/<namespace-name>/vms/<vm-name>
There will be multiple empty files under it.
Actual results:
must-gather: Multiple empty files under vms/<vm-name> if the VM was live migrated.
Expected results:
it should only do `oc exec` on running virt-launcher pods.
Additional info:
- external trackers