Changing the Bus Type of a VM via the HTML5 UI fails in vCloud Director
book
Article ID: 320547
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Symptoms:
The drop-down will show the bus types in the HTML5 UI.
The change bus type option is not available in Flex UI.
Organization > Virtual Machines > Virtual Machine in question > Details > Hardware > Hard disks > Bus Type > Change the type > Save will return the error.
'HTTP 400 Bad Request - cvc-complex-type.2.4.a: Invalid content was found starting with element 'root:AdapterType'. One of '{"http://www.vmware.com/vcloud/v1.5":UnitNumber}' is expected.' error is returned in vCloud Director 9.5 and 9.7
'EditHardDisk doesn't support Adapter Type change (from <adaptertype1> to <adaptertype2>).' error is returned in vCloud Director 10.x
Environment
VMware Cloud Director for Service Provider 10.x VMware Cloud Director for Service Provider 9.5.x VMware Cloud Director for Service Provider 9.7.x
Cause
The Change Bustype feature was disabled by default in Flex UI,but not in HTML 5 UI.
Resolution
The feature to change the bus type was disabled in the Flex UI, but was not disabled in the HTML5 UI. The feature will be permanently disabled in the backend for future releases of vCloud Director.
Workaround: The workaround is to change the bus type of the VM from the vCenter. Change the controller type by taking the following steps:
Right-click a virtual machine in the inventory and select Edit Settings.
On the Virtual Hardware tab, expand SCSI controller.
Click Change Type to change the controller type.
Select a SCSI controller type from the Change Type drop-down menu.