ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Moving a VM to a new host in Xen Orchestra

    Scheduled Pinned Locked Moved IT Discussion
    15 Posts 3 Posters 2.3k Views
    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.
    • DanpD
      Danp
      last edited by

      Yeah... that's a current XS limitation that the VM must be running in order to migrate it.

      1 Reply Last reply Reply Quote 0
      • DanpD
        Danp
        last edited by

        Haven't seen the 2nd error before. Are you running the latest version of XO?

        larsen161L 1 Reply Last reply Reply Quote 0
        • DanpD
          Danp
          last edited by Danp

          Perhaps this thread will help.

          larsen161L 1 Reply Last reply Reply Quote 0
          • larsen161L
            larsen161 @Danp
            last edited by

            @Danp recent enough I would hope, not on 4.14 yet. xo-web 4.13.0

            1 Reply Last reply Reply Quote 0
            • larsen161L
              larsen161 @Danp
              last edited by

              @Danp said:

              Perhaps this thread will help.

              could be the culprit. now trying to find out how to set/change the default SR

              1 Reply Last reply Reply Quote 0
              • larsen161L
                larsen161
                last edited by

                @Danp yup, that was it. now onto troubleshooting the next set of errors. First one was quite obvious, destination host didn't have enough RAM. The other two though I'm not finding a table of what those feature codes translate to.

                vm.migrate(...) [601ms] =!> XapiError: HOST_NOT_ENOUGH...36296192)
                
                vm.migrate(...) [738ms] =!> XapiError: VM_LACKS_FEATUR...cdfd0954)
                
                vm.migrate(...) [639ms] =!> XapiError: VM_LACKS_FEATURE_SU...1cdfd0954)
                

                Am I missing some vital info, it seem to be truncating some details there when I run the following to get those results

                sudo systemctl status xo-server.service
                
                1 Reply Last reply Reply Quote 0
                • DanpD
                  Danp
                  last edited by Danp

                  To eliminate the truncation, add the line verboseApiLogsOnErrors: true to the file .xo-server.yaml, like this:

                  sudo sed -i "$ a verboseApiLogsOnErrors: true" /opt/xo-server/.xo-server.yaml
                  

                  Then restart xo-server.

                  1 Reply Last reply Reply Quote 0
                  • DanpD
                    Danp
                    last edited by

                    From the API docs:
                    0_1456832560542_0008.jpg

                    1 Reply Last reply Reply Quote 1
                    • olivierO
                      olivier
                      last edited by

                      This means your VM doesn't have tools installed or your guest doesn't support "soft" calls to suspend/shutdown it (but hard reboot/shutdown always work, that's like pulling the power cord).

                      1 Reply Last reply Reply Quote 0
                      • larsen161L
                        larsen161
                        last edited by

                        thanks for the tips. i didn't have vm tools installed on some hosts but didn't have a chance to check again today so perhaps tomorrow success after ensuring tools are installed on all hosts. they are all on HP Proliants and just Ubuntu/Win hosts so nothing unusual that I'd expect to not support this I hope.

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