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

    not able to create VM on xvp-ng v8.0

    Scheduled Pinned Locked Moved Compute
    7 Posts 5 Posters 1.9k 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.
    • E Offline
      encryptblockr
      last edited by

      I am unable to create VMs on this XCP-ng host i installed from scratch.

      Here is logs from trying to launch a VM on it

      vm.start
      {
        "id": "156afbfe-ec01-cab8-0fa4-7f14ffb5a348"
      }
      {
        "code": "NO_HOSTS_AVAILABLE",
        "params": [],
        "call": {
          "method": "VM.start",
          "params": [
            "OpaqueRef:8954728c-4a96-47b5-b685-38c4707f7d1c",
            false,
            false
          ]
        },
        "message": "NO_HOSTS_AVAILABLE()",
        "name": "XapiError",
        "stack": "XapiError: NO_HOSTS_AVAILABLE()
          at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:11)
          at /opt/xen-orchestra/packages/xen-api/src/index.js:630:55
          at Generator.throw (<anonymous>)
          at asyncGeneratorStep (/opt/xen-orchestra/packages/xen-api/dist/index.js:60:103)
          at _throw (/opt/xen-orchestra/packages/xen-api/dist/index.js:62:291)
          at tryCatcher (/opt/xen-orchestra/node_modules/bluebird/js/release/util.js:16:23)
          at Promise._settlePromiseFromHandler (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:517:31)
          at Promise._settlePromise (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:574:18)
          at Promise._settlePromise0 (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:619:10)
          at Promise._settlePromises (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:695:18)
          at _drainQueueStep (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:138:12)
          at _drainQueue (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:131:9)
          at Async._drainQueues (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:147:5)
          at Immediate.Async.drainQueues (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:17:14)
          at runCallback (timers.js:810:20)
          at tryOnImmediate (timers.js:768:5)
          at processImmediate [as _immediateCallback] (timers.js:745:5)"
      }
      

      anything am missing here. I have also installed all patches and rebooted the host and still issue creating VM on it.

      1 Reply Last reply Reply Quote 0
      • fohdeeshaF Offline
        fohdeesha Vates 🪐 Pro Support Team
        last edited by

        How much RAM does the system have? my first guess is the host doesn't have enough free RAM to start the VM, the dom0 management VM will take some up, plus whatever VM you're trying to start

        1 Reply Last reply Reply Quote 0
        • E Offline
          encryptblockr
          last edited by

          fixed!

          issue was virtualization was not enabled in BIOS settings
          logs on XOA was not good enough

          xcp-ng center gave me a better error log message of HVM is Required for this Operation

          thanks!

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

            Ping @pdonias about improving logs. We'll see what XCP-ng Center is doing to "guess" the issue behind the scene 🙂

            1 Reply Last reply Reply Quote 0
            • T Offline
              thelearner
              last edited by

              how did you resolved that issue bro Im getting the same error "HVM is required for this operation" still enabling VT option from the BIOS settings ..please help anyone

              DarkbeldinD E 2 Replies Last reply Reply Quote 0
              • DarkbeldinD Offline
                Darkbeldin Vates 🪐 Pro Support Team @thelearner
                last edited by

                @thelearner What's the hardware your trying to work with, could you make a screenshot of the bios settings?

                1 Reply Last reply Reply Quote 0
                • E Offline
                  encryptblockr @thelearner
                  last edited by

                  @thelearner

                  https://xcp-ng.org/forum/post/20637

                  fixed!
                  
                  issue was virtualization was not enabled in BIOS settings
                  logs on XOA was not good enough
                  
                  xcp-ng center gave me a better error log message of HVM is Required for this Operation
                  
                  thanks!
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post