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

    Unable to create private network

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 2 Posters 783 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.
    • Otter-7O Offline
      Otter-7
      last edited by

      Hi there,

      A new user to xcp-ng and XO. Installed the XO from the source code, following the instruction on the official docs, on an ubuntu 22.04 LTS VM.

      xcp-ng host: 8.2.1
      Xen Orchestra, commit cd28f
      xo-server 5.99.0
      xo-web 5.101.0

      In order to create a private network, I have the SDN Controller plugin enabled using self-signed certificates, using override-certs.

      Screen Shot 2022-07-28 at 10.46.17 PM.png

      When I try to create a private error, I get the following error:

      sdnController.createPrivateNetwork
      {
        "poolIds": [
          "09a80cf2-54ca-7576-0266-064e8e6078a1"
        ],
        "pifIds": [
          "535b963e-3299-8a11-bc13-1721f6d9f418"
        ],
        "name": "test",
        "description": "test",
        "encapsulation": "gre",
        "encrypted": false,
        "mtu": 1546
      }
      {
        "library": "PEM routines",
        "function": "get_name",
        "reason": "no start line",
        "code": "ERR_OSSL_PEM_NO_START_LINE",
        "message": "error:0909006C:PEM routines:get_name:no start line",
        "name": "Error",
        "stack": "Error: error:0909006C:PEM routines:get_name:no start line
          at node:internal/tls/secure-context:65:13
          at Array.forEach (<anonymous>)
          at setCerts (node:internal/tls/secure-context:63:3)
          at configSecureContext (node:internal/tls/secure-context:152:5)
          at Object.createSecureContext (node:_tls_common:117:3)
          at connect (node:_tls_wrap:1623:48)
          at TlsHelper.connect (/opt/xen-orchestra/packages/xo-server-sdn-controller/src/utils/tls-helper.js:32:20)
          at OvsdbClient._connect (/opt/xen-orchestra/packages/xo-server-sdn-controller/src/protocol/ovsdb-client.js:645:28)
          at OvsdbClient.setBridgeController (/opt/xen-orchestra/packages/xo-server-sdn-controller/src/protocol/ovsdb-client.js:248:31)
          at SDNController._setBridgeControllerForHost (/opt/xen-orchestra/packages/xo-server-sdn-controller/src/index.js:1089:19)
          at map (/opt/xen-orchestra/packages/xo-server-sdn-controller/src/index.js:1081:21)
          at Array.map (<anonymous>)
          at SDNController._setPoolControllerIfNeeded (/opt/xen-orchestra/packages/xo-server-sdn-controller/src/index.js:1080:13)
          at SDNController._createPrivateNetwork (/opt/xen-orchestra/packages/xo-server-sdn-controller/src/index.js:774:18)
          at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:306:20)"
      }
      

      Your help would be appreciated.
      Thanks.

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

        It looks like related to an invalid certificate. But @BenjiReis will tell when he's back from vacation 🙂

        Otter-7O 1 Reply Last reply Reply Quote 0
        • Otter-7O Offline
          Otter-7 @olivierlambert
          last edited by

          @olivierlambert

          Thanks, Oliver. By any chance, do you know when @BENJIREIS is back? This is for me to plan when I can resume the testing. ☺

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

            He should be back after mid-August 🙂

            Otter-7O 1 Reply Last reply Reply Quote 0
            • Otter-7O Offline
              Otter-7 @olivierlambert
              last edited by

              @olivierlambert Thank you.

              1 Reply Last reply Reply Quote 0
              • Otter-7O Offline
                Otter-7
                last edited by

                The issue was resolved after installing XO from the source on another Debian 11 VM.

                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