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

    XCP-ng 8.1.0 beta now available!

    Scheduled Pinned Locked Moved News
    63 Posts 16 Posters 33.5k Views 9 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.
    • H Offline
      HeMaN
      last edited by HeMaN

      Ok, new issue after the update:
      After the reboot of the server none of the VM's were started (including the VM with XO from the sources). I checked this in the status screen with a display connected to the server.

      I downloaded the latest daily version of xcp-ng center. Was able to connect to the server but no vm's were started as suspected.

      There I saw an error for my ISO repository that resides on my NAS (Samba). Trying to solve it from xcp-ng center did not work (SM has thrown thrown a generic python exception).

      I was able to start the XO vm and from there when trying to reconnect the ISO repository I got this error in the log:
      SR_HAS_NO_PBDS(OpaqueRef:d259a8f1-6bbe-46bb-b135-447bb352e888)

      When trying to reconnect from the console:

      [13:21 xenserver-2 ~]# xe pbd-list
      uuid ( RO)                  : 46ee05c2-2f4d-ecbf-cbbd-5194384df464
                   host-uuid ( RO): 0092f4dd-09ae-41ba-98e6-2d45febf0e77
                     sr-uuid ( RO): ebc08968-b804-4cd5-7c1e-9e5f2c37e2de
               device-config (MRO): iso_path: /Xen; location: //n5550.home.xxx.yyy/Bestanden; type: cifs; vers: 3.0
          currently-attached ( RO): false
      
      
      [13:22 xenserver-2 ~]# xe pbd-plug uuid=46ee05c2-2f4d-ecbf-cbbd-5194384df464
      Error code: SR_BACKEND_FAILURE_1200
      Error parameters: , 'username',
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        HeMaN
        last edited by

        Did some googeling and testing, but could not get the ISO repository to connect.
        Finally simply deleted the repository and created a new one to the same samba share. That worked at once.

        Think I might have created the issue myself bij not having ejected one "cd" from one of the vm's. Not sure is this was the cause, but will update my own documentation to eject all cd's first 🙂

        • Another thing I noticed is my VM's I set to autostart at boot do not autostart anymore at all.

        I already tried removing and setting the autostart option again for those vm's in XO, but after a reboot they still do not autostart

        1 Reply Last reply Reply Quote 0
        • G Offline
          gdixon @olivierlambert
          last edited by

          @olivierlambert Sorry. I'm new to this. Can you point me to a description of how it should look? Thanks. I appreciate your patience.

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

            31c5e1ae-11d3-4bae-af37-004af53ca2e7-image.png

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

              @gdixon so I just added a virtual disk to an XCP-ng 8.1 VM (I often use nested virtualisation for testing) that appeared as sdc. I connected that XCP-ng host to Xen Orchestra and used XO to create an ext SR.

              That SR was created as ext4. No need for sm-additional-drivers for ext4 in XCP-ng 8.1.

              Extract from fstab

              /dev/mapper/XSLocalEXT--d0866df5--f9fe--2c3a--1332--8d549468dce7-d0866df5--f9fe--2c3a--1332--8d549468dce7 on /run/sr-mount/d0866df5-f9fe-2c3a-1332-8d549468dce7 type ext4 (rw,relatime)
              

              Note: even for ext local SRs, XCP-ng uses an LVM layer on top, hence the output of lsblk.

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

                About VM autostart: as @r1 found out, there's a missing symlink in an XCP-ng updated via yum. That's a bug in the upgrade scripts that is present in CH 8.1 too, and we reported it to them.

                Here's the fix:

                systemctl enable xapi-wait-init-complete.service
                
                S H 2 Replies Last reply Reply Quote 2
                • S Offline
                  speedy01 @stormi
                  last edited by

                  @stormi @r1

                  great find! I tested this, and it appears to at least correct the issue with autostart.
                  Thanks

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

                    Thanks for the feedback 🙂

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      HeMaN @stormi
                      last edited by

                      @stormi @r1 thank you! I do not have the equipment to test with ch8.1 but this is solved already I see. great catch

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

                        Indeed, also we reported the problem to Citrix, they might provide a fix one way or another.

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

                          Announcement about our former experimental ext4 SR driver:

                          It is now deprecated in 8.1. For a good reason: in XCP-ng 8.1 and above, following upstream changes, the ext driver now formats new SRs as EXT4.

                          There is no easy way to convert an existing SR created with our driver, so those using it will need to move the VDIs out (to another SR or to export them), destroy the SR and create an EXT SR instead. Make sure to do this on XCP-ng 8.1.

                          The sm-additional-drivers package remains available in XCP-ng 8.1 in order to ease the transition (update: and also because it contains the XFS driver). However I've broken the sr-create command on purpose. Any attempt to create a SR of type ext4 will result in an error with a message that explains that you need to use the ext type instead.

                          Our experimental driver will be completely removed in a later release, possibly XCP-ng 8.2. Unless someone convinces me to delay the removal for a good reason. I will accept reasons such as "I know I shouldn't have used the experimental driver in production, but I did and need more time to convert my SR while at the same time I really need feature xxx from XCP-ng 8.2", but I really would prefer to drop it in 8.2.

                          Feedback from people doing the transition is welcome to make sure we document the transition in the best way possible.

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            speedy01 @stormi
                            last edited by

                            @stormi
                            what's the status of the xfs driver? Are you expecting that to be removed/deprecated as well?

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

                              No, it's still there and still working but not officially supported.

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

                                New leaf coalesce logic using dynamic limits

                                I have backported patches from sm's master branch, that implement a new, smarter, logic for leaf coalescing.

                                Just update your 8.1 beta, restart the toolstack, and that should be it.

                                Those interested in the patches, see https://github.com/xcp-ng-rpms/sm/commit/ed1a55d727846cf5777c8258e6a8f3b068e8a35b (python code).

                                0 stormi committed to xcp-ng-rpms/sm
                                New leaf coalesce logic with dynamic limits
                                
                                Patches backported from master
                                _danielgurgel_ 1 Reply Last reply Reply Quote 1
                                • _danielgurgel_ Offline
                                  _danielgurgel @stormi
                                  last edited by

                                  @stormi plus this update?
                                  https://support.citrix.com/article/CTX269586

                                  stormiS 1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    Biggen
                                    last edited by

                                    All my SRs are using the ext4 driver.

                                    So I just need to export the VMs, (to a NAS for example), destroy the SR, and recreate the SR, then import the VMs?

                                    I guess I’ll need to use XCP Center for this since I use XO community running on the SR that needs to be destroyed/recreated in a Debian VM.

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

                                      Did anyone try VM export/import to see how much the performance has been improved?
                                      More interesting would be if someone tried it with 10G or making backups with XOA.

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

                                        When will the final version of XCP-ng 8.1.0. be available?

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

                                          RC should be there pretty soon. https://github.com/xcp-ng/xcp/issues/328

                                          stormi created this issue in xcp-ng/xcp

                                          closed XCP-ng 8.1 (meta issue) #328

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            Biggen
                                            last edited by

                                            I’ll wait till 8.1 drops before I mess with changing SR storage types.

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