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

    XCP-ng 8.1 Release Candidate now available!

    Scheduled Pinned Locked Moved News
    89 Posts 16 Posters 53.0k Views 5 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 Offline
      Andrew Top contributor
      last edited by

      Yes, I installed the alt kernel and made it the default entry in grub.
      I was trying to solve an IOMMU problem on an AMD system (that is unsolvable).

      Also, I hope the microcode firmware gets updated as there are new hypervisor attacks with AMD CPUs. Yes, I know I can manually install an update but it seems more important to update it in a VM environment than on a single host. Maybe, at least, add it to testing.

      1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew Top contributor
        last edited by

        Here's more from user.log:

        Mar 11 02:50:24 node2 xsconsole: Data update failed:
        Mar 11 02:50:24 node2 xsconsole: ['HOST_HAS_NO_MANAGEMENT_IP']
        Mar 11 02:50:24 node2 xsconsole: SR data update failed:
        Mar 11 02:50:24 node2 xsconsole: string indices must be integers, not str
        Mar 11 02:50:24 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsoleImporter.py", line 49, in ImportAbsDir#012 imp.load_module(importName, fileObj, pathName, description)
        Mar 11 02:50:24 node2 xsconsole: File "/usr/lib64/xsconsole/plugins-base/XSMenuLayout.py", line 224, in <module>#012 XSMenuLayout().Register()
        Mar 11 02:50:24 node2 xsconsole: File "/usr/lib64/xsconsole/plugins-base/XSMenuLayout.py", line 180, in Register#012 data = Data.Inst()
        Mar 11 02:50:24 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsoleData.py", line 52, in Inst#012 cls.instance.Create()
        Mar 11 02:50:24 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsoleData.py", line 145, in Create#012 self.Update()
        Mar 11 02:50:24 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsoleData.py", line 343, in Update#012 self.DeriveData()
        Mar 11 02:50:24 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsoleData.py", line 361, in DeriveData#012 name = " ".join(cpu['modelname'].split())
        Mar 11 02:50:24 node2 xsconsole: *** PlugIn 'XSMenuLayout' failed to load: string indices must be integers, not str
        Mar 11 02:50:24 node2 xsconsole: Data update connection failed - retrying. Exception was:
        Mar 11 02:50:24 node2 xsconsole: ['HOST_STILL_BOOTING']
        Mar 11 02:50:24 node2 xsconsole: XAPI Failed to logout exception was
        Mar 11 02:50:24 node2 xsconsole: ['HOST_STILL_BOOTING']
        Mar 11 02:50:24 node2 xsconsole: Data update failed:
        Mar 11 02:50:24 node2 xsconsole: Could not connect to local xapi
        Mar 11 02:50:24 node2 xsconsole: SR data update failed:
        Mar 11 02:50:24 node2 xsconsole: 'NoneType' object has no attribute 'xenapi'
        Mar 11 02:50:24 node2 xsconsole: Loaded initial xapi and system data in 0.235 seconds
        Mar 11 02:50:25 node2 xsconsole: Exception: ("Unknown menu 'MENU_NETWORK'",)
        Mar 11 02:50:25 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsole.py", line 46, in <module>#012 main()
        Mar 11 02:50:25 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsole.py", line 40, in main#012 app.AssertScreenSize()
        Mar 11 02:50:25 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsoleTerm.py", line 47, in AssertScreenSize#012 self.layout.AssertScreenSize()
        Mar 11 02:50:25 node2 xsconsole: File "/usr/lib64/xsconsole/XSConsoleLayout.py", line 41, in AssertScreenSize#012 ') too small for application size ('+str(self.APP_XSIZE)+', '+str(self.APP_YSIZE) +')')
        Mar 11 02:50:25 node2 xsconsole: *** Exit caused by unhandled exception:
        Mar 11 02:50:25 node2 xsconsole: Console size (80, 23) too small for application size (80, 24)

        This systems does have a management IP.... it's setup on a VLAN attached to "Bond 0 + 1"

        1 Reply Last reply Reply Quote 0
        • R Offline
          r1 XCP-ng Team @Andrew
          last edited by

          Andrew said in XCP-ng 8.1 Release Candidate now available!:

          Using xen-cmdline --set-xen dom0_mem changes the grub.cfg entries EXCEPT the default (first) kernel-alt entry. So yes, it works, but not for the alt kernel install. Not the end of the world, I can edit the file and move on. But, should it modify all xen config lines or just the default/first one?

          xen-cmdline utility will only update the base kernel XCP-NG and XCP-ng (Serial), all other including kernel-alt are for debug purpose hence not touched. The script is also inherited from Citrix so its kept as-is.

          Regarding the SMB ISO SR, it looks like XAPI or XAPI DB might have lost username/password in upgrade, this can be checked further in relevant code base.

          Regarding XSConsole, if you have ssh access to the host, try to run it manually by # xsconsole and share the full error stack to trace further.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Andrew Top contributor
            last edited by

            The errors seem to be a boot time issue. When I run xsconsole from a shell I don't see the same errors.

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

              If you have an XOA (any version) installed and can open a support tunnel, I'm willing to have a look at the issues as part of the RC phase.

              1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team
                last edited by

                Upgraded my R620 to the RC. Noticed the following during the boot process, but it eventually loaded and seems to be functioning fine thus far --
                cc0293b6-f302-4c5e-913d-8ef680d87bfa-image.png

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

                  peder said in XCP-ng 8.1 Release Candidate now available!:

                  dariosplit I made a new 8.1-RC1 install and had the installer set up the Local SR as LVM.
                  After the installation I ran the commands in my previous example and afterwards 'mount' and 'file -sL' show that it's ext4.

                  HOWEVER; xsconsole still claims "Type : Ext3" so the console seems to have hard coded that "ext = ext3".
                  Something for RC2 sort out.

                  Now solved. Just run yum update, restart the xsconsole service, and it will display 'Ext' instead of 'Ext3'.

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    peder @stormi
                    last edited by

                    stormi Yes, that did it.
                    I suppose there's currently no way to show the actual filesystem, instead of the generic "Ext", in the xsconsole?
                    You have to resort to a shell and 'mount' or 'file -sL' to see that?

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

                      peder That would require more than just a simple fix indeed.

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

                        I have pushed three new updates: kernel-alt, xcp-python-libs and xapi(-*).

                        • kernel-alt updated to 4.19.108 by r1
                        • xcp-python-libs updated as a requirements for handling the grub configuration update when kernel-alt will be updated, now and in future updates
                        • xapi updated with code by BenjiReis to handle export and restore of VMs in a suspended state. This is a foundation for a future XO feature related to that.

                        Please update and make sure that you notice no regression related to those updates.

                        D 1 Reply Last reply Reply Quote 2
                        • D Offline
                          dariosplit @stormi
                          last edited by

                          stormi is the server restart necessary and how do I know with future updates if a server restart necessary

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

                            Rule of thumb:

                            • if there's an update on a kernel you are using in the dom0, you must reboot to run on the updated kernel
                            • if there's a Xen update, idem
                            • if there's a XAPI update, in most case, toolstack restart is enough
                            • for other thing, it's more variable and hard to predict. But let's say in general, no mandatory reboot. However I'd like to stress that rebooting is a good thing, especially for all security related updates.
                            1 Reply Last reply Reply Quote 0
                            • stormiS Offline
                              stormi Vates 🪐 XCP-ng Team
                              last edited by

                              I'd add: if you don't reboot, always restart the toolstack. It's better to restart it for nothing than to forget to restart it. Note that the above Rule of thumb is also written in the updates howto.

                              For precise instructions related to any update, refer to the blog post that announces them (until we can get them directly in XO). I try to always give such instructions. Forgot here because it's the RC.

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

                                Final release is really close. I have built "pre-final" ISOs that do not differ much from the RC except from the updated kernel-alt, xcp-python-libs, xapi and xsconsole (replaced ext3 with ext in the local SR display since it can be either ext3 or ext4 depending on when the SR was created). Another fix: the netinstall ISO now correctly detects that it is a netinstall ISO when started in UEFI mode. The only visible change is that it doesn't offer local media anymore, consistently with the behaviour it already had in BIOS mode.

                                Things to test:

                                • booting and installing kernel-alt
                                • netinstall in UEFI
                                • installation, basic features, coalesce...

                                ISOs can be downloaded from https://updates.xcp-ng.org/isos/8.1/

                                B D 2 Replies Last reply Reply Quote 0
                                • B Offline
                                  Biggen @stormi
                                  last edited by Biggen

                                  stormi

                                  I've been holding out moving to 8 until it was finalized since I'm running the experimental ext4 driver. Can you confirm the following steps for transition to 8 if running the experimental ext4 driver?

                                  1. Update to 8 and reboot
                                  2. Copy/Export VMs somewhere off ext4 experimental SR
                                  3. Unplug via CLI old experimental SR
                                  4. Forget via CLI old experimental SR
                                  5. Create new SR via CLI
                                  6. Reinstall XO
                                  7. Copy VMs back to new SR

                                  Will the below command specifically create the new SR on the host/disk of my choosing using the new ext4 driver?

                                  xe sr-create type=ext name-label=mySR host-uuid=<host_UUID> device-config:device=/dev/sdX
                                  

                                  So the above command would create the new SR using ext4 just by giving it the type of ext?

                                  I'm running MDRAID on this host and it appears that when running xe pbd-list it shows my SR in question is at device /dev/md127p4. That's partition 4 of the mdraid array that is holding the old experimental ext4 SR partition. I'm assuming when I run the above xe sr-create command that I want to make sure that I feed it device-config:device=/dev/md127p4.

                                  It looks pretty straight forward if I have the above logic right. I'll have to find out how to find my host UUID but I'm sure that is pretty easy. Copying the VMs somewhere may be a larger and more time consuming challenge.

                                  stormiS 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dariosplit @stormi
                                    last edited by

                                    stormi Will the RC release with yum update become the final release

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

                                      dariosplit Yes

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

                                        Biggen It's on my TODO list to write detailed instructions for that migration before the release. I'll follow the procedure myself and see what happens. Others can comment too and help making it perfect.

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

                                          New updates are available for those who have installed the beta, the RC or from the pre-final ISOs. They fix an issue that no one had seen yet but very important: the chronyd service was not enabled when updating via yum, nor chrony-wait.service, vm.slice and sm-mpath-root.service (Citrix Hypervisor's update from 8.0 to 8.1 exhibits the same issue).

                                          They also modify the tty console welcome message to mention Xen Orchestra as the official graphical client.

                                          I have also built new ISOs ("prefinal2") with the updated packages. I hope those will be the final ones. Download from https://updates.xcp-ng.org/isos/8.1/

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

                                            stormi said in XCP-ng 8.1 Release Candidate now available!:

                                            Biggen It's on my TODO list to write detailed instructions for that migration before the release. I'll follow the procedure myself and see what happens. Others can comment too and help making it perfect.

                                            Done: https://github.com/xcp-ng/xcp/wiki/XCP-ng-8.1-Release-Notes#migrate-from-experimental-ext4-storage-repositories

                                            B 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post