SadiJr opened a new pull request #5680: URL: https://github.com/apache/cloudstack/pull/5680
### 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 format` Upon adding more logs to the restore process, it was discovered that this was because the VM being restored had no value in the `hostid` attribute. This PR fixes this behavior, increments the logs in the restore process for VMs using backups and adds new unit tests. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [x] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ### Feature/Enhancement Scale or Bug Severity #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [x] Minor - [ ] Trivial ### How Has This Been Tested? It was tested in a local laboratory: 1. I have assigned one VM to a Backup Offering; 2. I backed up the VM manually; 3. I tried to perform a full VM restore using this backup; 4. Before, there was an exception in ACS, now the restore finishes without problems. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
