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

    xo-cli not working

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    4 Posts 2 Posters 1.0k 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.
    • jedimarcusJ Offline
      jedimarcus
      last edited by

      Try reinstalling and installing xo-cli again.

      Got version v0.11.1

      Trying to register I get the following error:

      [16:12 02] xoa:jedi$ xo-cli --register http://192.168.0.13 root
      Password: ***********
      (node:44320) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
          --> starting at object with constructor 'ClientRequest'
          |     property 'socket' -> object with constructor 'Socket'
          --- property '_httpMessage' closes the circle
          at JSON.stringify (<anonymous>)
          at prettyFormat (/usr/local/lib/node_modules/xo-cli/node_modules/exec-promise/index.js:32:15)
          at onError (/usr/local/lib/node_modules/xo-cli/node_modules/exec-promise/index.js:48:35)
          at processTicksAndRejections (internal/process/task_queues.js:97:5)
      (node:44320) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      (node:44320) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      [16:12 02] xoa:jedi$
      

      I'm trying to do this on my XOA appliance.
      npm 6.14.11
      node 14.16.0

      Any help is appreciated.

      1 Reply Last reply Reply Quote 0
      • jedimarcusJ Offline
        jedimarcus
        last edited by

        TGIF...

        you need to register to XOA, not to XCP-ng

        Error message could be more helpful though.

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

          Hmm doesn't ring any bell, @pdonias maybe?

          1 Reply Last reply Reply Quote 0
          • jedimarcusJ Offline
            jedimarcus
            last edited by

            TGIF...

            you need to register to XOA, not to XCP-ng

            Error message could be more helpful though.

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

              Indeed.

              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