I have pool that using Persistent Disk
When detach persistent disk from vm and recreate machine in the same pool machine is created with new name (old is deleted from view console and vcenter) but in events i have 16 000 error events with message:
"Provisioning error occurred for Machine VMKP005: Unable to remove Machine from inventory"
I tried this KB VMware KB: Manually deleting linked clones or stale virtual desktop entries from the View Composer database in VMwar…
and machine with that name is not existing in ADAM or composer DB.
In connection server log
2015-07-21T17:03:37.496+02:00 INFO (103C-0A7C) <propagate-af856f12-0a3d-417d-83cb-ea185ede0cd6> [PendingOperation] Pool control for desktop kp_2015_07 is deleting VM VMKP005
2015-07-21T17:03:27.464+02:00 WARN (103C-1A30) <PendingOperation-vm-25907-DeletingLC> [PendingOperation] Failed to remove VM: /View/vm/Kanal_Partnerski_2013.02/KP_2015_07/VMKP005 from the View Composer inventory - Unable to retrieve VM information.
2015-07-21T17:03:27.468+02:00 ERROR (103C-1A30) <PendingOperation-vm-25907-DeletingLC> [PendingOperation] Failed to mark VM /View/vm/Kanal_Partnerski_2013.02/KP_2015_07/VMKP005 as ERROR after failing to remove from SVI[LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
Any idea?
When detach is from one poll then edit persistent disk to switch to another pool and then recreate machine in new pool there is no error and working fine.