New Rust Xen guest tools
-
@olivierlambert when changes are made (like IP change in the VM), it is now instantly reported by XO
I will be able to go back to my work to integrate a BGP deamon to announce locals IPs to the network (I started last year to work on the xe-deamon but never had the time to finish it, and some months after I saw you blog post about moving to rust for it).Thank you!
-
@olivierlambert
Install on Debian 12 VM went smooth. Tested on XCP-ng 8.2.1 & using Xen Orchestra, commit 5fe53. When changing networks it updates the IP very fast, but does not clear the previous IP addresses from the other networks. I did confirm they are not showing in the VM. -
Ah interesting
Let me ping @yann about this behavior
-
Hi @lawrencesystems, thanks for the feedback!
How are those IPs added and removed? In my tests I see old IPs always removed, whether I replace an address using
ifconfig
or whether I useip addr del
-
@yann
I was simply changing the VLAN via the XO interface o the VM while it was running. -
@lawrencesystems do you mean you're changing the network the VIF is connected to? With old and new network both using DHCP maybe?
-
@yann
Correct, changed VIF and each network has DHCP and the VM is set via DHCP. -
@lawrencesystems thanks for those details, I could identify 2 specific issues from this, will fix that for 0.3.0:
-
@olivierlambert I'm running it... It would be nice if you offered a debian compatible repository that I could just add to the apt sources so updates would happen along with other debian updates (like HP tools, node, yarn, etc).
-
@Andrew that's planned
-
@lawrencesystems said in New Rust Xen guest tools:
@olivierlambert
Install on Debian 12 VM went smooth. Tested on XCP-ng 8.2.1 & using Xen Orchestra, commit 5fe53. When changing networks it updates the IP very fast, but does not clear the previous IP addresses from the other networks. I did confirm they are not showing in the VM.Hi everyone.
Issue is still persistent and can be reproduced.
After a reboot the old IPs are not showing up again until you change the network again.
Regards,
MarcEDIT:
Tested on fully patched XCP-NG 8.2.1 and XenOrchestra from Sources on commit 84650. -
@olivierlambert Install on different Debian and Ubuntu versions works as decribed by others, so nothing exciting to add (which is good I assume
). XCP-ng 8.2.1 fully patched incl. the new security update candidates. XO from third party script with commit a3ea7.
-
@itservices I'm working on it, though it's not fully ready yet.
Work in progress is available from this merge request. The "Merge request pipeline" block has download links to get a deb, a rpm, or a plain executable directly, for those willing to test.
Current proposed code should handle the "unplug" case just right, but the "replug" case still occasionally does not get the IP back - that part in the work but not yet ready to share.