BRIDGE_LIST with multiple hosts passes entire string to SSH in restic backup datastore (7.0.1)

Hi,

I’m running OpenNebula 7.0.1 with a restic backup datastore and Ceph system datastores. When configuring BRIDGE_LIST with multiple hosts, the entire space-separated string is passed to SSH
as a single hostname instead of selecting one host from the list.

Configuration:
NAME = “ResticBackups”
TYPE = “BACKUP_DS”
DS_MAD = “restic”
TM_MAD = “-”
RESTIC_PASSWORD = “…”
RESTIC_SFTP_SERVER = “”
BRIDGE_LIST = “hyper-001 hyper-002”

Error in /var/log/one/<vm_id>.log:
[Z0][VMM][I]: ssh ‘hyper-001 hyper-002’ ‘’

The whole BRIDGE_LIST value is being passed as the SSH target instead of selecting a single host from the list.

Workaround: Using a single host in BRIDGE_LIST works correctly.

Note: BRIDGE_LIST support for backup datastores was listed as a resolved issue in 7.0.1, so this may be a regression or incomplete implementation.

Environment:

  • OpenNebula: 7.0.1
  • Hypervisor: KVM
  • System datastore: Ceph
  • Backup datastore: Restic (SFTP)

Hello,

Thank you for the bug report. May you please execute from the frontend, as the user sudo -iu oneadmin onehost sync --force to be sure that OpenNebula updated the scripts on all the nodes?

Thank you again

Hi, I just ran the onehost sync –force command and tested it again with two servers in the BRIDGE_LIST, but I’m still getting the same error.

Hello,

There is a bug that splits the configuration value only with , splitting the bridge hosts