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

    Latest XCP-ng 8.2: Cannot import XVA, even with latest XOA

    Scheduled Pinned Locked Moved Xen Orchestra
    19 Posts 2 Posters 4.3k 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.
    • B Offline
      bsodmike
      last edited by

      Hi all,

      Today I've setup a fresh install of XCP-ng 8.2 (latest) on a new Dell R740xd server. I also downloaded the latest version of XCP-ng Center 20.04.01. This is what I tried:

      • First I tried to import an XVA backup through XCP-ng Center. It would show a yellow VM and hang at that point.
      • I tried exposing an NFS share to xcpng (host) and ran xe vm-import filename=/tmp/cifsmount/xcpng_vm_backups/20200707T203024Z.xva force=true sr-uuid=d1cdbdfd-1c84-6175-40dc-184bc77297fd. As per the docs, a good import will cause that command to terminate by printing the UUID for the new VM. However, it never terminates, not even in a screen session.
      • Last option, I've installed XOA (latest) and tried importing the same XVA. No luck.
      • I have of course tried other XVA backups, nothing works.

      Right now I'm testing the XOA cli tool and trying to see if this works. Can someone help please?

      Thanks, Mike.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bsodmike
        last edited by

        Not much luck here either.

        root@xcpng-host0-xoa:/mnt/linux_data/xcpng_vm_backups/docker0# xo-cli vm.import sr=d1cdbdfd-1c84-6175-40dc-184bc77297fd @=20200707T203003Z.xva
        āœ– Internal Server Error
        Error: Internal Server Error
            at onResponse (/usr/local/lib/node_modules/xo-cli/node_modules/http-request-plus/dist/index.js:230:21)
            at processTicksAndRejections (internal/process/task_queues.js:93:5)
        
        1 Reply Last reply Reply Quote 0
        • olivierlambertO Online
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          This is clearly not a client issue, but a host issue (or a XVA problem).

          Why using force with xe by the way? Let's talk with xe only which is the safest best.

          1. When you start the import, is there a task created?
          2. Check the usual logs (xensource.log)
          B 1 Reply Last reply Reply Quote 0
          • B Offline
            bsodmike @olivierlambert
            last edited by

            @olivierlambert Yes, a task is created (in XOA), which never ends.

            With xe vm-import it creates a VM in yellow state, but never progresses beyond that.

            I just setup a fresh install of Ubuntu 20, I'll export it and try and re-import it as XVA.

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

              Is the task having any progress?

              B 3 Replies Last reply Reply Quote 0
              • B Offline
                bsodmike @olivierlambert
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • B Offline
                  bsodmike @olivierlambert
                  last edited by

                  @olivierlambert Hang on there's a sliver of progress now!

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bsodmike @olivierlambert
                    last edited by

                    @olivierlambert It's showing 1% but not doing much beyond that.

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

                      Anything happening in xensource or SMlog?

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        bsodmike @olivierlambert
                        last edited by

                        @olivierlambert Nothing out of the ordinary. Still 1%.

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

                          Then you have an issue on the storage or in the XVA file itself.

                          B 2 Replies Last reply Reply Quote 1
                          • B Offline
                            bsodmike @olivierlambert
                            last edited by

                            @olivierlambert it's definitely not the storage, will try a different XVA to isolate.

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bsodmike @olivierlambert
                              last edited by

                              @olivierlambert Are there any compatibility issues, i.e. say exporting a XVA with an older version of XCPng and trying to import with a newer version?

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

                                No known issue with XVA import. Nor any recent tickets about this kind of problem.

                                B 3 Replies Last reply Reply Quote 0
                                • B Offline
                                  bsodmike @olivierlambert
                                  last edited by

                                  @olivierlambert Thanks your comments got me thinking, it could be the NFS mount connection is dropping out; trying a test now to mount it via fstab in XCPng.

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    bsodmike @olivierlambert
                                    last edited by

                                    @olivierlambert here's another clue. If I mount my local CIFS share onto the XCPng host, after a while I cannot do

                                    cd /mnt
                                    ls -la
                                    # it just hangs here.  I have to kill the SSH session and SSH back in
                                    

                                    This only happens after mounting the CIFS share the very first time after boot.

                                    Thoughts?

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      bsodmike @olivierlambert
                                      last edited by

                                      @olivierlambert bit more info

                                      [20:42 xcpng-host0 ~]# mount -t cifs
                                      //10.0.x.x/linux_data on /mnt/linux_data type cifs (rw,relatime,vers=3.0,cache=strict,username=myuser,uid=0,forceuid,gid=0,noforcegid,addr=10.0.x.x,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,noperm,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)
                                      [20:42 xcpng-host0 ~]# cd /mnt/linux_data
                                      # it just hangs here.  I have to kill the SSH session and SSH back in
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • olivierlambertO Online
                                        olivierlambert Vates 🪐 Co-Founder CEO
                                        last edited by

                                        That's your problem: fix your storage (reboot your host to see), and then import will work šŸ™‚

                                        B 1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          bsodmike @olivierlambert
                                          last edited by

                                          @olivierlambert Hah, indeed it was! CIFS is totally unstable, but I was able to get NFS working with these configs:

                                          mount -o vers=3,soft,mountproto=tcp [IP]:/share /mnt/nfs_share/backup.xva
                                          
                                          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