Fixed null pointer after deleting snapshot, GC and cross cluster vm migration on XCP-NG#4130
Conversation
|
@Spaceman1984 could you run package and test yourself for your PRs in future? |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1299 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-1701)
|
shwstppr
left a comment
There was a problem hiding this comment.
LGTM, makes sense for preventing NPE
Description
Fixes #4090
When trying to migrate a VM across 2 clusters, if a snapshot has been deleted and garbage collection has run to update the removed field, it is not possible to migrate the instance due to a null pointer.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
This has been tested by migrating an instance to another Xenserver cluster using XCP-NG as the hypervisor in both clusters.
Process to follow: