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

    XCP-ng 8.2.1 (maintenance update) - ready for testing

    Scheduled Pinned Locked Moved News
    30 Posts 7 Posters 9.7k Views 4 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 @stormi
      last edited by

      @stormi I did a fresh install from the new ISO... after reboot I get an error reported in user.log.

      Feb  2 18:19:39 xcp4 kdump: Loaded crash kernel
      Feb  2 18:19:43 xcp4 fcoe_driver INFO: eth0 is FCoE capable
      Feb  2 18:19:43 xcp4 fcoe_driver INFO: eth1 is FCoE capable
      Feb  2 18:19:43 xcp4 fcoe_driver CRITICAL:
      Feb  2 18:19:43 xcp4 fcoe_driver CRITICAL: ['Traceback (most recent call last):\n', '  File "/opt/xensource/libexec/fcoe_driver", line 34, in execute\n    output = subprocess.check_output(cmd)\n', '  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output\n    raise CalledProcessError(retcode, cmd, output=output)\n', "CalledProcessError: Command '['fcoeadm', '-i']' returned non-zero exit status 2\n"]
      Feb  2 18:19:43 xcp4 fcoe_driver INFO: Applying config on interface: eth0
      Feb  2 18:19:44 xcp4 fcoe_driver INFO: Applying config on interface: eth1
      
      stormiS 1 Reply Last reply Reply Quote 0
      • A Online
        Andrew Top contributor @stormi
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • A Online
          Andrew Top contributor @stormi
          last edited by Andrew

          @stormi Here's more info from the xensource.log

          I found this error happens when you use XO, click on a HOST and then the ADVANCED tab.

          Feb  2 18:40:32 xcp4 xapi: [debug||741 HTTPS 192.168.1.131->:::80|host.get_sched_gran R:cdd533230ce9|audit] Host.get_sched_gran: host='a87516dc-1363-450d-8384-10e9e4a131b4 (xcp4)'
          Feb  2 18:40:32 xcp4 xapi: [debug||741 HTTPS 192.168.1.131->:::80|host.get_sched_gran R:cdd533230ce9|helpers] about to call script: /opt/xensource/libexec/xen-cmdline
          Feb  2 18:40:32 xcp4 xapi: [debug||742 HTTPS 192.168.1.131->:::80|host.call_plugin R:4f64bd0de6ba|audit] Host.call_plugin host = 'a87516dc-1363-450d-8384-10e9e4a131b4 (xcp4)'; plugin = 'hyperthre
          ading.py'; fn = 'get_hyperthreading' args = [ 'hidden' ]
          Feb  2 18:40:32 xcp4 xapi: [ warn||740 HTTPS 192.168.1.131->:::80|event.from D:b61f8cdc98d8|xapi_message] get_since_for_events: no in_memory_cache!
          Feb  2 18:40:32 xcp4 xapi: [debug||741 HTTPS 192.168.1.131->:::80|host.get_sched_gran R:cdd533230ce9|helpers] /opt/xensource/libexec/xen-cmdline --get-xen sched-gran succeeded [ output = '\x0A' ]
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] host.call_plugin R:4f64bd0de6ba failed with exception Server_error(-1, [ 'module' object has no attribute 'run'; ; Traceback (most recent call last):\x0A  File "/etc/xapi.d/plugins/xcpngutils/__init__.py", line 98, in wrapper\x0A    return func(*args, **kwds)\x0A  File "/etc/xapi.d/plugins/hyperthreading.py", line 14, in get_hyperthreading\x0A    result = run_command(['xl', 'info', 'threads_per_core'])\x0A  File "/etc/xapi.d/plugins/xcpngutils/__init__.py", line 67, in run_command\x0A    res = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)\x0AAttributeError: 'module' object has no attribute 'run'\x0A ])
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] Raised Server_error(-1, [ 'module' object has no attribute 'run'; ; Traceback (most recent call last):\x0A  File "/etc/xapi.d/plugins/xcpngutils/__init__.py", line 98, in wrapper\x0A    return func(*args, **kwds)\x0A  File "/etc/xapi.d/plugins/hyperthreading.py", line 14, in get_hyperthreading\x0A    result = run_command(['xl', 'info', 'threads_per_core'])\x0A  File "/etc/xapi.d/plugins/xcpngutils/__init__.py", line 67, in run_command\x0A    res = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)\x0AAttributeError: 'module' object has no attribute 'run'\x0A ])
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] 1/6 xapi Raised at file ocaml/xapi/rbac.ml, line 231
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] 2/6 xapi Called from file ocaml/xapi/server_helpers.ml, line 103
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] 3/6 xapi Called from file ocaml/xapi/server_helpers.ml, line 121
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] 4/6 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] 5/6 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace] 6/6 xapi Called from file lib/backtrace.ml, line 177
          Feb  2 18:40:32 xcp4 xapi: [error||742 :::80||backtrace]
          Feb  2 18:40:32 xcp4 xapi: [ warn||743 HTTPS 19.168.1.131->:::80|event.from D:6e6288e090db|xapi_message] get_since_for_events: no in_memory_cache!
          Feb  2 18:40:32 xcp4 xapi: [ warn||744 HTTPS 192.168.1.131->:::80|event.from D:6c41ed917a6a|xapi_message] get_since_for_events: no in_memory_cache!
          
          
          stormiS 1 Reply Last reply Reply Quote 1
          • stormiS Offline
            stormi Vates 🪐 XCP-ng Team @Andrew
            last edited by

            @andrew said in XCP-ng 8.2.1 (maintenance update) - ready for testing:

            @stormi I did a fresh install from the new ISO... after reboot I get an error reported in user.log.

            Feb  2 18:19:39 xcp4 kdump: Loaded crash kernel
            Feb  2 18:19:43 xcp4 fcoe_driver INFO: eth0 is FCoE capable
            Feb  2 18:19:43 xcp4 fcoe_driver INFO: eth1 is FCoE capable
            Feb  2 18:19:43 xcp4 fcoe_driver CRITICAL:
            Feb  2 18:19:43 xcp4 fcoe_driver CRITICAL: ['Traceback (most recent call last):\n', '  File "/opt/xensource/libexec/fcoe_driver", line 34, in execute\n    output = subprocess.check_output(cmd)\n', '  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output\n    raise CalledProcessError(retcode, cmd, output=output)\n', "CalledProcessError: Command '['fcoeadm', '-i']' returned non-zero exit status 2\n"]
            Feb  2 18:19:43 xcp4 fcoe_driver INFO: Applying config on interface: eth0
            Feb  2 18:19:44 xcp4 fcoe_driver INFO: Applying config on interface: eth1
            

            Is this something you'd reproduce with XCP-ng 8.2 at first boot?

            A 1 Reply Last reply Reply Quote 0
            • A Online
              Andrew Top contributor @stormi
              last edited by

              @stormi No, I did not see it before. Also it's not an error on hosts upgraded from 8.2.0 to 8.2.1.

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

                @andrew said in XCP-ng 8.2.1 (maintenance update) - ready for testing:

                @stormi Here's more info from the xensource.log

                I found this error happens when you use XO, click on a HOST and then the ADVANCED tab.

                We reproduced and will fix this one. Thanks!

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

                  @andrew said in XCP-ng 8.2.1 (maintenance update) - ready for testing:

                  @stormi No, I did not see it before. Also it's not an error on hosts upgraded from 8.2.0 to 8.2.1.

                  At first I don't see what could have changed here. Does the error appear to have consequences?

                  A 1 Reply Last reply Reply Quote 0
                  • A Online
                    Andrew Top contributor @stormi
                    last edited by

                    @stormi I'll say no consequences because I don't use FCoE. It looks like a timing issue with exactly when the script runs and the status of the ethernet interfaces. As I was looking at the code and the error vanished so now runs correctly (without changes).

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

                      Update! New ISOs, and various updates to the previous 8.2.1 test packages.

                      Hello dear testers.

                      It's the final sprint (~1 week!)

                      I have uploaded new installation ISO images to https://updates.xcp-ng.org/tmp/

                      Changes since last time

                      kernel-alt updated to 4.19.227

                      • @r1 has updated our alternate kernel to a much more recent maintenance release of kernel.org's 4.19 branch.
                      • To test: installation on real hardware using the alternate kernel (check the docs for instructions). Booting and using the installed system with the alternate kernel (⚠ it's not the default boot entry).

                      xcp-ng-xapi-plugins: regressions fixed

                      • Issues reported by @Andrew were fixed.

                      Includes the latest security fixes we released to XCP-ng 8.2

                      • Nothing to add about it. Check the blog.

                      UEFI: uefistored was updated

                      • This component necessary for UEFI support and Secure Boot was updated with minor fixes: logs used to contain error messages that brought nothing useful but pollution to the logs. They have been removed.

                      net-install now available

                      • You can find the netinstall ISO at https://updates.xcp-ng.org/tmp/

                      xcp-ng-release-config

                      • Fixed the cipher list in SSH configuration for people updating from an already up to date XCP-ng 8.2 (a bug in Citrix' patching of the configuration files. Reported upstream too.)
                      • Fixed a systemd symlink that was not updated properly in previous 8.2.1 packages. Nothing to do for you, just update.

                      How to test

                      If you already have an XCP-ng 8.2.1 from previous testing, just run yum update --enablerepo=xcp-ng-staging and reboot.

                      Else refer to the original post.

                      What to test

                      As usual, anything that you need XCP-ng for.

                      We also would like you to give special focus to the following items:

                      • UEFI VMs, without Secure Boot
                      • UEFI VMs, with Secure Boot (check the docs. There's a manual command to run once on the pool, to download and install the certificates from Microsoft.)
                      • On Windows installed from a not too recent image (otherwise the test is impossible), installation of update KB4535680, which updates the list of revocated certificates for Secure Boot. Should work without Secure Boot on, but we had reports of failures in this situation so I'm interested in finding a way to reproduce. Should also work with Secure Boot on.
                      • Log rotation if you have a way to trigger very verbose logs.
                      • The installer (installation, upgrade, backup restore...).
                      • Active Directory connectivity, if you know how to make it work
                      • The alternate kernel. Having it tested on a large variety of hardware would be good.
                      • Like @Andrew in this very thread, keeping an eye on new error messages in XCP-ng logs and XOA logs can also be useful.

                      Time window before final release

                      ~ one week according to my latest estimates.

                      apzA 1 Reply Last reply Reply Quote 1
                      • nikadeN Offline
                        nikade Top contributor
                        last edited by

                        Hi everyone,

                        I just installed this 8.2.1 a Dell R630 and the installer was very smooth.
                        We chose to make a new installation since the host was running XS 7.2 and we wanted a fresh install, with that came the opportunity to leverage EXT and thin provisioning which seems to work just as it should.

                        We're also mounting a NFS SR for VM disks which works fine as well. I'll have to wait and see, but hopefully the problem with /var/log/snmpd.log is resolved now and no more alerts regarding disk usage 🙂

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

                          Thanks a lot @nikade for your feedback! (also I love your avatar!)

                          nikadeN 1 Reply Last reply Reply Quote 0
                          • nikadeN Offline
                            nikade Top contributor @olivierlambert
                            last edited by

                            @olivierlambert said in XCP-ng 8.2.1 (maintenance update) - ready for testing:

                            Thanks a lot @nikade for your feedback! (also I love your avatar!)

                            Yeah, I gotta have my suit on my tux 😉

                            I wanted to inform that I've tried iSCSI with multipathing as well and it works fine.
                            So far everything we need in our general production-environment seems to be working as it should.

                            1 Reply Last reply Reply Quote 2
                            • A Online
                              Andrew Top contributor
                              last edited by Andrew

                              I ran the 8.2.1-test5 full installer booted by Ventoy-1.0.69 from USB on a nice ThinkPad T430 laptop to install to another USB SSD Stick. I then built XO from source on Bullseye as a VM. Devices (except wifi/BT/TPM) work fine on the old machine and performance is as expected. If you need a test "server", the old T430 can be dual or quad core and 16G memory with two SATA internal drives (supports intel VT).

                              I also have 8.2.1 (updated with staging) on all my other servers.

                              @stormi New error report: I do get a logged ERROR several times a minute in Dom0 on all host servers. There is more than enough free memory in Dom0:

                              xcp-rrdd-plugins.log:Feb 17 14:01:29 xcp-ng-rncjnand xcp-rrdd-gpumon: [error||0 ||xcp-rrdd-gpumon] Unexpected error (Failure "not enough memory"), sleeping for 10 seconds...
                              
                              stormiS 1 Reply Last reply Reply Quote 1
                              • stormiS Offline
                                stormi Vates 🪐 XCP-ng Team @Andrew
                                last edited by

                                @Andrew said in XCP-ng 8.2.1 (maintenance update) - ready for testing:

                                @stormi New error report: I do get a logged ERROR several times a minute in Dom0 on all host servers. There is more than enough free memory in Dom0:

                                xcp-rrdd-plugins.log:Feb 17 14:01:29 xcp-ng-rncjnand xcp-rrdd-gpumon: [error||0 ||xcp-rrdd-gpumon] Unexpected error (Failure "not enough memory"), sleeping for 10 seconds...
                                

                                Luckily, this one is not a new error. It's an unfortunate but benign side effect of building a stub version of Citrix' gpumon, which would require a proprietary nVIDIA toolkit to build properly.

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

                                  @stormi I installed a fresh host from 8.2.1 Test 5 full CD image in my homelab. This host has software RAID1 which was problematic with the last installer, now it went without issues.

                                  Now that I've installed a newer version than what's in the repos, will this work correctly in the future regarding to updates?

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

                                    @apz Yes

                                    1 Reply Last reply Reply Quote 0
                                    • stormiS stormi referenced this topic on
                                    • stormiS Offline
                                      stormi Vates 🪐 XCP-ng Team
                                      last edited by

                                      This discussion now continues here: https://xcp-ng.org/forum/topic/5594/xcp-ng-8-2-1-maintenance-update-final-testing-sprint

                                      1 Reply Last reply Reply Quote 0
                                      • stormiS stormi locked this topic on
                                      • DanpD Danp referenced this topic on
                                      • First post
                                        Last post