Hi
Since I upgraded to Bareos 22 on Ubuntu 22.04.1, I was unable to backup 
VMs. The backup failed with the following error:
Fatal error: bareosfd: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/bareos-fd-vmware.py", line 57, in
import BareosFdPluginVMware
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 51, in
from pyVim.connect import SmartConnect, SmartConnectNoSSL, Disconnect
ImportError: cannot import name '*SmartConnectNoSSL*' from 'pyVim.connect' 
(/usr/local/lib/python3.10/dist-packages/pyVim/connect.py)

It appears as of pyvmomi 8.0.0.1, the SmartConnectNoSSL has been removed 
(see https://github.com/vmware/pyvmomi/blob/v8.0.0.1/pyVim/connect.py)
I uninstalled v8.0.0.1.1 that was installed on my system (using 'pip3 
uninstall pyVmomi' - which found pyvmomi 8.0.0.1.1) and intalled pyvmomi 
7.0.3 (using 'pip3 install pyVmomi==7.0.3')

Looks like we need to use V7 of python script against VDDK 8 for the time 
being..

Best regards
Thierry

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/6ad450c0-32a6-4724-8100-2afb96118badn%40googlegroups.com.

Reply via email to