Hi,
I'm trying to add a host to a distributed virtual switch through the API (ReconfigureDvs_Task).
I'm setting the following:
VMWareDVSConfigSpec - configVersion, host
DistributedVirtualSwitchHostMemberConfigSpec - operation, host, backing
DistributedVirtualSwitchHostMemberPnicBacking - pnicSpec
DistributedVirtualSwitchHostMemberPnicSpec - pnicDevice
Reconfigre_DvsTask fails with the following error in vcenter:
An error occurred during host configuration. got (vim.fault.PlatformConfigFault) exception
Also the VCenter logs have the following information about this error:
[04244 error 'utilshostMethod'] [HostMethodDispatcher::ProcessTaskResult] Host call [createDistributedVirtualSwitch]for host [host-***] failed with exception [vim.fault.PlatformConfigFault]
[03856 error 'operationhostOp' opID=a0963b99] [MoDVSwitch::SendHostMemberChangeToHostsInParallel] failed in calling host dvs manager (op=add): got [vim.fault.PlatformConfigFault exception:
--> (vim.fault.PlatformConfigFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = (vmodl.LocalizableMessage) [
--> (vmodl.LocalizableMessage) {
--> dynamicType = <unset>,
--> key = "com.vmware.esx.hostctl.default",
--> arg = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> dynamicType = <unset>,
--> key = "reason",
--> value = "Sysinfo error on operation returned status : Busy. Please see the VMkernel log for detailed error information",
--> }
--> ],
--> message = "Operation failed, diagnostics report: Sysinfo error on operation returned status : Busy. Please see the VMkernel log for detailed error information",
--> }
--> ],
--> text = "",
--> msg = "An error occurred during host configuration."
--> }]
Any help will be greatly appreciated.
Thanks!