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

    Vsphere Xfer failed "DEVICE_ALREADY_EXISTS"

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    13 Posts 3 Posters 1.1k 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.
    • J Offline
      jebrown
      last edited by

      So I've already transferred 31 other machines but had one fail due to a network interruption.... this was a couple of weeks ago and now I'm back to transferring, when I retry this one I get an error that the device already exists but I cannot find any drives in my iscsi storage nor is it listed in the XCP console or XOA console... How do I clean this up so I can transfer

       "succeeded": {},
        "message": "DEVICE_ALREADY_EXISTS(1)",
        "name": "XapiError",
        "stack": "XapiError: DEVICE_ALREADY_EXISTS(1)
          at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)
          at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/transports/json-rpc.mjs:38:21
          at runNextTicks (node:internal/process/task_queues:60:5)
          at processImmediate (node:internal/timers:454:9)
          at process.callbackTrampoline (node:internal/async_hooks:130:17)"
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Is this VM had any specific configuration? Like multiple CD drive or something?

        1 Reply Last reply Reply Quote 0
        • J Offline
          jebrown
          last edited by

          no nothing special,
          windows 2019 datacenter server with 3 drives 1GB, 60GB, 80GB no other drives or passthrough devices mounted.
          I've moved several others with the exact same configuration and this one was in process when we had a network failure a few weeks ago... made it to about 30% complete at that time. Now when I try, it tells me it already exists but I cannot find where its located. I checked my shared SR (iscsi) looked in XOA under vm's and checked xcp-ng host to see if it was listed.

          XCP-NG V8.3
          XOA V5.100.2

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

            I wonder if it's creating a device at the same position twice or something. IIRC, this error is raised when you try to create a VIF or a VBD at the same device position (device ID).

            What's your 1GiB drive?

            @florent any idea why?

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

              How many network interfaces are defined on this VM?

              1 Reply Last reply Reply Quote 0
              • J Offline
                jebrown
                last edited by

                @olivierlambert the 1G drive is set up for some software licensing we have.

                @Danp theres 10 VIF on that one

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

                  @jebrown For now, there is a limit of 7 network interface on a VM on XCP-ng/Xen Orchestra.

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

                    10 VIFs could work but not out of the box, that's the issue. Try to remove some VIF and try again the import 🙂

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jebrown
                      last edited by

                      That was the issue! Thank you! I reduced it to 6 and the transfer is now running......... Will there be support for more than 7 VIF's or is there a way to add more than 7 now?

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

                        You can add more via the CLI, see https://docs.xcp-ng.org/appendix/cli_reference/#vif-create

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jebrown
                          last edited by

                          Will adding by CLI cause any issues with migrations or backups?

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

                            No it shouldn't.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jebrown
                              last edited by

                              Ok, Thank you!

                              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