Bug 1812775
| Summary: | Cannot cancel vm migration when launch pod is pending | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Guohua Ouyang <gouyang> |
| Component: | Virtualization | Assignee: | sgott |
| Status: | CLOSED DUPLICATE | QA Contact: | Israel Pinto <ipinto> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.3.0 | CC: | aos-bugs, cnv-qe-bugs, gouyang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-16 17:21:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Guohua Ouyang
2020-03-12 06:31:57 UTC
Guohua: how does it behave when you try to delete the vmim from the command line? Delete vmim never returns, but delete the pending pod can cancel the migration and the original VM is back to running. $ oc get pod NAME READY STATUS RESTARTS AGE virt-launcher-f31-kn6sr 0/2 Pending 0 9m25s virt-launcher-f31-qb66w 2/2 Running 0 16m [cloud-user@ocp-psi-executor gouyangocp44]$ oc get vmim NAME AGE f31-migration-6psmq 9m44s [cloud-user@ocp-psi-executor gouyangocp44]$ oc delete vmim f31-migration-6psmq virtualmachineinstancemigration.kubevirt.io "f31-migration-6psmq" deleted ^C [cloud-user@ocp-psi-executor gouyangocp44]$ oc delete pod virt-launcher-f31-kn6sr pod "virt-launcher-f31-kn6sr" deleted [cloud-user@ocp-psi-executor gouyangocp44]$ I believe the correct way to use the API is to only delete the vmim which should do all the cleanup. Moving to virt for further investigation. Guohau, is this bug distinct from https://bugzilla.redhat.com/show_bug.cgi?id=1719190 ? Upon further inspection, I'm confident this bz is a duplicate. If you feel this is in error, please re-open. *** This bug has been marked as a duplicate of bug 1719190 *** yes, it's a duplicate of bug 1719190. |