Thanks for reporting this. It will be fixed with
https://github.com/bareos/bareos/pull/1352

Regards,

Stephan

On 1/9/23 23:54, TDL wrote:
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] 
<mailto:[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
 
<https://groups.google.com/d/msgid/bareos-users/6ad450c0-32a6-4724-8100-2afb96118badn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
  Stephan Dühr                              [email protected]
  Bareos GmbH & Co. KG                      Phone: +49 221-630693-90
  http://www.bareos.com

  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
  Komplementär: Bareos Verwaltungs-GmbH
  Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

--
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/eee0b89f-a024-1608-bec5-eca7dcc6354b%40bareos.com.

Reply via email to