XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. henry.lin0u812
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    henry.lin0u812

    @henry.lin0u812

    0
    Reputation
    2
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    henry.lin0u812 Unfollow Follow

    Latest posts made by henry.lin0u812

    • RE: User credentials with xo-cli

      Ok, using a LDAP authenticated user is the problem. It works fine with a native XO account. Is there any way around this?

      posted in Infrastructure as Code
      H
      henry.lin0u812
    • RE: User credentials with xo-cli

      Humm... could you use the syntax you're using? Here's what I'm using:

      xo-cli register --au https://<XO FQDN> user "password"

      One thing that just occurred to me, I'm using an LDAP authenticated account. I'll try with a native XO account.

      posted in Infrastructure as Code
      H
      henry.lin0u812
    • RE: User credentials with xo-cli

      Yes. With the password in quotes, I get the following error.

      JsonRpcError: invalid credentials
          at Peer._callee$ (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\json-rpc-peer\dist\index.js:139:44)
          at tryCatch (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\regeneratorRuntime.js:45:16)
          at Generator.<anonymous> (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\regeneratorRuntime.js:133:17)
          at Generator.next (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\regeneratorRuntime.js:74:21)
          at asyncGeneratorStep (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:3:17)
          at _next (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:17:9)
          at **redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:22:7
          at new Promise (<anonymous>)
          at Peer.<anonymous> (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:14:12)
          at Peer.exec (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\json-rpc-peer\dist\index.js:182:20) {
        code: 3,
        data: undefined
      }
      
      posted in Infrastructure as Code
      H
      henry.lin0u812
    • User credentials with xo-cli

      I'm new to XO and I like to use xo-cli to script management tasks. I'm having an issue with user authentication when registering with an XO server. My user password contains spaces which is causing xo-cli to error when connecting.

      Is there a method to pass a password that contains spaces?

      posted in Infrastructure as Code
      H
      henry.lin0u812