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

    New Rust Xen guest tools

    Scheduled Pinned Locked Moved Development
    167 Posts 39 Posters 189.3k Views 40 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.
    • usuariU
      usuari
      last edited by

      Hello,

      Than you for your response!

      Now we are considering to put the guest-tools in our repository (mirror) in order to get the templates automatically updated, but we couldn't find the right form to do it.

      Currently we have a working and operational mirror, but when we put this:

      deb [trusted=yes] https://gitlab.com/api/v4/projects/xen-project%252Fxen-guest-agent/packages/generic/deb-amd64/ release/
      

      Fails because couldn't find indexes:

      Processing indexes: [PPPPPPPPPPPPPPPPapt-mirror: can't open index gitlab.com/api/v4/projects/xen-project%252Fxen-guest-agent/packages/generic/deb-amd64///release//Packages in process_index at /usr/bin/apt-mirror line 800.
      P]
      
      

      We can use rsync or gitlab, but we need some indication of what we need to use.

      Regards,

      H yannY 2 Replies Last reply
      Reply Quote 0
      • H
        Houbsi @usuari
        last edited by

        @usuari said in New Rust Xen guest tools:

        Now we are considering to put the guest-tools in our repository (mirror) in order to get the templates automatically updated, but we couldn't find the right form to do it.

        Currently we have a working and operational mirror, but when we put this:

        deb [trusted=yes] https://gitlab.com/api/v4/projects/xen-project%252Fxen-guest-agent/packages/generic/deb-amd64/ release/
        

        Fails because couldn't find indexes:

        Processing indexes: [PPPPPPPPPPPPPPPPapt-mirror: can't open index gitlab.com/api/v4/projects/xen-project%252Fxen-guest-agent/packages/generic/deb-amd64///release//Packages in process_index at /usr/bin/apt-mirror line 800.
        P]
        
        

        Please see current issue on the gitlab repository.
        https://gitlab.com/xen-project/xen-guest-agent/-/issues/18

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

          @Houbsi not sure what indeed happened I had messed up and used links to the CI run on commit instead of that of the tag. I had to update the links to point to new job ids. Thanks for the notice!

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

            @usuari what distro/release are you using?

            usuariU 1 Reply Last reply
            Reply Quote 0
            • usuariU
              usuari @yann
              last edited by

              @yann Hello, our apt-mirror is installed on Debian 11, but the purpose is to install the guest-tools on VMs with, at least, Debian 12 OS. We want to allow each of these VMs to be able to download the package from our repository instead of having to add the line in the sources.list file of every machine.

              This method gives us control if there's a future connection issue between both ends. We will have a copy of the package and won't interrupt our workflow.

              Once it works well, we would move on to the other operating systems.

              Thanks in advance,

              1 Reply Last reply
              Reply Quote 0
              • FinallfF
                Finallf
                last edited by

                I have an ISO that I created myself with all the Drivers and tools that we would possibly need:
                c0e0773f-14b8-4927-a10d-1aad2e0f1545-image.png

                With the new Rust tools, can I stop using this ISO?
                Any features I might miss?
                I'm looking forward to having the new Windows tools.

                Thank you very much for this great work.

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

                  Those tools are for Linux and BSD only at the moment.

                  1 Reply Last reply
                  Reply Quote 1
                  • K
                    kevdog
                    last edited by

                    Hey do you have actual instructions on how to compile from source? I trying to work with someone creating an arch linux AUR package and was looking for a little more input.

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

                      @kevdog do you have any specific issue not addressed by the build instructions in the README?

                      K 1 Reply Last reply
                      Reply Quote 1
                      • Tristis OrisT
                        Tristis Oris Top contributor
                        last edited by

                        Tools is working on Ubuntu 24 LTS.
                        Well it obvious, since nothing is really changed)

                        1 Reply Last reply
                        Reply Quote 0
                        • K
                          kevdog @yann
                          last edited by

                          @yann Yes I tried compiling with cargo. Got along some of the way until I reached this:

                            Failed to locate xenstore library:
                            pkg-config exited with status code 1
                            > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags xenstore
                          
                            The system library `xenstore` required by crate `xenstore-sys` was not found.
                            The file `xenstore.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
                            The PKG_CONFIG_PATH environment variable is not set.
                          
                            HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `xenstore.pc`.
                          

                          Where do I get the xenstore library? I've searched the AUR and pacman official archives and I can't seem to find.

                          TeddyAstieT 1 Reply Last reply
                          Reply Quote 0
                          • TeddyAstieT
                            TeddyAstie Vates 🪐 XCP-ng Team Xen Guru @kevdog
                            last edited by

                            @kevdog you can get xenstore with the xen package on AUR (will be promoted to [extra] repo in the future)
                            https://aur.archlinux.org/packages/xen

                            it shouldn't cause issues for boot (at worst, it will add a new non-default Xen boot entry, that shouldn't be used)

                            1 Reply Last reply
                            Reply Quote 0
                            • S
                              sccf @yann
                              last edited by

                              @yann said in New Rust Xen guest tools:

                              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.

                              I'm getting this error with a clean install of Debian 12.4... was this something that was addressed and is appearing again, or is the solution at this stage to still install manually?

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

                                @sccf that looks really strange. Just made a fresh install with a Debian 12.5 netinstall ISO (disabling any desktop task, only installing the ssh-server one), and I get no such issue 🤔

                                1 Reply Last reply
                                Reply Quote 0
                                • R
                                  runevn
                                  last edited by

                                  I also encounter the "401 unauthorised [IP: 172.65.251.78 443]" issue on a fresh Debian 12.5.0 install.

                                  I see that other people manually install the guest tool. But I just want to check if it expected that the "apt update" still doesn't work?

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

                                    just checked installation on ubuntu 24, no problem.

                                    R 1 Reply Last reply
                                    Reply Quote 1
                                    • R
                                      runevn @Tristis Oris
                                      last edited by

                                      @Tristis-Oris So sorry, I had a typo in the url. But I works now.

                                      1 Reply Last reply
                                      Reply Quote 1
                                      • W
                                        wtdrisco @olivierlambert
                                        last edited by wtdrisco

                                        @olivierlambert said in New Rust Xen guest tools:

                                        deb [trusted=yes] https://gitlab.com/api/v4/projects/xen-project%252Fxen-guest-agent/packages/generic/deb-amd64/ release/

                                        JUST A NOTE: I followed the steps in the initial post by olivier - I DID NOT use a -f like many suggested, no errors, installed and then addition items displayed as per below.

                                        I just installed using your steps above on the debian-12.5.0-amd64-netinst.iso.
                                        Not sure what you want us to test, but if you can let me know.. I will do my best to help.

                                        3e1a350f-b78b-4002-b91b-c10b8121979a-image.png

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • W
                                          wtdrisco @olivierlambert
                                          last edited by

                                          @olivierlambert I was just curious. These agent lists installs - couldn't this be done in XO? Where after you create the VM and then under the ADVANCE Tab, have a section:

                                          Install Guest Tools (slider) Yes /No
                                          Drop down for the OS types that are supported INSTALL

                                          That would be great - The more that can be automated over searching for command lines is great!

                                          ajpri1998A olivierlambertO 2 Replies Last reply
                                          Reply Quote 0
                                          • ajpri1998A
                                            ajpri1998 @wtdrisco
                                            last edited by

                                            @wtdrisco
                                            AFAIK, that's how Windows works. When you choose to install the guest utils it slightly changes how the hypervisor presents itself so guest utils can be installed automatically by Windows.

                                            Linux doesn't support that, unfortunately. Or would need changes at the distribution level. There are automation options such as cloud-init, although that's above my knowledge

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post