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

    Host is disabled

    Scheduled Pinned Locked Moved Compute
    29 Posts 3 Posters 12.3k Views 1 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      What's the result of xe task-list on the host?

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

        @olivierlambert Host ist still in maintenance mode...
        Result of xe task-list is just blank

        1 Reply Last reply Reply Quote 0
        • G Offline
          gawlo
          last edited by

          There is one SR (ISO repos) that is shown offline but it is definitely online. I cannot repair or remove it.

          If i try to remove it, xoa starts "Async.PBD.unplug" in the tasks, but after few minutes/hours the task is gone and the SR is still there.

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

            That's because XAPI tries to unplug something you can't reach. Try with xe pbd-unplug force=true uuid=<UUID>.

            1 Reply Last reply Reply Quote 1
            • G Offline
              gawlo
              last edited by gawlo

              With this command i get (copy-pasted the uuid)
              The uuid you supplied was invalid.
              type: PBD
              uuid: UUID from SR

              Edit: xe task-list = empty

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

                What UUID are you using? My command was an example.

                1 Reply Last reply Reply Quote 1
                • G Offline
                  gawlo
                  last edited by

                  I used this UUID respectively this command "xe pbd-unplug force=true uuid=b7b541e7-a44d-61b7-0db4-55a0f9ce78bb"

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

                    And are you sure this UUID was the PBD UUID? (and not the SR UUID)

                    1 Reply Last reply Reply Quote 1
                    • G Offline
                      gawlo
                      last edited by olivierlambert

                      It was the false UUID....sorry! With the correct UUID it took about 3-4 hours and I ended up with this error:

                      xe pbd-unplug force=true uuid=44e9e1b7-5a7e-8e95-c5f1-edeebbc6863c
                      Another operation involving the object is currently in progress
                      class: SR
                      object: b7b541e7-a44d-61b7-0db4-55a0f9ce78bb (NAS2 ISO)
                      <extra>: plug
                      
                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        I edited your post to use markdown syntax 🙂

                        Anyway, you have something blocking the mount or umount, try to find the process, kill him. Alternatively, lazy umount.

                        That's what happening when you remove physically a SR before removing it from XAPI 😞

                        1 Reply Last reply Reply Quote 1
                        • G Offline
                          gawlo
                          last edited by gawlo

                          Many thanks for the help!!

                          Unfortunately I still could not solve the problem. Is it advisable to restart the host completely?

                          EDIT: Found this in the xensource.log:
                          PBD.destroy locking failed: caught transient failure OTHER_OPERATION_IN_PROGRESS: [ SR; OpaqueRef:d4815da4-f7ca-40b0-ab21-f67411a7abf3; plug ]

                          I already checked all SRs and PBDs but the UUID can not be found.

                          Could this be the problem?

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

                            Yes, there's a lock somewhere on the missing SR.

                            1 Reply Last reply Reply Quote 1
                            • G Offline
                              gawlo
                              last edited by

                              But how can i find and break the lock?

                              I searched every uuid (pbd, sr, vdi, host, ..) but cannot find anything.

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

                                No I mean in the dom0 system, check if there's specific process on the mountpoint

                                1 Reply Last reply Reply Quote 1
                                • T Offline
                                  tony
                                  last edited by

                                  @gawlo to check mountpoint as olivier suggested

                                  lsof +D /mountpoint
                                  
                                  G 1 Reply Last reply Reply Quote 1
                                  • G Offline
                                    gawlo @tony
                                    last edited by

                                    @tony Where is the Mountpoint? i can not find antyhing to the uuid

                                    Or can i just reboot the xen server?

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tony
                                      last edited by tony

                                      @gawlo if you can reboot then you can try, but if the process is started after the reboot, it will still block your mountpoint.

                                      And the mountpoint is the result of this command

                                      xe pbd-param-get param-name=device-config uuid=44e9e1b7-5a7e-8e95-c5f1-edeebbc6863c
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • G Offline
                                        gawlo
                                        last edited by

                                        I tried to get the mountpoint with the command from @tony but the result always was "The uuid you supplied was invalid."

                                        To get a new/live log i restarted the toolstack (the 100th time..) and now everything is working again. I dont know why but okay..

                                        Thank you very, very much @olivierlambert and @tony for your help!!!!

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