Open rmdcoding opened 6 years ago
The host not being in maintenance mode and being connected should be the only things that throw InvalidHostState (source and destination). If you have access to the vpxd.log file, it might give further insight into why the exception was thrown.
@prziborowski I will check that file and will respond with my findings. Thanks!
@prziborowski Nothing seems out of place in the vpxd.log file.
I find it a little odd that cloning from the GUI produces no errors. It's only when I make an API calls (cloning or migration) that I get the mentioned errors above. I can still query VCenter and get information with no issues.
EDIT: Cloning works using PowerCLI with no issues. I also tried uninstalling and reinstalling Pyvmomi but I am still gettting the same issue. Also tried different versions of Pymomi (6.0, 6.5, 6.7). Even disabled and renabled the vAPI service on my VCenter.
@hartsock Any input/advice?
Running: VMware ESXi 6.0
When I try to clone a VM, I get the following:
I have checked the host system to ensure that it is not in standby mode or in maintenance mode. Everything looks good on the web client.
Any ideas of what could be causing this?