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

    VM failed and won't start. Displaying "An emulator required to run this VM failed to start"

    Scheduled Pinned Locked Moved XCP-ng
    35 Posts 2 Posters 5.6k Views 2 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

      There's something fishy about the connectivity to your storage.

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        rustylh @olivierlambert
        last edited by

        @olivierlambert I am looking into that. I just do not have much experience with the networking.

        1 Reply Last reply Reply Quote 0
        • R Offline
          rustylh
          last edited by

          I found that the SR has two NICs bonded to two different hardware switches on the iSCSI LUN. Then each host has a management network(Bonded NICS on hosts) and VM network (Bonded NICS). Should I break the SR bond and just go with one NIC? If so, I assume I would be best to shutdown the VMs until I have one NIC on SR reconfigured?

          1 Reply Last reply Reply Quote 0
          • R Offline
            rustylh
            last edited by

            Additional finding. The two switches (LAG) are Cisco with STP enabled.

            1 Reply Last reply Reply Quote 0
            • R Offline
              rustylh
              last edited by

              I am still getting " sd 7:0:0:1: rejecting I/O to offline device" taking all VMs on host down. I then shutdown the VM and power them on, on another Host. I have 4 host in a pool connected iSCSI to a Synology LUN. What is the best way to troubleshoot network issues on xcp-ng.
              Thank you

              1 Reply Last reply Reply Quote 0
              • R Offline
                rustylh
                last edited by

                Just adding another note. When I reboot the host everything is fine then the issues pops back up. There doesn't seem to be any consistency as far as timeframe in between. It just happens randomly

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rustylh
                  last edited by

                  Any help is greatly appreciated.

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

                    That's not a trivial problem that you have, it seems to be intermittent and could be anything between host and the storage. I assume you can see the issue as soon you have the rejecting I/O to offline device right?

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rustylh
                      last edited by

                      Yes

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

                        At least we know there's a root cause: the device becomes offline. Could it be a power setting or something on the device itself?

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rustylh
                          last edited by

                          Well, it doesn't happen to every host at the same time, it's just random.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            rustylh
                            last edited by

                            What log is best to look at for network disconnects?

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

                              Well dmesg is fine, I would also check the switch logs if you have anything happening on the ports where you host are connected. Since you can find when it's happening with dmesg, I would use that to correlate with anything else happening few minutes before.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rustylh
                                last edited by

                                dmesg -T is only showing these from 00:37 on.

                                [Mon Jun 30 05:55:10 2025] print_req_error: I/O error, dev sdb, sector 0
                                [Mon Jun 30 05:55:10 2025] sd 7:0:0:1: rejecting I/O to offline device

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

                                  Then try to find anything happening around that time on other hosts, equipment, storage and so on.

                                  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