Bug 2035924 - virtualmachineinstancemigration cannot be deleted
Summary: virtualmachineinstancemigration cannot be deleted
Keywords:
Status: CLOSED DUPLICATE of bug 1719190
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.9.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: sgott
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-28 15:52 UTC by awax
Modified: 2023-09-15 01:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-28 22:22:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vmb.yaml (1.95 KB, text/plain)
2021-12-28 15:52 UTC, awax
no flags Details

Description awax 2021-12-28 15:52:10 UTC
Created attachment 1848079 [details]
vmb.yaml

Description of problem:
Unable to delete a VirtualMachineInstanceMigration (VMIM) created for a VM that cannot migrate.



Version-Release number of selected component (if applicable):
CNV - v.4.10.0
OCP - v.4.9.11
Kubernetes Version: v1.22.3+ffbb954



Steps to Reproduce:
1. Create a VM (This VM has a node selector, change it to apply to your cluster):
oc create -f vmb.yaml
2. Create a VMIM object:
oc create -f migration_virtualmachineinstancemigration.yaml
(The migration cannot take place - the VM has a node selector.)
3. Attempt to delete the VMIM object - the attempt will not succeed (must cntl+c to quit the attempt).


Actual results:
VMIM will not get deleted.


Expected results:
VMIM will be deleted.

Comment 2 Kedar Bidarkar 2022-01-05 13:17:42 UTC
Anat, Could you please provide the VMI details from the cluster, by using the command "oc get vmi <vmi-name> -o yaml"

Comment 3 sgott 2022-01-28 22:22:52 UTC
After looking closely at the description I realized this is essentially the same thing as https://bugzilla.redhat.com/show_bug.cgi?id=1719190 -- it's just that the means of triggering the pending condition is different. Thus I'm closing this BZ as a dup (The other bz has more context in the comments).

If you feel this action was in error, please feel free to re-open this BZ.

*** This bug has been marked as a duplicate of bug 1719190 ***

Comment 4 Red Hat Bugzilla 2023-09-15 01:18:26 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.