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

    XCP-ng 8.3 betas and RCs feedback πŸš€

    Scheduled Pinned Locked Moved News
    792 Posts 89 Posters 1.3m Views 69 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.
    • jhansenJ Offline
      jhansen
      last edited by

      Version XCP-NG 8.3 RC
      XO lastest version

      Hello,
      I use XO with Delta Backup to back up my VM's. I have activated NBD and CBT in the backup. The backups run via the management interface with NBD activated.
      The first full backup runs error-free.
      The second backup with delta gives me the error message cleanVm: incorrect backup size in metadata and VDI_IN_USE and the backup ends with an error.
      After the delta backup, I then have snapshots on the storage that are blocked with "Control domain on host xxx". I can then no longer delete these. The only option is to reboot all Xen servers in the pool, after which the snapshots are still there, but can then be disconnected and forget to get them deleted.
      I was able to reproduce this error on different pools with different servers, all 8.3. It is always different VMs that trigger the error and others that are backed up without errors.
      If I delete all control domain blocked snapshots and also the purged snapshot from the storage, the next full backup runs error-free again.
      Does anyone have the same problem and maybe a solution?
      regards Joerg

      1 Reply Last reply Reply Quote 0
      • jhansenJ Offline
        jhansen
        last edited by

        I saw that Tristis Oris seems to have a similar problem with snapshots.

        Something else, when updating from 8.2.1 to 8.3 RC.
        My 8.2.1 servers were still running on BIOS boot. When updating to 8.3 RC I got the message that there was still a DOS table on the hard drive and the update from the USB stick was aborted.
        A newly installed 8.3 server with UEFI cannot be integrated into the old 8.2 pool.

        Here is a small workaround:
        2 USB sticks, one with 8.2.1 and one with 8.3 RC.
        Take one server out of the pool, not the master.
        Reinstall with UEFI on 8.2.1.
        Integrate server into the old pool.
        make server as new pool master.
        The server can now be updated to 8.3 without any problems, the master is on UEFI and all pool information and VM are on 8.3.
        Now just take all other servers out of the pool, do a clean 8.3 UEFI installation and put them back into the pool.

        Maybe that will help others with the same problem.

        regards Joerg

        stormiS 2 Replies Last reply Reply Quote 2
        • MathieuM Offline
          Mathieu @Tristis Oris
          last edited by

          @Tristis-Oris
          It seems that since updating to 8.3, I also have VDI attached to control domain I cannot delete, they appear after a backup.
          The only solution to forget them is to a pool reboot.

          1 Reply Last reply Reply Quote 0
          • stormiS Offline
            stormi Vates πŸͺ XCP-ng Team @jhansen
            last edited by

            @jhansen said in XCP-ng 8.3 betas and RCs feedback πŸš€:

            Something else, when updating from 8.2.1 to 8.3 RC.

            Are you updating to 8.3 RC when the official 8.3.0 is now released?

            jhansenJ 1 Reply Last reply Reply Quote 0
            • stormiS Offline
              stormi Vates πŸͺ XCP-ng Team
              last edited by

              Given the diversity of issues reported above, and the fact that XCP-ng 8.3 is now released, I strongly suggest you all create new topics in the forum. You can reference them once in this thread to help them get attention, no problem with that.

              1 Reply Last reply Reply Quote 0
              • stormiS Offline
                stormi Vates πŸͺ XCP-ng Team @jhansen
                last edited by

                @jhansen said in XCP-ng 8.3 betas and RCs feedback πŸš€:

                My 8.2.1 servers were still running on BIOS boot. When updating to 8.3 RC I got the message that there was still a DOS table on the hard drive and the update from the USB stick was aborted.
                A newly installed 8.3 server with UEFI cannot be integrated into the old 8.2 pool.

                Here is a small workaround:
                2 USB sticks, one with 8.2.1 and one with 8.3 RC.
                Take one server out of the pool, not the master.
                Reinstall with UEFI on 8.2.1.
                Integrate server into the old pool.
                make server as new pool master.
                The server can now be updated to 8.3 without any problems, the master is on UEFI and all pool information and VM are on 8.3.
                Now just take all other servers out of the pool, do a clean 8.3 UEFI installation and put them back into the pool.

                Let's add that there must be no VMs on local storage on the server you reinstall, of course. Other than that, I like this workaround!

                CC @yann, do you think it's worth adding this to the release notes?

                jhansenJ 1 Reply Last reply Reply Quote 2
                • jhansenJ Offline
                  jhansen @stormi
                  last edited by

                  @stormi
                  Sorry, I was a bit confused this morning when I saw all the errors. Of course it wasn't an update to 8.3 RC but to 8.3.0 Official.
                  Very strange thing, I checked my test lab server, it's the only pool that doesn't have the error. Full backup and several delta backups, all OK.
                  The only difference between this and the other pools is that this one was running with 8.3 RC2 and was only updated to 8.3.0 official with yum update.
                  I have now cleaned a faulty pool, removed all snapshots, removed the NDB and CBT in the backup and removed the NBD interface in the pool. I'm currently doing a full backup on this pool and will then do several deltas to narrow down the error a bit.
                  Regards, Joerg

                  jhansenJ 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Ajmind 0 @Finallf
                    last edited by

                    @Finallf

                    already done but with same result. 😒

                    1 Reply Last reply Reply Quote 0
                    • jhansenJ Offline
                      jhansen @stormi
                      last edited by

                      @stormi
                      Of course, you shouldn't have a VM on the local storage.
                      It's also a good idea to write down the IPs, MACs and the number of the NICs beforehand. It can happen during the new installation that the order of the network cards changes.
                      Final tip: if you use iSCSI storage and use the iSCSI IQN as identification, you should also write this down beforehand and set it on the newly installed server before you put the server in the pool, otherwise you will have problems with the iSCSI storage.

                      1 Reply Last reply Reply Quote 0
                      • jhansenJ Offline
                        jhansen @jhansen
                        last edited by

                        @stormi
                        Test with removed the NDB and CBT in the backup and removed the NBD interface in the pool.
                        Fullbackup Okay
                        Multiple delta backups all Okay no errors.
                        The error lies in the NBD or CBT.
                        But why not on the pool updated with yum from 8.3 RC2 ????

                        Can someone create a new topic?

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

                          @jhansen yum update not intended.

                          jhansenJ 1 Reply Last reply Reply Quote 0
                          • jhansenJ Offline
                            jhansen @Tristis Oris
                            last edited by

                            @Tristis-Oris Not in your case?

                            In the Release Information about 8.3 you can read:
                            "Users who installed a prerelease of XCP-ng 8.3 must upgrade to the final 8.3.0 version using the installation ISO image. The only exception is for users who installed XCP-ng 8.3 RC2 or have already upgraded to RC2 using the installation ISO image. These users can simply update their system without needing the ISO image."

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

                              @jhansen ah. maybe only this way.

                              1 Reply Last reply Reply Quote 0
                              • jhansenJ Offline
                                jhansen
                                last edited by

                                Status quo:
                                I have now reduced the problem to the NBD.
                                With an NBD full backup, everything seems to be working.
                                With a delta backup, NBD leaves snapshots that are blocked by the control domain of the various Xen servers. These can only be disconnected/forgotten and then deleted after a reboot of the hole pool or individual reboot of all Xen servers in the pool. The last option at least gives you the chance of a reboot without shutting down all VMs, if the pool has several Xen servers. But all servers in the pool must be rebooted.
                                Unfortunately, an xe-tool restart is not enough.
                                The activation/deactivation of CBT does not matter.
                                All backups without NBD run without errors.
                                This error occurs on all Xen servers installed from USB Image 8.3 officially. My lab pool, which was updated from 8.3RC2 to 8.3 Official via yum, doesn't seem to have the problem. 1 full backup and 4 delta backups ran without errors and without blocked snapshots.

                                As I urgently need a current backup, I deactivated all NBD backups and set the server interface back to NO NBD. The standard delta backups are now running without errors again.

                                I left my LAB pool on NBD with CBT to see if the error occurs there in the next few days.

                                I actually wanted to create a new topic for the problem, but I'm not really sure which category I should put it under.

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

                                  i also removed one 8.3 pool from nbd backup, create the usual one. Looks it work fine.

                                  MathieuM 1 Reply Last reply Reply Quote 0
                                  • MathieuM Offline
                                    Mathieu @Tristis Oris
                                    last edited by

                                    Hello,

                                    Indeed, disabling NBD for the delta backups, they are no more VDI attached to Dom0.

                                    My upgrade path was from 8.2.1 stable to 8.3 using the ISO installation.

                                    1 Reply Last reply Reply Quote 0
                                    • jhansenJ Offline
                                      jhansen
                                      last edited by

                                      @Tristis-Oris @Mathieu
                                      Hello, I'm glad I could help you, but it would be nice if the NBD worked. I was able to save a lot of space on the storage with NBD and CBT. I hope that in the not too distant future it will work again like in 8.2.1
                                      My 8.3 LAB pool, updated with yum, made an error-free delta backup with NBD and CBT last night, just like my last 8.2.1 pool.
                                      regards Joerg

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

                                        Since you are able to reproduce consistently the issue, it might be interesting to get more logs/debug to find the root cause πŸ™‚ Pinging @dthenot and all relevant people that could help in here πŸ™‚

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

                                          @Ajmind-0 there may be more details in the log a bit before those last lines, and they would not be visible because of the screen size and volume of logs. You can switch to the console with a shell and have a look into /tmp/install-log, there may be some more useful info in there.

                                          A 1 Reply Last reply Reply Quote 0
                                          • jhansenJ Offline
                                            jhansen @olivierlambert
                                            last edited by

                                            @olivierlambert
                                            Unfortunately, I don't have much time in the next few days.
                                            On Sunday I will reset one of the pools with the error to NBD / CBT Delta Backup and then pull the logs and compare them with the one from the working 9.3. Let's see if I can see anything there. If not, I will send you the logs. I will also take a closer look at which processes are stuck there. It looks to me like there are ghost processes running there that don't terminate but seem to continue to block the snapshot. That also seems to be the reason why the snapshot cannot be deleted, except after a reboot.
                                            If I have time, I will also set up a new pool with 9.3 RC2 and then update it to 9.3 officially via yum, just to see if it can then also do error-free NBD deltas.
                                            Regards Joerg

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