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

    New Rust Xen guest tools

    Scheduled Pinned Locked Moved Development
    146 Posts 37 Posters 61.0k 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.
    • olivierlambertO Online
      olivierlambert Vates πŸͺ Co-Founder CEO
      last edited by

      Next release will be statically linked so it should solve the problem. However, our target is clearly modern distros initially πŸ˜‰

      1 Reply Last reply Reply Quote 1
      • yannY Offline
        yann Vates πŸͺ XCP-ng Team @Tristis Oris
        last edited by

        If we want to support Ubuntu release that are "out of standard support" but not yet EoL'd, this currently puts the oldest distro as 14.04 just for 3 months (where we're using Debian 10 currently), beating Debian 8 (released 15.04, in ELTS until June '25).

        But then Rust docker image for Debian 8 and 9 have long been unavailable from Docker hub, we'd have to switch to debian:8 and hope Rust will properly work there, in this platform they apparently do not support.

        But we already know at least clang is much too old to be able to build the tools, even in debian:9, see https://github.com/KyleMayes/clang-sys/issues/163#issuecomment-1875216165

        So supporting such old distros would need a significant investment.

        ydirson created this issue in KyleMayes/clang-sys

        closed "This crate only supports `libclang` 3.5 and later" with libclang 3.8 identified #163

        1 Reply Last reply Reply Quote 0
        • yannY Offline
          yann Vates πŸͺ XCP-ng Team @Tristis Oris
          last edited by yann

          In Debian 10 and Ubuntu 20.04, what I see is on apt-get update on first run is:

           Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 172.65.251.78 443]
          

          That would look like Gitlab current SSL certificates would be depending on a root CA that only appeared in newer distros?

          And on subsequent runs, then I start getting 401 replies as others reported.

          S 1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by

            Hmm interesting, that's an interesting lead indeed πŸ€”

            1 Reply Last reply Reply Quote 0
            • F Offline
              forbiddenera
              last edited by

              Are FreeBSD guests at all a consideration for new guest tools? Windows?

              yannY 1 Reply Last reply Reply Quote 0
              • olivierlambertO Online
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by

                Answer is yes for both, and work already started and going in the right direction πŸ™‚

                F 1 Reply Last reply Reply Quote 0
                • yannY Offline
                  yann Vates πŸͺ XCP-ng Team @forbiddenera
                  last edited by

                  @forbiddenera FreeBSD support is already there, and binaries are available since v0.3.0 release. However, full support making use of Netlink (supported since FreeBSD 13.2) is not to be considered as mature yet, only due to the need to use still-unofficial patches on some dependencies -- full status here.

                  Windows support is also coming, but requires more work than FreeBSD did, you can follow the status of the first meaningful step (communicating collected info back to host) here. Right now a few other tasks take precedence, expect things to move forward again within a few weeks.

                  1 Reply Last reply Reply Quote 1
                  • F Offline
                    forbiddenera @olivierlambert
                    last edited by

                    @olivierlambert said in New Rust Xen guest tools:

                    Answer is yes for both, and work already started and going in the right direction πŸ™‚

                    @yann said in New Rust Xen guest tools:

                    @forbiddenera FreeBSD support is already there, and binaries are available since v0.3.0 release.

                    Awesome! Maybe I'll have to take a peek.

                    Windows support is also coming, but requires more work than FreeBSD did, you can follow the status of the first meaningful step (communicating collected info back to host) here. Right now a few other tasks take precedence, expect things to move forward again within a few weeks.

                    TBH; I personally don't care much about Windows but figured I might as well ask while asking about FreeBSD πŸ™‚

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

                      I installed a Pop OS desktop. I noticed that the icon is missing. XOCE 8e65e. Management agent 1.0.0-proto-0.3.0 Installed using the apt repo.
                      `

                      bcee059f-44b6-4cb4-8a4d-724e31959141-image.png
                      I remember reading somewhere that the icon system was going to be overhauled. I can't remember where exactly it was part of. In this instance, I feel the Ubuntu icon is perfectly acceptable, as this is an Ubuntu-based OS.

                      yannY C 2 Replies Last reply Reply Quote 0
                      • yannY Offline
                        yann Vates πŸͺ XCP-ng Team @ajpri1998
                        last edited by

                        Hello @ajpri1998! Can you confirm that running this in the guest does print Pop!_OS?

                        xenstore read data/os_distro
                        
                        ajpri1998A 1 Reply Last reply Reply Quote 0
                        • yannY Offline
                          yann Vates πŸͺ XCP-ng Team
                          last edited by

                          We just released version 0.4.0. Biggest highlight is that it is not necessary any more to have libxenstore separately installed in guests, so the new RPM is now compatible with RHEL/CentOS and similar distros.

                          Details to be found at https://gitlab.com/xen-project/xen-guest-agent/-/releases/0.4.0

                          Tristis OrisT 1 Reply Last reply Reply Quote 1
                          • ajpri1998A Offline
                            ajpri1998 @yann
                            last edited by ajpri1998

                            @yann
                            Can confirm. Also was able to upgrade to 0.4.0.
                            2820ae7e-1e4e-4abf-abca-66dc5f9e61a1-image.png

                            $ sudo xenstore read data/os_distro
                            Pop!_OS
                            

                            `

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              CJ @ajpri1998
                              last edited by

                              @ajpri1998 Is it Ubuntu based or Debian? I've been debating switching to Debian from Ubuntu but I've also considered Pop.

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

                                @CJ said in New Rust Xen guest tools:

                                @ajpri1998 Is it Ubuntu based or Debian? I've been debating switching to Debian from Ubuntu but I've also considered Pop.

                                Reply

                                Based on Ubuntu, which Ubuntu is based on Debian. Pop is great. It's pretty much ubuntu + faster updating Kernel + a few added features. It's still very close to Ubuntu, although they are working at separating it more with their own DE.

                                1 Reply Last reply Reply Quote 0
                                • olivierlambertO Online
                                  olivierlambert Vates πŸͺ Co-Founder CEO
                                  last edited by

                                  Icons will be easier to deal with in XO 6, so expect to have an easy way to contribute to add the icon of your choice for our new UI πŸ™‚

                                  1 Reply Last reply Reply Quote 1
                                  • Tristis OrisT Offline
                                    Tristis Oris Top contributor @yann
                                    last edited by

                                    @yann installed tools on Rocky 8, but how to enable them?=)
                                    And looks the old tools not removed.

                                    yum localinstall xen-guest-agent-0.4.0-0.fc37.x86_64.rpm
                                    Last metadata expiration check: 2:10:23 ago on Thu 01 Feb 2024 02:43:05 PM MSK.
                                    Dependencies resolved.
                                    ============================================================================================================================================================================
                                     Package                                      Architecture                        Version                                   Repository                                 Size
                                    ============================================================================================================================================================================
                                    Installing:
                                     xen-guest-agent                              x86_64                              0.4.0-0.fc37                              @commandline                              1.2 M
                                    
                                    Transaction Summary
                                    ============================================================================================================================================================================
                                    Install  1 Package
                                    
                                    Total size: 1.2 M
                                    Installed size: 3.7 M
                                    Is this ok [y/N]: y
                                    Downloading Packages:
                                    Running transaction check
                                    Transaction check succeeded.
                                    Running transaction test
                                    Transaction test succeeded.
                                    Running transaction
                                      Preparing        :                                                                                                                                                    1/1
                                      Installing       : xen-guest-agent-0.4.0-0.fc37.x86_64                                                                                                                1/1
                                      Running scriptlet: xen-guest-agent-0.4.0-0.fc37.x86_64                                                                                                                1/1
                                      Verifying        : xen-guest-agent-0.4.0-0.fc37.x86_64                                                                                                                1/1
                                    
                                    Installed:
                                      xen-guest-agent-0.4.0-0.fc37.x86_64
                                    
                                    Complete!
                                    
                                    D 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      DustinB @Tristis Oris
                                      last edited by

                                      @Tristis-Oris

                                      systemctl enable xe-linux-distribution
                                      systemctl start xe-linux-distribution
                                      

                                      I would think

                                      Tristis OrisT 1 Reply Last reply Reply Quote 0
                                      • Tristis OrisT Offline
                                        Tristis Oris Top contributor @DustinB
                                        last edited by

                                        @DustinB said in New Rust Xen guest tools:

                                        systemctl enable xe-linux-distribution

                                        that for old tools, they still working.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          DustinB @Tristis Oris
                                          last edited by

                                          @Tristis-Oris said in New Rust Xen guest tools:

                                          @DustinB said in New Rust Xen guest tools:

                                          systemctl enable xe-linux-distribution

                                          that for old tools, they still working.

                                          Use the comparable

                                          systemctl enable xe<TAB-Key for auto complete>
                                          

                                          And the same for

                                          systemctl start xe<TAB-Key for auto complete>
                                          
                                          Tristis OrisT 1 Reply Last reply Reply Quote 0
                                          • Tristis OrisT Offline
                                            Tristis Oris Top contributor @DustinB
                                            last edited by

                                            @DustinB said in New Rust Xen guest tools:

                                            systemctl enable xe

                                            yep, found them.
                                            full steps for RHEL:

                                            wget https://gitlab.com/xen-project/xen-guest-agent/-/jobs/6041608360/artifacts/raw/RPMS/x86_64/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm
                                            rpm -i xen-guest-agent*
                                            yum remove -y xe-guest-utilities-latest
                                            systemctl enable xen-guest-agent.service --now
                                            
                                            yannY 2 Replies Last reply Reply Quote 2
                                            • First post
                                              Last post