I had same issue, but exporting the certificate only didn't resolve it. There is a new version of pyvmomi library. So I resolved the problem by downgrading the library version:
sudo pip3 install pyvmomi==6.0.0.2016.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593469 Title: [2.0] VMware power type error: __init__() takes 1 positional argument but 2 were given To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1593469/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs