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

    XenOrchestra not showing VM Disks on Pool (on single Server working) - XCP-ng Center is showing them

    Scheduled Pinned Locked Moved Xen Orchestra
    11 Posts 4 Posters 69 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 Offline
      AlexD2006
      last edited by

      Hi @all,

      i noticed a strange behaviour in one environment with one pool (2 Hosts and NFS Storage) and 2 single node xcp-ng servers.
      XenOrchestra from sources, connected directly to the pool and the 2 Servers.

      When i open a VM in XenOrchestra, resident on an a single node, i see the VM Disks in xo and similar in XCP-ng Center.
      When i open a VM in the same XenOrchestra resident on the pool (no matter if disks are on nfs shared storage or local storage of a Host), i dont see the disks in XenOrchestra (looks like no disks attached).
      But in XCP-ng Center the disks are there and the VMs are running fine.

      I did a full update today of XenOrchestra to actual commit and also upgraded the pool today (rebootet master first, then slave).
      But the issue is still the same.

      Is there anyone who has the same issue?

      Screenshots of one of the VMs on the Pool:

      in XenOrchestra
      9d3918a8-c166-4bb7-a021-1da78b1a0a49-image.jpeg

      in XCP-ng Center
      9f0ba649-9a09-4529-918f-fe25a75b5062-image.jpeg

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

        Ping @anthoineb because it might be related to an XCP-ng bug

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pilow @AlexD2006
          last edited by

          @AlexD2006 could you check directly in the disks tab of the SR if all VDIs have a snapshot icon on them ?

          A 1 Reply Last reply Reply Quote 1
          • A Offline
            AlexD2006 @Pilow
            last edited by

            @Pilow
            Indeed.
            Thats exactly the Point.

            eed106ea-681d-4378-9eb3-fa224e7101e2-image.jpeg

            All my VMs that ran into my nightly Backups, have this.
            To test it i created a new VM that didnt get a snapshop yet.
            In the new VM i see the Disks.

            P 2 Replies Last reply Reply Quote 0
            • P Offline
              Pilow @AlexD2006
              last edited by

              @AlexD2006 this is a current bug, not solved yet

              you could try that on one VM : snapshot it, revert to snapshot (VDIs will re appear in the disk tab of the VM), then delete snapshot.
              rince & repeat for each VM...

              problem of disappearing VDIs could come again.

              There is no harm to the VMs, in XO6 you should see the VDIs are there (like in XCPNG Center).
              xo-cli calls also work normal.

              A 1 Reply Last reply Reply Quote 0
              • P Offline
                Pilow @AlexD2006
                last edited by

                @AlexD2006 see here, we're in the same boat
                https://xcp-ng.org/forum/topic/11715/vdi-not-showing-in-xo-5-from-source.

                1 Reply Last reply Reply Quote 1
                • A Offline
                  AlexD2006 @Pilow
                  last edited by

                  @Pilow

                  Thanks for your Reply.
                  Just one little correction.
                  Also in XO6, the Disks are missing in the VM-VDI Tab.
                  Its exactly the same in XO5 and XO6.
                  Only in XCP-ng Center i see the Disks.

                  I noticed an additional thing.
                  In the Health-Dashboard, i see one orphaned "base copy" for each Disk that is adressed by this behaviour.

                  8d983825-6265-480e-8c95-2aa285b1c73f-image.jpeg

                  Exactly the amount of Disks of all my VMs with this problem.
                  (in the screenshot only the two of the VM of the former screenshots)
                  I am shure there are no orphaned VDIs, its just the base-copies of all my active Disks.

                  I think this could be possibly extremely dangerous, if someone has the same problem and removes the orphanes at this point.

                  But maybe i am too paranoid here?

                  acebmxerA P 2 Replies Last reply Reply Quote 0
                  • acebmxerA Online
                    acebmxer @AlexD2006
                    last edited by

                    @AlexD2006

                    Yes while this can be a scarry situation there have been multiple post about his. @pilow has been dealing with it the longs I believe.

                    Some have tried @pilow suggestion and have been good since. I would see if you can create test vm or copy one of the existing ones to try with braking a production vm.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pilow @AlexD2006
                      last edited by

                      @AlexD2006 you are right, this is dangerous.
                      I also have them old & dusty base copies from the seventies 🙂
                      87d52499-0eaf-43b0-8da5-669cea857977-image.jpeg

                      do not shoot them.

                      P A 2 Replies Last reply Reply Quote 0
                      • P Offline
                        Pilow @Pilow
                        last edited by

                        if you have other SRs, migrating VDIs/VMs is known to correct the "visual issue"

                        the bug just populates a metadata of the VDI making XOA Web UI believe it's a snapshot, and it is not...

                        a dev told us in another thread they are on it, but it will be a two phase remediation I believe, correcting the bug so that it doesn't reproduce and a way to script out this metadata on impacted VDIs

                        this is only guesses

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AlexD2006 @Pilow
                          last edited by

                          @Pilow
                          @acebmxer

                          Thanx for your replies.
                          And sorry, i havent seen your first reply between my last posts with the link to your existing Thread.

                          So, i think this is some kind of a bigger thing.
                          Will handle with care, but i have to leave for today.
                          Maybe i have time to test the snapshot and revert workarounds on the weekend.
                          But these are all production VMs.
                          Have to coordinate.
                          I have 2 NFS-SRs in the Pool.
                          Will try to migrate VMs from one to the other and see if this helps.

                          Kind Regards and thx again
                          Alex

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post