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

    Recovery after power outage

    Scheduled Pinned Locked Moved Solved Compute
    8 Posts 2 Posters 58 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.
    • R Offline
      roaringsilence
      last edited by

      Power outage last night caused some issues. All of my virtual machines are in a halted state, and I cannot get them to clear that state.

      Using version 8.3, all VMs are on iSCSI on a QNAP device

      Troubleshooting steps performed so far:

      • Rebooted hosts multiple times
      • Attempted to follow the instructions here: https://rieskaniemi.com/troubleshooting-vm-shutdown-and-reboot-issues-on-xcp-ng-server/
      • Power states would not clear at all
      • The only domain running was dom0
      • Followed documentation here to check iSCSI connections: https://docs.xcp-ng.org/troubleshooting/storage/iscsi-troubleshooting/

      On the iSCSI troubleshooting I can force the connections, but I cannot tell in XCP whether the storage is properly mounting.

      Any additional information would be welcome as I try to work through this!

      DanpD 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team @roaringsilence
        last edited by

        @roaringsilence Please share with us one of the logs where the VM start task fails. Are the hosts showing as connected on the SR's Host tab?

        Dan

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          roaringsilence @Danp
          last edited by

          @Danp Can you provide me links to the commands you need for the log output? Or just the log locations so I can get the output?

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            I assumed that you had an instance of XO up and running. If so, then you should find the error logs under Settings > Logs.

            If you are starting from the CLI, then often there is some error information output directly in the console. Otherwise, check the log files.

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              roaringsilence @Danp
              last edited by

              @Danp my XO instance is hosed since it lives on the iSCSI target so I cannot access those logs.

              DanpD 1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team @roaringsilence
                last edited by

                @roaringsilence Are you using XOA or XO from sources? Have you tried using xo-lite to start a VM? Did you check any of the logs as shown in the link I posted previously?

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  roaringsilence @Danp
                  last edited by

                  @Danp using XOA on the starter version. I made it back home this evening and everything started up without issue, was also wrong I had done NFS rather than iSCSI so I was poking at the wrong datastore.

                  DanpD 1 Reply Last reply Reply Quote 1
                  • DanpD Offline
                    Danp Pro Support Team @roaringsilence
                    last edited by

                    @roaringsilence Glad you got it all sorted out. 😉

                    1 Reply Last reply Reply Quote 1
                    • olivierlambertO olivierlambert marked this topic as a question
                    • olivierlambertO olivierlambert has marked this topic as solved
                    • First post
                      Last post