Continuing the discussion from SmartState Analysis on Vmware Virtual Machines not working:
Context: I want to manage a VMware vSphere environment that does not allow to connect to ESXi, only vCenter. Thus, I modified scan_via_host to false, to perform SmartState Analysis through vCenter. However, connection to the host still seems to be required.
I have traced down the issue a bit further.
When I launch a SmartState Analysis, at some point in the process, CloudForms tries to connect to host on port 902, even with
scan_via_host set to
I have found this document https://www.vmware.com/support/developer/vix-api/guestOps50_technote.pdf, that explains that VIX guest operations are meant to be performed via a connection to host on port 902. Until VIX API 5, that folded VIX guest operations into the vSphere API, removing the need to connect to host:902.
It sounds great as it is exactly the behaviour I would expect from
scan_via_host: false. Unfortunately, it still tries to connect to host:902.
Thus, I wonder which version is used and if vSphere API supports mounting VM snapshot.