apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.11k stars 1.11k forks source link

Veeam B&R : Restore and attach backup volume is not possible #9897

Open rajujith opened 2 weeks ago

rajujith commented 2 weeks ago
ISSUE TYPE
COMPONENT NAME
Veeam B&R 
CLOUDSTACK VERSION
4.20 - SNAPSHOT
CONFIGURATION

Veeam B&R provider configured Veeam backup and replication 12.2

SUMMARY
  1. An instance backup of an instance having two volumes do not list the volumes in the backup.
  2. While attempting to restore and attach backup volume on a backup it doesn't list any volumes.
STEPS TO REPRODUCE
1. Backup an instance with ROOT and DATA volumes.
2. Go to backup and list the volumes in the UI. It is empty. 
3. Try the operation Restore and attach backup volume, there is no volume listed to attach.
EXPECTED RESULTS
Backups should include a list of volumes backed up and they should be available to attach to another instance. 
ACTUAL RESULTS
Volumes are not listed in the Backups, hence they are not available to restore and attach to instances. 
weizhouapache commented 2 weeks ago

@rajujith can you do it via cmk ? just to see if it is a UI issue

rajujith commented 2 weeks ago

@rajujith can you do it via cmk ? just to see if it is a UI issue

@weizhouapache It is not a UI issue.

cmk  list backups id=7266e7be-7188-4a1d-b29b-5c81b0d7bbda | grep volumes
      "volumes": "[]",
weizhouapache commented 2 weeks ago

@rajujith can you do it via cmk ? just to see if it is a UI issue

@weizhouapache It is not a UI issue.

cmk  list backups id=7266e7be-7188-4a1d-b29b-5c81b0d7bbda | grep volumes
      "volumes": "[]",

@rajujith I had a quick check on your env, the backed_volumes field is empty in backups table for veeam backups.

the method setBackedUpVolumes is introduced in #9451 it is being used by DummyBackupProvider, NASBackupProvider, NetworkerBackupProvider, but not VeeamBackupProvider

I will create a pr for it, but requires you to test it