Editing a virtual machine immediately after connecting a client USB device results in an error
book
Article ID: 330020
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
Editing a virtual machine immediately after adding a client-connected USB device produces the following error:
Cannot complete operation due to concurrent modification by another operation.
Adding a client-connected USB device causes the configuration of the virtual machine to change. However, the configuration change does not occur immediately after you add the client-connected USB device to the virtual machine. If you edit the virtual machine's properties to change the configuration, the error might appear.
2020-05-28T13:47:31.729Z| vmx| I125+ Disconnect anyway and override the lock? 2020-05-28T13:47:31.729Z| vmx| I125: ---------------------------------------- 2020-05-28T13:47:53.259Z| vcpu-0| I125: Tools: Tools heartbeat timeout. 2020-05-28T13:51:32.368Z| vmx| I125: Timing out dialog 67024721 2020-05-28T13:51:32.368Z| vmx| I125: MsgQuestion: msg.cdromdisconnect.locked reply=1 2020-05-28T13:51:32.368Z| vmx| I125: VigorTransport_ServerSendResponse opID=k77wvach-3169276-auto-1vxfi-h5:70183353-ca-01-b3-a9ef seq=1260902: Completed Disk 2020-05-28T13:51:33.278Z| vmx| I125: TOOLS Setting toolsVersionStatus = TOOLS_STATUS_UNMANAGED 2020-05-28T13:51:33.278Z| vmx| I125: Tools_SetVersionAndType did nothing; new tools version (10282) and type (4) match old Tools version and type 2020-05-28T13:51:34.229Z| vmx| I125: Guest: *** WARNING: GuestInfo collection interval longer than expected; actual=271 sec, expected=30 sec. ***
Resolution
After adding a client-connected USB device, change the configuration settings after one or more of the following occur:
The client-connected USB user interface shows that the device is connected.
The client-connected USB device is detected by the virtual machine's operating system.
The client-connected USB device is visible in the virtual machine's settings.
Select the Edit Settings for the VM select the CD/DVD - uncheck connected and connect at power on- select client device Virtual machine configured for Client device