Difference between revisions of "Cloning VM or removing host from cluster fails with error resource is in use"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Cloning VM or removing host from cluster fails with error resource is in use">VMWare vCenter|VMWare vCenter</yambe:breadcrumb> =Cloning VM or removing...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb self="Cloning VM or removing host from cluster fails with error resource is in use">VMWare vCenter|VMWare vCenter</yambe:breadcrumb>
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vCenter]] > [[Cloning VM or removing host from cluster fails with error resource is in use]]
=Cloning VM or removing host from cluster fails with error resource is in use=


The cloning of a VM or removing a host (Even if in maintenance mode) from cluster might fail with error "Resource <number> is in use".  This happens quite often due to issue with Distributed Switch and its usage.   
The cloning of a VM or removing a host (Even if in maintenance mode) from cluster might fail with error "Resource <number> is in use".  This happens quite often due to issue with Distributed Switch and its usage.   
Line 13: Line 12:
* https://www.provirtualzone.com/vcenter-error-the-resource-400-is-in-use/#:~:text=The%20cause%20is%20that%20the,clone%20and%20finish%20the%20clone.
* https://www.provirtualzone.com/vcenter-error-the-resource-400-is-in-use/#:~:text=The%20cause%20is%20that%20the,clone%20and%20finish%20the%20clone.
* https://kb.vmware.com/s/article/2015435
* https://kb.vmware.com/s/article/2015435
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vCenter]] > [[Cloning VM or removing host from cluster fails with error resource is in use]]

Latest revision as of 08:54, 7 April 2022

Home > VMWare platform > VMWare vCenter > Cloning VM or removing host from cluster fails with error resource is in use

The cloning of a VM or removing a host (Even if in maintenance mode) from cluster might fail with error "Resource <number> is in use". This happens quite often due to issue with Distributed Switch and its usage.

VM cloning

In case of clone failure remove any NIC from the VM being cloned and the clone operation should succeed. After cloning you can edit the hardware of cloned (Target) VM and again add another new NIC.

Removing host from cluster

In case of host it is required to remove host from distributed switch before it can be removed from cluster. For that first create a standard switch and add one more uplinks to standard switch. For this if required remove one or more uplinks for existing distributed switch for this host. Then migrate the VMkernel adapter from DVS to standard switch. Once there is no dependency of host on DVS, we should be able to remove it from cluster without facing 'resource <n> is in use' type of error.

Refer:



Home > VMWare platform > VMWare vCenter > Cloning VM or removing host from cluster fails with error resource is in use