-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CA-390277: Fix cross-pool migration from CH8.2CU1 to XS8 when using xe #5717
Conversation
336a029
to
96882d1
Compare
c7ad632
to
260b9f8
Compare
Host records have changed between CH8.2CU1 and XS8, this means that the records produced from an new host cannot be serialized by this code. Instead of making the remote host filter records, now the client tries to fetch the correct reference, and if it can't, fetches all references and fetches fields to find it. Records from Networks, PBDs and SRs are still used. Signed-off-by: Pau Ruiz Safont <[email protected]>
6327abd
to
8894e1b
Compare
I've reworked the approach to be more minimalistic in change. Now records for Networks, PBDs and SRs are still used, but this allows for fewer roundtrips, and cross-pool migrations to XS8 hosts work. |
so this and #5773 are two different PRs, why is there two? |
On master, we're adding a new call. This calls needs to be available on the remote server. This means that if we add this call here for Yangtze, cross-pool migration will only be compatible with new enough hosts. We want the migration to be compatible with as many versions of xapi as possible |
Converting to draft to avoid premature merging, we need to run some automated tests on this |
Host records have changed between CH8.2CU1 and XS8, this means that the
records produced from an new host cannot be serialized by this code.
Instead of making the remote host filter records, now the client tries
to fetch the correct reference, and if it can't, fetches all references
and fetches fields to find it.
Records from Networks, PBDs and SRs are still used.
I've manually verified that the cross-pool migrations now work