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.
    • yannY Offline
      yann Vates 🪐 XCP-ng Team @Tristis Oris
      last edited by

      @Tristis-Oris Pool_role.This_host_is_broken is a bit scary, and more logs will be needed to understand how it got there. I'm trying to follow the same procedure as you to request the right lines - how exactly did you perform the master change?

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

        @yann pool>advanced>master.
        Fresh xen installation, wait some time after joining last host, then changed master. Balancer disabled, no updates, few VMs runing on all hosts.

        only one thing, master change don't work at 1st attempt - just nothing happens. Looks like task been canceled , so i repeat it again after some time.

        i don't think it totaly broken, maybe something happens at same time. but never got that issue before.

        yannY 1 Reply Last reply Reply Quote 0
        • yannY Offline
          yann Vates 🪐 XCP-ng Team @Tristis Oris
          last edited by

          @Tristis-Oris said in XCP-ng 8.3 betas and RCs feedback 🚀:

          then changed master

          Could you please detail that part a bit more? I understand you used XO, but which screen and which action?

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

            @yann 3a255a6e-39f2-4610-8b71-bccc72688268-image.png

            yannY 1 Reply Last reply Reply Quote 0
            • N Offline
              nomad @nomad
              last edited by

              @Greg_E I forgot to mention a potentially important step just before the reimage from BIOS -> UEFI.

              After you've drained the host disconnect it from the pool.

              so:
              reimage all hosts in whatever mode they're in
              migrate all VMs from the target to be changed to UEFI
              disconnect said target from the pool
              reimage target with UEFI boot
              reconnect target to the pool

              nomad

              1 Reply Last reply Reply Quote 0
              • yannY Offline
                yann Vates 🪐 XCP-ng Team @Tristis Oris
                last edited by yann

                @Tristis-Oris thanks!

                I realize one thing is not clear to me: is the "unreachable master" in your situation the one you switched to, or the original master? And how many hosts in total are in this pool when you launch this operation?

                The logs we'll need to analyze will be the xensource.log from the first occurrence of designate_new_master on both old and new master, until the time of that exception.

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

                  @yann new one.

                  new part1 https://pastebin.com/ij0B7KHy
                  new part2 https://pastebin.com/0tQyvesY
                  old https://pastebin.com/dvAkEEbY

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

                    on 8.3 pool more and more VMs became attached to Control Domain. Backups fail due VDI_IN_USE.

                    can't unplug vdi:
                    xe vbd-list vm-uuid=***
                    xe vbd-unplug uuid=***
                    The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem.
                    message: Expected 0 or 1 VDI with datapath, had 5

                    can't migrate to 8.2 pool due incompatible versions.

                    and already got coalesce on VM without backup.

                    upd
                    removed all stuck vdi, but sr coalesce won't move.

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

                      @Tristis-Oris after i fixed all dom0 stuck VDIs, backup succeed once and now stuck again.

                      yannY 1 Reply Last reply Reply Quote 0
                      • yannY Offline
                        yann Vates 🪐 XCP-ng Team @Tristis Oris
                        last edited by

                        @Tristis-Oris very strange, your log seems to show that 2 designate_new_master requests were handled one after the other (at 12:11:33 and 12:12:45), both to switch to the same host - and we see in the logs that while the 1st one got all phases executed (1, 2.1, 2.2), the second one starts to have issues during "Phase 2.1: telling everyone but me to commit". Sending a second request should indeed not trigger the whole thing again, so something apparently went quite wrong, but what is indeed not obvious.

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

                          @yann so, i don't get indication about running master change and was able to run it again.

                          yannY 1 Reply Last reply Reply Quote 0
                          • yannY Offline
                            yann Vates 🪐 XCP-ng Team @Tristis Oris
                            last edited by

                            @Tristis-Oris Oh OK. Had a try to run it several times myself (though on a 2-host pool), and I was able to see the operation performed twice, though apparently the second op did finish.
                            Running from the shell, if launch a second xe pool-designate-new-master while the first has not returned yet, it gets a DESIGNATE_NEW_MASTER_IN_PROGRESS error, but once it has returned there seem to be a window to do strange things.

                            1 Reply Last reply Reply Quote 1
                            • yannY Offline
                              yann Vates 🪐 XCP-ng Team @Tristis Oris
                              last edited by

                              @Tristis-Oris and with a 3-host pool I can reproduce you issue on 2nd attempt: new master loses its xapi process

                              When the master is changed, the xapi service is stopped and then restarted but something seems to get wrong this time.

                              Among issues I realize that my former-master shows this at the time of the failing switch:

                              Oct 14 15:20:50 xcpng83-bzkcpvhy xsh: [ warn||0 ||xsh] TLS verification is disabled on this host: /var/xapi/verify-certificates is absent
                              

                              (while both other hosts do have that file)

                              daemon.log on new-master shows systemd desperately trying to restart xapi:

                              Oct 14 15:20:59 xcp-ng-hqerhcgv xapi-init[1244028]: Stopping xapi: [  OK  ]
                              Oct 14 15:20:59 xcp-ng-hqerhcgv systemd[1]: Unit xapi.service entered failed state.
                              Oct 14 15:20:59 xcp-ng-hqerhcgv systemd[1]: xapi.service failed.
                              Oct 14 15:20:59 xcp-ng-hqerhcgv systemd[1]: xapi.service holdoff time over, scheduling restart.
                              Oct 14 15:20:59 xcp-ng-hqerhcgv systemd[1]: Cannot add dependency job for unit lvm2-activation.service, ignoring: Unit is masked.
                              Oct 14 15:20:59 xcp-ng-hqerhcgv systemd[1]: Cannot add dependency job for unit lvm2-activation-early.service, ignoring: Unit is masked.
                              Oct 14 15:20:59 xcp-ng-hqerhcgv systemd[1]: Starting XenAPI server (XAPI)...
                              Oct 14 15:20:59 xcp-ng-hqerhcgv systemd[1]: Started XenAPI server (XAPI).
                              Oct 14 15:20:59 xcp-ng-hqerhcgv xapi-init[1244047]: Starting xapi:
                              Oct 14 15:21:00 xcp-ng-hqerhcgv systemd[1]: xapi.service: main process exited, code=exited, status=2/INVALIDARGUMENT
                              Oct 14 15:21:00 xcp-ng-hqerhcgv xapi-init[1244078]: Stopping xapi: [  OK  ]
                              

                              and xensource.log is very similar to yours. Congrats, that's a nice bug 🙂

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

                                @yann yay! 😃

                                yannY 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Strebor
                                  last edited by

                                  Just a note to say thanks to all involved! Excellent job!

                                  I yesterday upgraded our 8.3 release pool to 8.3 production. 2x Intel NUC11TNKi5. Running very nicely! The upgrade from release candidate with the ISO written to USB media went smoothly. Also the yum updates after the upgrade.

                                  Now looking forward to see XO Lite be completed!
                                  Keep up the great work!

                                  1 Reply Last reply Reply Quote 3
                                  • yannY Offline
                                    yann Vates 🪐 XCP-ng Team @Tristis Oris
                                    last edited by

                                    @Tristis-Oris I also reproduced the issue on 8.2.1, and record the issue. As for your pool left in a tricky state, would it be reasonable for you to reinstall the impacted hosts?

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

                                      @yann yep, already reinstall it.

                                      1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        gb.123
                                        last edited by

                                        Installed in my Homelab. Install went smoothly.

                                        Small bugs I have noticed :
                                        1.
                                        XCP-NG Install Error.jpg

                                        This ONLY happens when using KVM and 'scaling' the display to fit window.

                                        XCP-NG Update Error.jpg

                                        This happens ONLY on the first boot after applying patch ( 6 programs ) once release iso is installed.
                                        This goes away from the second boot.


                                        Everything seems to be working smoothly for now. Kudos to the Vates Team !

                                        1 Reply Last reply Reply Quote 1
                                        • G Offline
                                          gb.123
                                          last edited by gb.123

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • stormiS Offline
                                            stormi Vates 🪐 XCP-ng Team
                                            last edited by

                                            Regarding xsconsole, I think it always had this issue where at some point it thinks (rightfully or not) that the screen is too small for it to run.

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