Unable to create private network
-
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.0In order to create a private network, I have the SDN Controller plugin enabled using self-signed certificates, using override-certs.
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. -
It looks like related to an invalid certificate. But @BenjiReis will tell when he's back from vacation
-
Thanks, Oliver. By any chance, do you know when @BENJIREIS is back? This is for me to plan when I can resume the testing.
-
He should be back after mid-August
-
@olivierlambert Thank you.
-
The issue was resolved after installing XO from the source on another Debian 11 VM.