Hey,
I have a steady TLS error while configuring the vmware plugin.
I set up the the vmware creds withn the base directory /etc/bareos/vmware-plugin.ini as following:
[root@storage-test01 bareos]# cat vmware-plugin.ini
[vmware_plugin_options]
vcserver=vc60.DOMAIN.local
vcuser=ans-v...@DOMAIN.local
vcpass=PASSWORD
The FileSet definition looks as following:
[root@storage-test01 bareos]# cat bareos-dir.d/fileset/vmware-test-fileset.conf
FileSet {
Name = "vmware-test-fileset"
Include {
Options {
Signature = XXH128
Compression = LZ4
}
Plugin = "python"
":module_name=bareos-fd-vmware"
":dc=DC:folder=/'Test VMs'"
":vmname=auth-test61"
":vcserver=vc60.DOMAIN.local"
":config_file=/etc/bareos/vmware-plugin.ini"
":vcthumbprint=THUMBPRINT"
}
}
and the job definition looks like this:
[root@storage-test01 bareos]# cat bareos-dir.d/job/vmware-test.conf
Job {
Name = "vmware-test"
JobDefs = "DefaultJob"
FileSet = "vmware-test-fileset"
}
I get the multiple tls errors and a failed job after running following commands in bconsole:
*run job=vmware-test level=Full
Using Catalog "MyCatalog"
Run Backup job
JobName: vmware-test
Level: Full
Client: bareos-fd
Format: Native
FileSet: vmware-test-fileset
Pool: Full (From Job FullPool override)
Storage: File (From Job resource)
When: 2024-05-17 10:00:48
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=22
You have messages.
*list joblog jobid=22
Using Catalog "MyCatalog"
2024-05-17 10:00:54 storage-test01.DOMAIN.local JobId 22: Start Backup JobId 22, Job=vmware-test.2024-05-17_10.00.52_09
2024-05-17 10:00:54 storage-test01.DOMAIN.local JobId 22: Connected Storage daemon at storage-test01.DOMAIN.local:9103, encryption: TLS_CHACHA20_POLY1305_SHA256
TLSv1.3
2024-05-17 10:00:54 storage-test01.DOMAIN.local JobId 22: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2024-05-17 10:00:54 storage-test01.DOMAIN.local JobId 22: Probing client protocol... (result will be saved until config reload)
2024-05-17 10:00:54 storage-test01.DOMAIN.local JobId 22: Fatal error: Connect failure: ERR=error:0A000417:SSL routines::sslv3 alert illegal parameter
2024-05-17 10:00:54 storage-test01.DOMAIN.local JobId 22: TLS negotiation failed (while probing client protocol)
the credentials for vmware are correct and with the vmware_cbt_tool.py I activated cbt on the client:
[root@storage-test01 bareos]# vmware_cbt_tool.py -s vc60.DOMAIN.local -u ans-v...@DOMAIN.local -p PASSWORD -d DC -f /'Test VMs' -v auth-test61 --enablecbt
INFO: VM auth-test61 CBT supported: True
INFO: VM auth-test61 CBT enabled: True
INFO: VM auth-test61 trying to enable CBT now
INFO: VM auth-test61 is already CBT enabled
best regards
Max