XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    New Rust Xen guest tools

    Scheduled Pinned Locked Moved Development
    146 Posts 37 Posters 54.5k Views 33 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ajpri1998A Offline
      ajpri1998
      last edited by

      Tested with Ubuntu 22.04.4 LTS (Kernel 5.15.0-88-generic). Things are working well. Using XO Community 5fe53. Haven't updated hosts yet to November patches.

      • Management agent detects
      • Networking
        • IP Address detects
        • Can disconnect network
        • Can create network device, IP Populates
      • VM Tasks - From XO
        • Can Pause/Resume
        • Can Suspend/Resume
        • Can Reboot
        • Can Migrate
        • Can Snapshot
      delafD 1 Reply Last reply Reply Quote 1
      • delafD Offline
        delaf @ajpri1998
        last edited by delaf

        olivierlambert all seems OK here too on a Debian11.

        delafD 1 Reply Last reply Reply Quote 0
        • delafD Offline
          delaf @delaf
          last edited by

          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!

          itservicesI 1 Reply Last reply Reply Quote 1
          • lawrencesystemsL Offline
            lawrencesystems Ambassador @olivierlambert
            last edited by

            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. 3a926d58-4f0b-425b-82ac-3b082fa0031f-image.png

            yannY 1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Ah interesting 🙂 Let me ping yann about this behavior

              A 1 Reply Last reply Reply Quote 0
              • yannY Offline
                yann Vates 🪐 XCP-ng Team @lawrencesystems
                last edited by

                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 use ip addr del

                lawrencesystemsL 1 Reply Last reply Reply Quote 0
                • lawrencesystemsL Offline
                  lawrencesystems Ambassador @yann
                  last edited by

                  yann
                  I was simply changing the VLAN via the XO interface o the VM while it was running.

                  yannY 1 Reply Last reply Reply Quote 0
                  • yannY Offline
                    yann Vates 🪐 XCP-ng Team @lawrencesystems
                    last edited by

                    lawrencesystems do you mean you're changing the network the VIF is connected to? With old and new network both using DHCP maybe?

                    lawrencesystemsL 1 Reply Last reply Reply Quote 0
                    • lawrencesystemsL Offline
                      lawrencesystems Ambassador @yann
                      last edited by

                      yann
                      Correct, changed VIF and each network has DHCP and the VM is set via DHCP.

                      yannY 1 Reply Last reply Reply Quote 0
                      • yannY Offline
                        yann Vates 🪐 XCP-ng Team @lawrencesystems
                        last edited by

                        lawrencesystems thanks for those details, I could identify 2 specific issues from this, will fix that for 0.3.0:

                        • https://gitlab.com/xen-project/xen-guest-agent/-/issues/12
                        • https://gitlab.com/xen-project/xen-guest-agent/-/issues/13
                        1 Reply Last reply Reply Quote 1
                        • A Offline
                          Andrew Top contributor @olivierlambert
                          last edited by

                          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).

                          yannY 1 Reply Last reply Reply Quote 0
                          • yannY Offline
                            yann Vates 🪐 XCP-ng Team @Andrew
                            last edited by

                            Andrew that's planned 😉

                            1 Reply Last reply Reply Quote 3
                            • itservicesI Offline
                              itservices @delaf
                              last edited by itservices

                              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. 3a926d58-4f0b-425b-82ac-3b082fa0031f-image.png

                              Hi everyone.

                              e9ebd019-8acf-4bb5-95c2-9be728280bff-grafik.png

                              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,
                              Marc

                              EDIT:
                              Tested on fully patched XCP-NG 8.2.1 and XenOrchestra from Sources on commit 84650.

                              yannY 1 Reply Last reply Reply Quote 0
                              • gskgerG Offline
                                gskger Top contributor @olivierlambert
                                last edited by

                                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.

                                1 Reply Last reply Reply Quote 2
                                • yannY Offline
                                  yann Vates 🪐 XCP-ng Team @itservices
                                  last edited by

                                  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.

                                  1 Reply Last reply Reply Quote 0
                                  • ajpri1998A Offline
                                    ajpri1998
                                    last edited by

                                    Out of curiosity, are there any plans to port the new Tools to Windows? I understand that the architecture is different on the Windows side, but do really enjoy the effort so far.

                                    yannY 1 Reply Last reply Reply Quote 0
                                    • olivierlambertO Offline
                                      olivierlambert Vates 🪐 Co-Founder CEO
                                      last edited by

                                      Yes, this is something we'd like to achieve. There's some Rust lib able to deal with WMI, so we should be able to achieve it. The real deal is not the mgmt agent, but PV drivers. On that topic, we also have someone working 100% on this. So expect more news for Windows coming 😉

                                      1 Reply Last reply Reply Quote 2
                                      • yannY Offline
                                        yann Vates 🪐 XCP-ng Team @ajpri1998
                                        last edited by

                                        ajpri1998 We have a tracking issue set up for progress on that front.

                                        1 Reply Last reply Reply Quote 1
                                        • R Offline
                                          ravenet
                                          last edited by

                                          I've done initial testing on Suse SLES/OpenSuse 15.4, 15.5 and the similar opensuse MicroOS 5.5

                                          Installs, runs, reports correct information and stats so far. Basic commands work as expected.

                                          1 Reply Last reply Reply Quote 0
                                          • olivierlambertO Offline
                                            olivierlambert Vates 🪐 Co-Founder CEO
                                            last edited by olivierlambert

                                            New release with even a Debian repo: https://xcp-ng.org/blog/2023/12/15/rust-guest-tools-0-3-0/

                                            A yannY 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post