I try to add the Pnic to the DVS via vSphere SDK , but i occur an error. Anybody can help me?
An error occurred during host configuration.
2015-04-03 15:50:51,291 INFO c.v.v.LogUtil [printDetailedObject:142] [main] - Arg(1) Key = msg
2015-04-03 15:50:51,291 INFO c.v.v.LogUtil [printDetailedObject:142] [main] - Arg(2) Value = 10.0.70.49
2015-04-03 15:50:51,291 INFO c.v.v.LogUtil [printDetailedObject:142] [main] - Arg(2) Key = host
2015-04-03 15:50:51,291 WARN c.v.v.v.Task [getTaskInfo:163] [main] - ---- End of Error details -------------------------------------
Exception in thread "main" com.vmware.vc.MethodFaultFaultMsg: Cannot complete a vSphere Distributed Switch operation for one or more host members.
at com.vmware.vcqa.vim.DistributedVirtualSwitch.reconfigure(DistributedVirtualSwitch.java:258)
at com.vmware.vcqa.vim.dvs.DVSUtil.addPnicsToUplinkPortKey(DVSUtil.java:3652)
at VCDEnvSetup.Test.main(Test.java:88)