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

    XCP-ng 8.2.1 (maintenance update) - final testing sprint

    Scheduled Pinned Locked Moved News
    40 Posts 8 Posters 15.0k Views 2 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.
    • stormiS Offline
      stormi Vates 🪐 XCP-ng Team
      last edited by

      New installation ISOs (test6) are available at https://updates.xcp-ng.org/tmp/. The netinstall repository was also updated.

      The only changes since the last ones are the removal of igc and r8125 drivers that I had attempted to add in test5.

      These should be the final ones, so it's always good if some of you can test them one last time before the release.

      rus2lanR 1 Reply Last reply Reply Quote 0
      • J Offline
        JeffBerntsen Top contributor @stormi
        last edited by

        @stormi Some quick testing of the alternate kernel on my test systems seems to be working fine with the not-unexpected issue that the XOSTOR test does not come up and run on it.

        1 Reply Last reply Reply Quote 1
        • gskgerG Offline
          gskger Top contributor @stormi
          last edited by

          @stormi That was an easy 2.8k update on both hosts with no problem. VMs continue to run without any issues so far.

          1 Reply Last reply Reply Quote 1
          • rus2lanR Offline
            rus2lan @stormi
            last edited by

            @stormi https://www.asus.com/Motherboards-Components/Motherboards/TUF-Gaming/TUF-GAMING-Z690-PLUS-WIFI-D4/HelpDesk_QVL_CPU/ for this motherboard igc drivers work only for xcp, i have trouble in VM with VLANs: DHCP work, but no ping to gateway...

            stormiS 1 Reply Last reply Reply Quote 0
            • stormiS Offline
              stormi Vates 🪐 XCP-ng Team @rus2lan
              last edited by

              @rus2lan The igc driver we backported from the 4.20 kernel doesn't appear to be working well indeed. That's why I did not include it in the final release of XCP-ng 8.2.1 ISOs.

              1 Reply Last reply Reply Quote 1
              • stormiS Offline
                stormi Vates 🪐 XCP-ng Team
                last edited by

                XCP-ng 8.2.1 is now released. A huge thanks to everyone who tested and gave feedback to us.

                https://xcp-ng.org/blog/2022/02/28/xcp-ng-8-2-1-update/

                1 Reply Last reply Reply Quote 3
                • apzA Offline
                  apz
                  last edited by

                  I upgraded 3 of my homelab hosts, all were up-to-date 8.2's before this update. One of them blurted out this right at the end of the upgrade, but I did not observe any negative consequences yet.

                    Cleanup    : wsproxy-1.12.0-2.xcpng8.2.x86_64                                                                                                                                       162/162 
                  Traceback (most recent call last):
                    File "/bin/create-guest-templates", line 17, in <module>
                      loader.insert_templates()
                    File "/usr/lib/python2.7/site-packages/guesttemplates/loader.py", line 189, in insert_templates
                      self._insert_template(i)
                    File "/usr/lib/python2.7/site-packages/guesttemplates/loader.py", line 159, in _insert_template
                      conn.request("PUT", "/import_metadata?" + params, tar)
                    File "/usr/lib64/python2.7/httplib.py", line 1041, in request
                      self._send_request(method, url, body, headers)
                    File "/usr/lib64/python2.7/httplib.py", line 1075, in _send_request
                      self.endheaders(body)
                    File "/usr/lib64/python2.7/httplib.py", line 1037, in endheaders
                      self._send_output(message_body)
                    File "/usr/lib64/python2.7/httplib.py", line 885, in _send_output
                      self.send(message_body)
                    File "/usr/lib64/python2.7/httplib.py", line 857, in send
                      self.sock.sendall(data)
                    File "/usr/lib64/python2.7/socket.py", line 224, in meth
                      return getattr(self._sock,name)(*args)
                  socket.error: [Errno 32] Broken pipe
                  
                  stormiS 1 Reply Last reply Reply Quote 0
                  • stormiS Offline
                    stormi Vates 🪐 XCP-ng Team @apz
                    last edited by

                    @apz The script that deletes then recreates the guest templates when they are updated apparently failed on your host. Are there any missing templates in your template list?

                    apzA 1 Reply Last reply Reply Quote 1
                    • apzA Offline
                      apz @stormi
                      last edited by

                      @stormi The affected host has only 2 templates, 2022 Windows and Suse 12.

                      stormiS 1 Reply Last reply Reply Quote 0
                      • stormiS Offline
                        stormi Vates 🪐 XCP-ng Team @apz
                        last edited by

                        @apz Try to re-run the script that failed:

                        /usr/bin/create-guest-templates-wrapper
                        
                        apzA 1 Reply Last reply Reply Quote 0
                        • apzA Offline
                          apz @stormi
                          last edited by

                          @stormi Result:

                          # /usr/bin/create-guest-templates-wrapper
                          Load /usr/share/xapi/vm-templates/windows-server-2012-64bit.json
                          Load /usr/share/xapi/vm-templates/sled-12-sp4-64bit.json
                          Load /usr/share/xapi/vm-templates/rhel-8.json
                          Load /usr/share/xapi/vm-templates/rhel-7.json
                          Load /usr/share/xapi/vm-templates/oel-8.json
                          Load /usr/share/xapi/vm-templates/sle-15-64bit.json
                          Load /usr/share/xapi/vm-templates/debian-9.json
                          Load /usr/share/xapi/vm-templates/windows-8-64bit.json
                          Load /usr/share/xapi/vm-templates/sles-12-sp5-64bit.json
                          Load /usr/share/xapi/vm-templates/base-sle-hvm.json
                          Load /usr/share/xapi/vm-templates/windows-10-64bit.json
                          Load /usr/share/xapi/vm-templates/oel-7.json
                          Load /usr/share/xapi/vm-templates/coreos.json
                          Load /usr/share/xapi/vm-templates/debian-11.json
                          Load /usr/share/xapi/vm-templates/windows-server-2012-r2-64bit.json
                          Load /usr/share/xapi/vm-templates/sles-12-sp3-64bit.json
                          Load /usr/share/xapi/vm-templates/windows-server-2016-64bit.json
                          Load /usr/share/xapi/vm-templates/gooroom-2.json
                          Load /usr/share/xapi/vm-templates/debian-10.json
                          Load /usr/share/xapi/vm-templates/windows-server-2022-64bit.json
                          Load /usr/share/xapi/vm-templates/other-install-media.json
                          Load /usr/share/xapi/vm-templates/base-sle-hvm-64bit.json
                          Load /usr/share/xapi/vm-templates/base-kylin-7.json
                          Load /usr/share/xapi/vm-templates/kylin-7.json
                          Load /usr/share/xapi/vm-templates/debian-8.json
                          Load /usr/share/xapi/vm-templates/sled-12-sp3-64bit.json
                          Load /usr/share/xapi/vm-templates/windows-server-2019-64bit.json
                          Load /usr/share/xapi/vm-templates/centos-7.json
                          Load /usr/share/xapi/vm-templates/base-windows-uefi.json
                          Load /usr/share/xapi/vm-templates/sles-12-sp4-64bit.json
                          Load /usr/share/xapi/vm-templates/sl-7.json
                          Load /usr/share/xapi/vm-templates/ubuntu-20.04.json
                          Load /usr/share/xapi/vm-templates/windows-10-32bit.json
                          Load /usr/share/xapi/vm-templates/ubuntu-16.04.json
                          Load /usr/share/xapi/vm-templates/rocky-8.json
                          Load /usr/share/xapi/vm-templates/windows-8-32bit.json
                          Load /usr/share/xapi/vm-templates/base-hvmlinux.json
                          Load /usr/share/xapi/vm-templates/almalinux-8.json
                          Load /usr/share/xapi/vm-templates/base-el-7.json
                          Load /usr/share/xapi/vm-templates/centos-8.json
                          Load /usr/share/xapi/vm-templates/base-windows.json
                          Load /usr/share/xapi/vm-templates/ubuntu-18.04.json
                          Load /usr/share/xapi/vm-templates/base-windows-8.json
                          Destroy 1c33af1c-e919-418c-ad45-85d7d6fb604a
                          Insert 1c33af1c-e919-418c-ad45-85d7d6fb604a
                          Traceback (most recent call last):
                            File "/usr/bin/create-guest-templates", line 17, in <module>
                              loader.insert_templates()
                            File "/usr/lib/python2.7/site-packages/guesttemplates/loader.py", line 189, in insert_templates
                              self._insert_template(i)
                            File "/usr/lib/python2.7/site-packages/guesttemplates/loader.py", line 159, in _insert_template
                              conn.request("PUT", "/import_metadata?" + params, tar)
                            File "/usr/lib64/python2.7/httplib.py", line 1041, in request
                              self._send_request(method, url, body, headers)
                            File "/usr/lib64/python2.7/httplib.py", line 1075, in _send_request
                              self.endheaders(body)
                            File "/usr/lib64/python2.7/httplib.py", line 1037, in endheaders
                              self._send_output(message_body)
                            File "/usr/lib64/python2.7/httplib.py", line 885, in _send_output
                              self.send(message_body)
                            File "/usr/lib64/python2.7/httplib.py", line 857, in send
                              self.sock.sendall(data)
                            File "/usr/lib64/python2.7/socket.py", line 224, in meth
                              return getattr(self._sock,name)(*args)
                          socket.error: [Errno 32] Broken pipe
                          
                          
                          stormiS 1 Reply Last reply Reply Quote 0
                          • stormiS Offline
                            stormi Vates 🪐 XCP-ng Team @apz
                            last edited by

                            @apz If you run it again, does it fail at the exact same place?

                            apzA 1 Reply Last reply Reply Quote 0
                            • apzA Offline
                              apz @stormi
                              last edited by

                              @stormi I ran it 5 times in a row. Always after base-windows-8.json.

                              stormiS 1 Reply Last reply Reply Quote 0
                              • stormiS Offline
                                stormi Vates 🪐 XCP-ng Team @apz
                                last edited by

                                @apz does rpm -V guest-templates-json guest-templates-json-data-linux guest-templates-json-data-other guest-templates-json-data-windows give any output (it would reveal if there's a corrupted file)?

                                apzA 1 Reply Last reply Reply Quote 0
                                • apzA Offline
                                  apz @stormi
                                  last edited by

                                  @stormi This command did not produce any output, so I assume the packages are fine.

                                  stormiS 1 Reply Last reply Reply Quote 0
                                  • stormiS Offline
                                    stormi Vates 🪐 XCP-ng Team @apz
                                    last edited by

                                    @apz does it still fail if you reinstall them anyway?

                                    yum reinstall guest-templates-json guest-templates-json-data-linux guest-templates-json-data-other guest-templates-json-data-windows
                                    
                                    apzA 1 Reply Last reply Reply Quote 0
                                    • apzA Offline
                                      apz @stormi
                                      last edited by

                                      @stormi

                                      # yum reinstall guest-templates-json guest-templates-json-data-linux guest-templates-json-data-other guest-templates-json-data-windows
                                      
                                      Loaded plugins: fastestmirror
                                      Loading mirror speeds from cached hostfile
                                      Excluding mirror: updates.xcp-ng.org
                                       * xcp-ng-base: mirrors.xcp-ng.org
                                      Excluding mirror: updates.xcp-ng.org
                                       * xcp-ng-updates: mirrors.xcp-ng.org
                                      Resolving Dependencies
                                      --> Running transaction check
                                      ---> Package guest-templates-json.noarch 0:1.9.6-1.1.xcpng8.2 will be reinstalled
                                      ---> Package guest-templates-json-data-linux.noarch 0:1.9.6-1.1.xcpng8.2 will be reinstalled
                                      ---> Package guest-templates-json-data-other.noarch 0:1.9.6-1.1.xcpng8.2 will be reinstalled
                                      ---> Package guest-templates-json-data-windows.noarch 0:1.9.6-1.1.xcpng8.2 will be reinstalled
                                      --> Finished Dependency Resolution
                                      
                                      Dependencies Resolved
                                      
                                      ==============================================================================================================================================================================================
                                       Package                                                      Arch                              Version                                       Repository                                 Size
                                      ==============================================================================================================================================================================================
                                      Reinstalling:
                                       guest-templates-json                                         noarch                            1.9.6-1.1.xcpng8.2                            xcp-ng-updates                             29 k
                                       guest-templates-json-data-linux                              noarch                            1.9.6-1.1.xcpng8.2                            xcp-ng-updates                             17 k
                                       guest-templates-json-data-other                              noarch                            1.9.6-1.1.xcpng8.2                            xcp-ng-updates                             12 k
                                       guest-templates-json-data-windows                            noarch                            1.9.6-1.1.xcpng8.2                            xcp-ng-updates                             14 k
                                      
                                      Transaction Summary
                                      ==============================================================================================================================================================================================
                                      Reinstall  4 Packages
                                      
                                      Total download size: 73 k
                                      Installed size: 61 k
                                      Is this ok [y/d/N]: y
                                      Downloading packages:
                                      (1/4): guest-templates-json-1.9.6-1.1.xcpng8.2.noarch.rpm                                                                                                              |  29 kB  00:00:00     
                                      (2/4): guest-templates-json-data-other-1.9.6-1.1.xcpng8.2.noarch.rpm                                                                                                   |  12 kB  00:00:00     
                                      (3/4): guest-templates-json-data-linux-1.9.6-1.1.xcpng8.2.noarch.rpm                                                                                                   |  17 kB  00:00:00     
                                      (4/4): guest-templates-json-data-windows-1.9.6-1.1.xcpng8.2.noarch.rpm                                                                                                 |  14 kB  00:00:00     
                                      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                      Total                                                                                                                                                         110 kB/s |  73 kB  00:00:00     
                                      Running transaction check
                                      Running transaction test
                                      Transaction test succeeded
                                      Running transaction
                                        Installing : guest-templates-json-1.9.6-1.1.xcpng8.2.noarch                                                                                                                             1/4 
                                        Installing : guest-templates-json-data-other-1.9.6-1.1.xcpng8.2.noarch                                                                                                                  2/4 
                                        Installing : guest-templates-json-data-windows-1.9.6-1.1.xcpng8.2.noarch                                                                                                                3/4 
                                        Installing : guest-templates-json-data-linux-1.9.6-1.1.xcpng8.2.noarch                                                                                                                  4/4 
                                      Traceback (most recent call last):
                                        File "/bin/create-guest-templates", line 17, in <module>
                                          loader.insert_templates()
                                        File "/usr/lib/python2.7/site-packages/guesttemplates/loader.py", line 189, in insert_templates
                                          self._insert_template(i)
                                        File "/usr/lib/python2.7/site-packages/guesttemplates/loader.py", line 159, in _insert_template
                                          conn.request("PUT", "/import_metadata?" + params, tar)
                                        File "/usr/lib64/python2.7/httplib.py", line 1041, in request
                                          self._send_request(method, url, body, headers)
                                        File "/usr/lib64/python2.7/httplib.py", line 1075, in _send_request
                                          self.endheaders(body)
                                        File "/usr/lib64/python2.7/httplib.py", line 1037, in endheaders
                                          self._send_output(message_body)
                                        File "/usr/lib64/python2.7/httplib.py", line 885, in _send_output
                                          self.send(message_body)
                                        File "/usr/lib64/python2.7/httplib.py", line 857, in send
                                          self.sock.sendall(data)
                                        File "/usr/lib64/python2.7/socket.py", line 224, in meth
                                          return getattr(self._sock,name)(*args)
                                      socket.error: [Errno 32] Broken pipe
                                        Verifying  : guest-templates-json-data-other-1.9.6-1.1.xcpng8.2.noarch                                                                                                                  1/4 
                                        Verifying  : guest-templates-json-data-windows-1.9.6-1.1.xcpng8.2.noarch                                                                                                                2/4 
                                        Verifying  : guest-templates-json-data-linux-1.9.6-1.1.xcpng8.2.noarch                                                                                                                  3/4 
                                        Verifying  : guest-templates-json-1.9.6-1.1.xcpng8.2.noarch                                                                                                                             4/4 
                                      
                                      Installed:
                                        guest-templates-json.noarch 0:1.9.6-1.1.xcpng8.2                guest-templates-json-data-linux.noarch 0:1.9.6-1.1.xcpng8.2   guest-templates-json-data-other.noarch 0:1.9.6-1.1.xcpng8.2  
                                        guest-templates-json-data-windows.noarch 0:1.9.6-1.1.xcpng8.2  
                                      
                                      Complete!
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • stormiS Offline
                                        stormi Vates 🪐 XCP-ng Team
                                        last edited by

                                        The error message suggests an internal network error message. Does this host have custom iptables rules, or xapi.conf entries?

                                        apzA 1 Reply Last reply Reply Quote 0
                                        • apzA Offline
                                          apz @stormi
                                          last edited by

                                          @stormi I have not touched xapi.conf, iptables has one additional rule to default, which allows port 4949 in. It's copy-paste of other rules in /etc/sysconfig/iptables, save changed port.

                                          stormiS 1 Reply Last reply Reply Quote 0
                                          • stormiS Offline
                                            stormi Vates 🪐 XCP-ng Team @apz
                                            last edited by

                                            @apz Are there differences between the installed hosts that could be a lead? Could you compare the lists of installed RPMs between your hosts? (rpm -qa | sort). Is the network configuration different?

                                            Are there error logs in xensource.log, user.log, daemon.log when you run /usr/bin/create-guest-templates-wrapper?

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