Open chii0815 opened 2 months ago
Moved my management to an vlan on the bond0 and now it's using the bond... but i belive the "default migration network" should be used for evacuation.
Hi,
Host.evacuate
isn't handled by Xen Orchestra but by XCP-ng API, the XAPI. I will check though how XO sets the migration and network and if XAPI is aware of it.
edit: OK got it. XO will set xo:migrationNetwork
in the Other config of the pool. But host.evacuate
is a XAPI function that's not aware of it. That explains the result you have. I don't know what would be the best approach for this.
We need to discuss the best approach:
We need to discuss the best approach:
1. Is there a way to set a migration network by default for a XAPI 2. If not, first option is to implement the migration network preference in XAPI 3. Alternative is to get host.evacuate handled by XO and not XAPI.
Didn't @benjamreis mentioned in #5802 that host.evacuate
had a new method network
? that's why it was implementet in #5851.
Indeed but it'll be available for XCP-ng/XS 8.3 and later.
Indeed but it'll be available for XCP-ng/XS 8.3 and later.
ah ok thanks... but you also mentioned that it was in 8.2 testing repo in Jun 2021 so i believe that it is already in 8.2.1 repo. Maybe it should be mentioned in the documentation that this is not fully supported at the moment.
XO already pass the default migration network to host.evacuate
when supported and fall back to not use it when it's not.
I agree that it should documented.
Are you using XOA or XO from the sources?
both
Which release channel?
stable
Provide your commit number
7c31b
Describe the bug
Evacuation of a host in a ha pool doesn't respect the "default migration network" set on pool. It was implementen in #5802 It uses the eth0 (Management Interface) instead the choosen bond0.
Works when migrating VMs manually via VM > select VM > Migrate
Did check this on XOA 5.95.2 (stable) and upgraded to 5.98.0 (latest). I also tryed it on a fresh installed XO from Source.
Error message
To reproduce
Expected behavior
Screenshots
configured bond of eth6 and eth7
configured default migration network
traffic graph after evacuation
Node
18.20.2
Hypervisor
XCP-NG 8.2.1
Additional context
No response