Comment 2 for bug 1593469

Revision history for this message
Mike Pontillo (mpontillo) wrote :

Thanks for bringing this bug to our attention.

Unfortunately, I don't see the exception reported in the error message anywhere in the log, so it's difficult to know what the exact issue is here.

Can you check to ensure that the python3-pyvmomi package is installed on the rack controller, and let me know what its version is?

Also, which VMware product are you connecting to and what version is it?

I have heard reports that the new version of the pyvmomi API is strict regarding validation of SSL certificates. You may need to download the certificate from the VMware server and ensure the rack controller considers it to be trusted. (I think placing it in /etc/ssl/certs and running "update-ca-certificates" would do it.)

It may help us get a better error message if you try the power query from a Python shell on the rack controller, such as:

python3
from provisioningserver.drivers.hardware import vmware as vmware
vmware.power_query_vmware("vmware-host", "username", "password", "vm_name", "uuid", port=None, protocol=None)

You could try port=443 and protocol="https" as well. Replace the other quoted strings the your power information for the node.