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.8k 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.
    • A Online
      Andrew Top contributor @olivierlambert
      last edited by

      @olivierlambert

      New version link: https://xcp-ng.org/blog/2023/12/15/rust-guest-tools-0-3-0/

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

        Thanks, missed copy/paste πŸ˜„ Fixed!

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

          People with FreeBSD 13.2 or later as a guest are also now able to use Netlink to get their IP address changes reported instantly (rather than having to wait for as much as 1 minute).

          This is however not yet part of our CI jobs, as we rely on cross-rs, which for now only provides FreeBSD 12 cross-build support. Your choices to try it:

          • build it yourself
          • manually-prebuilt binary

          Don't forget to kldload netlink first, the Netlink support is not active by default!

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

            i try to update tools, succeed only on ubuntu22.
            ubuntu20 fail on apt update:

            
            Ign:13 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Translation-en
            Err:11 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Packages
              401  Unauthorized [IP: 172.65.251.78 443]
            Ign:12 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Translation-en_US
            Ign:13 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Translation-en
            Reading package lists... Done
            E: Failed to fetch https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64/release/Packages  401  Unauthorized [IP: 172.65.251.78 443]
            E: Some index files failed to download. They have been ignored, or old ones used instead.
            

            ubuntu 20 = debian 11. Are the tools compatible?

            At blog you forgot the name of tools to install πŸ˜ƒ https://xcp-ng.org/blog/2023/12/15/rust-guest-tools-0-3-0/

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

              Fixed the blog post. Don't know for Ubuntu, only tested on Debian on my side (even Debian 11). It seems you have a 401 HTTP code on your side. Gitlab issue or network issue?

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

                @olivierlambert looks like network issue, but same task at same host\network etc updated all ubuntu 22 VMs.

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

                  Yeah, I would say Gitlab access issue, for whatever reason 🀷 Wait a bit a retry later. We'll probably mirror it to provide a more available solution that Gitlab.

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

                    @olivierlambert i add this repo to our local nexus proxy, got same error with any distrib. Well, let's wait.

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

                      Here I have a good HTTP answer (200):

                      curl -I https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64/release/Packages
                      
                      Tristis OrisT 1 Reply Last reply Reply Quote 0
                      • Tristis OrisT Offline
                        Tristis Oris Top contributor @olivierlambert
                        last edited by

                        @olivierlambert same, 200. Probably it again cloudflare issues.

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

                          Tried install on a fresh Ubuntu 22.04 VM. Worked PERFECTLY with apt.

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            chrisfonte
                            last edited by

                            If installing on a machine that already had the old guest tools, is it necessary to uninstall them first (I would imagine so). How do you uninstall old guest tools?

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

                              @chrisfonte new tools will remove the old one during install.

                              1 Reply Last reply Reply Quote 2
                              • C Offline
                                chrisfonte
                                last edited by

                                Worked well for me with apt on virtualized Pop!_OS.

                                8b634169-d500-49dd-9057-9dd52f7f0ac7-image.png

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

                                  Thanks for your feedback @chrisfonte !

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    Seclusion @olivierlambert
                                    last edited by

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

                                    i try to update tools, succeed only on ubuntu22.
                                    ubuntu20 fail on apt update:

                                    
                                    Ign:13 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Translation-en
                                    Err:11 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Packages
                                      401  Unauthorized [IP: 172.65.251.78 443]
                                    Ign:12 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Translation-en_US
                                    Ign:13 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Translation-en
                                    Reading package lists... Done
                                    E: Failed to fetch https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64/release/Packages  401  Unauthorized [IP: 172.65.251.78 443]
                                    E: Some index files failed to download. They have been ignored, or old ones used instead.
                                    

                                    ubuntu 20 = debian 11. Are the tools compatible?

                                    At blog you forgot the name of tools to install πŸ˜ƒ https://xcp-ng.org/blog/2023/12/15/rust-guest-tools-0-3-0/

                                    I also encountered this same issue with this on Ubuntu 20.04.6 LTS. Upgrading to Ubuntu 22.04.3 LTS and re-enabling the repository resolved the issue.

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

                                      Well it still don't work for ubuntu20.
                                      Also i can't create Nexus proxy repo even for 22, with same error.
                                      Looks like restrictions for some auth type. Because the repo is not accessible by direct link, i can't really check anything. Any ideas?
                                      9dab2a01-eb09-49ea-b9cb-d06c6784f750-ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅.png

                                      apt update
                                      Ign:7 http://local_ip:8081/repository/xen-tools-debian release/ InRelease
                                      Hit:8 http://local_ip:8081/repository/zabbix-apt/zabbix-agent2-plugins/1/ubuntu jammy InRelease
                                      Hit:9 http://local_ip:8081/repository/zabbix-apt/zabbix/6.4/ubuntu jammy InRelease
                                      Ign:10 http://local_ip:8081/repository/xen-tools-debian release/ Release
                                      Ign:11 http://local_ip:8081/repository/xen-tools-debian release/ Packages
                                      Ign:12 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en_US
                                      Ign:13 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en
                                      Ign:11 http://local_ip:8081/repository/xen-tools-debian release/ Packages
                                      Ign:12 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en_US
                                      Ign:13 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en
                                      Ign:11 http://local_ip:8081/repository/xen-tools-debian release/ Packages
                                      Ign:12 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en_US
                                      Ign:13 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en
                                      Ign:11 http://local_ip:8081/repository/xen-tools-debian release/ Packages
                                      Ign:12 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en_US
                                      Ign:13 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en
                                      Ign:11 http://local_ip:8081/repository/xen-tools-debian release/ Packages
                                      Ign:12 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en_US
                                      Ign:13 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en
                                      Ign:11 http://local_ip:8081/repository/xen-tools-debian release/ Packages
                                      Ign:12 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en_US
                                      Ign:13 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en
                                      Err:11 http://local_ip:8081/repository/xen-tools-debian release/ Packages
                                        404  Not Found [IP: local_ip 8081]
                                      Ign:12 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en_US
                                      Ign:13 http://local_ip:8081/repository/xen-tools-debian release/ Translation-en
                                      Reading package lists... Done
                                      E: Failed to fetch http://local_ip:8081/repository/xen-tools-debian/release/Packages  404  Not Found [IP: local_ip 8081]
                                      E: Some index files failed to download. They have been ignored, or old ones used instead.
                                      
                                      yannY 1 Reply Last reply Reply Quote 0
                                      • olivierlambertO Offline
                                        olivierlambert Vates πŸͺ Co-Founder CEO
                                        last edited by

                                        I bet on a Gitlab hosting weird issue or something. You can download the package directly from here: https://gitlab.com/xen-project/xen-guest-agent/-/releases

                                        In your case: https://gitlab.com/xen-project/xen-guest-agent/-/jobs/5762006911/artifacts/raw/target/release/xen-guest-agent_0.3.0_amd64.deb?inline=false

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

                                          @olivierlambert thanks, i'll try to add them manualy.

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

                                            Successfully install tools on ubuntu 20 from deb packet.
                                            Ubuntu 18 need some dependencies: The following packages have unmet dependencies: xen-guest-agent : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1.6 is to be installed
                                            libc6 is only available for ubuntu 20+ https://pkgs.org/search/?q=libc6

                                            So that some repo issues.

                                            yannY 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post