I’m dabbling with MAAS 2.5 and trying to see what features it has to integrate VMWare ESX and VSphere. The info is quite sparse when it comes to the official documentation so I’m hoping that this community can help me out.

I wish to be able to add a ESXi as a chassis. Is that possible? When I add the ESXi host under Machines/Chassis, i get the following error in maas.log:

maas.rpc.cluster: [error] Failed to probe and enlist VMware nodes: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)

I have added the certificate as described in this page.

The maas-cli seems to have changed for the instructions in the above post.

Help is much appreciated.

Make sure the certificate is saved on each Rack controller. You could also try getting the certificate and saving it in /etc/ssl/certs instead with

openssl s_client -showcerts -connect vsphere:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >/etc/ssl/certs/mycertfile.pem

If that doesn’t work MAAS allows you to connect to VMware without validating the SSL certificate. To do this change the VMware API Protocol field to start with https+unverified:// instead of https://.

Thanks for the help. The openssl solution didn’t work but adding the full url in the host field with the unverified option added worked. Unfortunately there was another error in the maas.log that I can’t find any info about.

maas.rpc.cluster: [error] Failed to probe and enlist VMware nodes: [Errno -3] Temporary failure in name resolution

Does MAAS make a dns resolution of all the nodes that it tries to inventory?

no, but in this case, is your ESXi endpoint a DNS name?