Invalid hard disk parameters specified. The following parameters are invalid or conflict with other configured devices in the virtual machine: [vcId=#########-####-####-#########2faa, moref=vm-####07] Adapter Type: NVME, Bus Number: 0, Unit Number: 0
/opt/vmware/vcloud-director/vcloud-container.debug.log the below error can be seen:2024-10-01 13:11:51,707 | ERROR | task-service-activity-pool-45 | FutureUtil | Error detaching disk datadisk-##(com.vmware.vcloud.entity.disk:#########-####-####-#########) from VM VM_NAME(com.vmware.vcloud.entity.vm:#########-####-####-#########a1e8) | requestId=#########-####-####-#########0fdd,request=POST https://cloud.example.com/api/vApp/vm-#########-####-####-#########a1e8/disk/action/detach,requestTime=1727788310506,remoteAddress=##.##.##.##:38500,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+json;version 39.0.0-alpha vcd=#########-####-####-#########c300,task=#########-####-####-#########e67a activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:#########-####-####-#########e67a)com.vmware.vcloud.api.presentation.service.BadRequestException: Invalid hard disk parameters specified. The following parameters are invalid or conflict with other configured devices in the virtual machine: [vcId=#########-####-####-#########2faa, moref=vm-####07] Adapter Type: NVME, Bus Number: 0, Unit Number: # at com.vmware.vcloud.fabric.storage.disk.impl.DiskUtils.getDiskInVm(DiskUtils.java:535) at com.vmware.vcloud.fabric.storage.disk.impl.DetachDiskActivity$DetachDiskFromVmPhase.invoke(DetachDiskActivity.java:161)VMware Cloud Director 10.6.x
This issue occurs when there is a mismatch between the vmdk file name from vCenter mob view and VCD Database.