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

    Error importing vhd or VM

    Scheduled Pinned Locked Moved Xen Orchestra
    48 Posts 6 Posters 6.6k Views 5 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.
    • GheppyG Offline
      Gheppy @olivierlambert
      last edited by

      @olivierlambert

      2b75e292-fafe-4b9a-b1b9-4885a4a0247a-image.png

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

        Could you import this VHD with xe directly from the host? (this would tell if it's a VHD issue or XO issue).

        xe vdi-import

        GheppyG 1 Reply Last reply Reply Quote 0
        • GheppyG Offline
          Gheppy @olivierlambert
          last edited by

          @olivierlambert
          steps are?

          1. copy vhd to Xen local disk
          2. run command
            xe vdi-imporrt "name".vhd
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            xe vdi-import uuid=uuid_of_vdi filename=filename_to_import_from --progress
            
            1 Reply Last reply Reply Quote 0
            • GheppyG Offline
              Gheppy
              last edited by

              import is ok
              9db9f4be-a970-4e89-b800-8ff6353c534b-image.png

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

                Good, then it's maybe your XO build. Could you try on a fresh XOA fully up to date on latest?

                GheppyG 1 Reply Last reply Reply Quote 0
                • GheppyG Offline
                  Gheppy @olivierlambert
                  last edited by

                  @olivierlambert
                  XOA or XO form source ?

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

                    I specifically said "XOA", so it's XOA 😉 There's no "latest" on XO from the sources.

                    GheppyG 1 Reply Last reply Reply Quote 0
                    • GheppyG Offline
                      Gheppy @olivierlambert
                      last edited by

                      @olivierlambert
                      For this I need to do a little more work, it gives the same error on import for xoa_unified.xva.
                      I'm going to bring the XOCE to a working version so I can import the xva

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

                        You can deploy XOA without XO. See https://xen-orchestra.com/#!/xoa for example.

                        GheppyG 1 Reply Last reply Reply Quote 0
                        • GheppyG Offline
                          Gheppy @olivierlambert
                          last edited by

                          @olivierlambert
                          I have no internet for this network

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

                            Then use xe CLI to import manually the XVA. But you'll need to update XOA with an internet access, in order to be on latest version.

                            GheppyG 1 Reply Last reply Reply Quote 0
                            • GheppyG Offline
                              Gheppy @olivierlambert
                              last edited by Gheppy

                              @olivierlambert

                              I managed to import it with XCP-ng Center (it was easier that way). After the update to latest, the same problem.
                              xo-server 5.109.0 xo-web 5.111.0

                              Edit:
                              Downgrade to stable the same problem, but after 2 minutes of transfer
                              xo-server 5.107.5 xo-web 5.109.0

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

                                Is it possible to have access to this VHD file?

                                GheppyG 1 Reply Last reply Reply Quote 0
                                • GheppyG Offline
                                  Gheppy @olivierlambert
                                  last edited by Gheppy

                                  @olivierlambert
                                  Ill share this vhd

                                  On XOA stable I exported the VM and imported and all is ok, but on XOA I cant export VHD file ( no options)

                                  Edit:
                                  On XOA latest, I exported the VM (xva) and imported with no success

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

                                    You can export a VHD in XO. On the SR/disk tab, you should have an "export" icon to get the VHD.

                                    GheppyG 1 Reply Last reply Reply Quote 0
                                    • GheppyG Offline
                                      Gheppy @olivierlambert
                                      last edited by

                                      @olivierlambert
                                      This is what I have on XO on SR/disk tab
                                      cd3e0171-f3c7-422f-a609-d3908000b4bf-image.png

                                      And this on XOCE
                                      7c855b2f-ca13-4b2c-b4a3-5ac8941a9ae2-image.png

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

                                        Yes, that's the export button. Are you on XOA Free for the first screenshot?

                                        GheppyG 1 Reply Last reply Reply Quote 0
                                        • GheppyG Offline
                                          Gheppy @olivierlambert
                                          last edited by

                                          @olivierlambert
                                          yes, I use XOA Free

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

                                            Can you try on XOA in trial? (if you trial expired, PM me your registered email so I can extend it)

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