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

    Host is disabled

    Scheduled Pinned Locked Moved Compute
    29 Posts 3 Posters 17.1k 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.
    • G Offline
      gawlo
      last edited by

      I restarted the toolstack on a xcp-ng 8.0 master and now he's not able to exit maintenance mode.
      If I try to start a vm it says "Cannot start here (host is disabled)" and if I try to enable it says "The host toolstack is still initializing. Please wait." - for 30 minutes.

      Is there a workaround for this?

      Regards

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

        @gawlo have you try restarting the host? may be check if xapi service is running

        systemctl status xapi.service
        
        1 Reply Last reply Reply Quote 1
        • G Offline
          gawlo
          last edited by gawlo

          @tony The xapi.service is running. No didn't try a restart - I was afraid that no VM would start up after that, but I probably have no other choice.

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

            In general, it means XAPI is waiting for something to happen. And in a lot of cases, it's related to mount waiting/PBD.plug of a storage repository.

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

              @olivierlambert I wanted to move the vdi from one local repository to another, but it didnt work - now no progress or task is running.

              Can i check the xapi status for what he is waiting for? And maybe kill this task?

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

                Check if all your SR are connected (in SR view in XO, they should be all green)

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

                  They are all green

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

                    So it might be something else then… Network unreachable somewhere? Hard to tell

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

                      Could it be a NAS (ISO Repository) who is offline?

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

                        Clearly. But you said everything was green? Anyway, this is blocking the rest.

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

                          It was yes, but the NAS was offline.
                          Now XOA shows "server_init (on myserver) 0%" in tasks. Will this exit the maintenance mode?

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO Online
                            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 Online
                                  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 Online
                                      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 Online
                                          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

                                            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