I have found the problem with the connection of the vcenter.
The vcenter have an unverified ssl certificate.
If you connect with pyvmomi to the vcenter, then you will get an warning of
this unverified certificate.
I have fix the problem with adding some code in the function connect_vmware,
from the BareosFdPluginVMware.py
Try :
import ssl
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) # add this
context.verify_mode = ssl.CERT_NONE # add this
self.si = SmartConnect(host=self.options['vcserver'],
user=self.options['vcuser'],
pwd=self.options['vcpass'],
port=443, sslContext=context) # add the
sslContext
This will ignore the unverified certified.
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.