[Veeam] Fix full backup VM restore exception#5680
Conversation
|
@blueorangutan package |
|
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1790 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-2607)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
code looks good and integration suite passes. I have no way of testing this (easily) so I'll trust actual users of the veeam plugin to shout if any reason.
|
btw @SadiJr do you want this on 4.17 or 4.16.1? as it is a bug fix you may want to rebase, so it gets in 4.16.1 first. |
|
Sorry for the delay in answer. For me, there's no problem in make this changes in 4.17. |
Co-authored-by: SadiJr <sadi@scclouds.com.br>
Description
Using the VMWare hypervisor, and with Veeam integration enabled, a full restore of a VM using a backup in Veeam occurs correctly, but in ACS an exception is thrown:
Restore VM Backup (607c2bbf-2c23-49a1-9549-cd402441dcb5) Error during vm backup restore and import: Invalid string formatUpon adding more logs to the restore process, it was discovered that this was because the VM being restored had no value in the
hostidattribute.This PR fixes this behavior, increments the logs in the restore process for VMs using backups and adds new unit tests.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
It was tested in a local laboratory: