Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    326 Topics
    2k Posts
    @olivierlambert Hi Olivier, See attached (never realised you could just download these! Would have been handy a few times in the past...) Apologises for the large size, the full error message was too large so snipped out a load of the UUID's. plugin.configure { "id": "perf-alert", "configuration": { "hostMonitors": [ { "smartMode": false, "uuids": [ ], "alarmTriggerLevel": 90, "excludeUuids": false } ], "vmMonitors": [ { "uuids": [ "5f7e0255-4946-9399-f3b4-124cf668138e", "6dcfd1b6-f380-a6b5-7307-40be4af070bb", ], "smartMode": true, "alarmTriggerLevel": 90, "alarmTriggerPeriod": 600, "excludeUuids": false }, { "smartMode": false, "variableName": "memoryUsage", "alarmTriggerLevel": 90, "uuids": [ "5f7e0255-4946-9399-f3b4-124cf668138e", "6dcfd1b6-f380-a6b5-7307-40be4af070bb", ], "excludeUuids": false, "alarmTriggerPeriod": 600 } ], "srMonitors": [ { "smartMode": false, "uuids": [ "af7de4c2-9afd-e25e-21c3-adec82597c88", "9fdaeedd-0ffa-221e-aba0-d66637f89492", ], "alarmTriggerLevel": 90, "excludeUuids": false } ], "toEmails": [ "blanked@blank" ], "baseUrl": "http://xoa.blank.com" } } { "code": 10, "data": { "errors": [ { "instancePath": "/vmMonitors/0/smartMode", "schemaPath": "#/properties/vmMonitors/items/oneOf/0/properties/smartMode/anyOf/0/not", "keyword": "not", "params": {}, "message": "must NOT be valid" }, { "instancePath": "/vmMonitors/0/smartMode", "schemaPath": "#/properties/vmMonitors/items/oneOf/0/properties/smartMode/anyOf/1/const", "keyword": "const", "params": { "allowedValue": false }, "message": "must be equal to constant" }, { "instancePath": "/vmMonitors/0/smartMode", "schemaPath": "#/properties/vmMonitors/items/oneOf/0/properties/smartMode/anyOf", "keyword": "anyOf", "params": {}, "message": "must match a schema in anyOf" }, { "instancePath": "/vmMonitors/0/uuids", "schemaPath": "#/properties/vmMonitors/items/oneOf/1/properties/uuids/not", "keyword": "not", "params": {}, "message": "must NOT be valid" }, { "instancePath": "/vmMonitors/0/excludeUuids", "schemaPath": "#/properties/vmMonitors/items/oneOf/2/properties/excludeUuids/const", "keyword": "const", "params": { "allowedValue": true }, "message": "must be equal to constant" }, { "instancePath": "/vmMonitors/0", "schemaPath": "#/properties/vmMonitors/items/oneOf", "keyword": "oneOf", "params": { "passingSchemas": null }, "message": "must match exactly one schema in oneOf" } ] }, "message": "invalid parameters", "name": "XoError", "stack": "XoError: invalid parameters at invalidParameters (/opt/xo/xo-builds/xen-orchestra-202505011024/packages/xo-common/api-errors.js:26:11) at default._configurePlugin (file:///opt/xo/xo-builds/xen-orchestra-202505011024/packages/xo-server/src/xo-mixins/plugins.mjs:175:13) at default.configurePlugin (file:///opt/xo/xo-builds/xen-orchestra-202505011024/packages/xo-server/src/xo-mixins/plugins.mjs:199:16) at Xo.configure (file:///opt/xo/xo-builds/xen-orchestra-202505011024/packages/xo-server/src/api/plugin.mjs:12:3) at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202505011024/@vates/task/index.js:175:22) at Task.run (/opt/xo/xo-builds/xen-orchestra-202505011024/@vates/task/index.js:159:20) at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202505011024/packages/xo-server/src/xo-mixins/api.mjs:469:18)" }
  • ACLs, Self-service, Cloud-init, Load balancing...

    84 Topics
    702 Posts
    Ping @pdonias
  • All XO backup features: full and incremental, replication, mirrors...

    336 Topics
    3k Posts
    DR (so full replication) and not CR (incremental replication), right? In DR, have you enabled compression? If yes, try to disable it If not tested, try in CR
  • Everything related to Xen Orchestra's REST API

    61 Topics
    476 Posts
    @Studmuffn1134 I changed my link from ws:// to https:// and it now gives me this error File "Z:\Valera\School\Lakeland University\Finished\Programming 2\Python Programs\StudsPrograms.venv\Lib\site-packages\jsonrpc_base\jsonrpc.py", line 213, in parse_response raise ProtocolError(code, message, data) jsonrpc_base.jsonrpc.ProtocolError: (10, 'invalid parameters', {'error': {'message': 'invalid parameters', 'code': 10, 'data': {'errors': [{'instancePath': '/id', 'schemaPath': '#/properties/id/type', 'keyword': 'type', 'params': {'type': 'string'}, 'message': 'must be string'}]}}, 'id': '0a11ec72-9300-4030-a5d2-a5c0286f3811', 'jsonrpc': '2.0'})
  • Terraform, Packer or any tool to do IaC

    30 Topics
    279 Posts
    Hello, I suggest you look also for Packer to build ready to use VM templates, with cloud-init, guest tools, and the softwares you'd need. There's a blog post for this https://xcp-ng.org/blog/2024/02/22/using-packer-with-xcp-ng/.