Hi Tony,
Excuse me for my late reaction but today i looked into this issue again with no success
- VM [NOBAK] option and snapshot error in XO
I added the [NOBAK] quotes to the name of the disk i want to skip the transfer for and fired a manual snapshot job. Almost instantly i get the same error as mentioned before, screenshot and error details below.
vm.snapshot
{
"id": "b95f5a0e-3694-8066-ecb4-f72294d13f8a"
}
{
"code": "UNIMPLEMENTED_IN_SM_BACKEND",
"params": [
"OpaqueRef:9bfbc055-40c4-44a0-ab1a-9f3bac6dc718"
],
"task": {
"uuid": "175c0c3f-d480-c769-31eb-423f8fe21aa9",
"name_label": "Async.VM.snapshot",
"name_description": "",
"allowed_operations": [],
"current_operations": {},
"created": "20200923T14:40:20Z",
"finished": "20200923T14:40:22Z",
"status": "failure",
"resident_on": "OpaqueRef:f03bc02e-9087-41f4-b0ac-c57f3f5220dd",
"progress": 1,
"type": "<none/>",
"result": "",
"error_info": [
"UNIMPLEMENTED_IN_SM_BACKEND",
"OpaqueRef:9bfbc055-40c4-44a0-ab1a-9f3bac6dc718"
],
"other_config": {},
"subtask_of": "OpaqueRef:NULL",
"subtasks": [
"OpaqueRef:c6ae9555-aec8-40ca-809a-4be54d852987"
],
"backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 60))((process xapi)(filename list.ml)(line 106))((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 94))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 102))((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 136))((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 162))((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 168))((process xapi)(filename list.ml)(line 117))((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 170))((process xapi)(filename ocaml/xapi/xapi_vm_clone.ml)(line 381))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/xapi_vm_snapshot.ml)(line 31))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 100))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 236))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 83)))"
},
"message": "UNIMPLEMENTED_IN_SM_BACKEND(OpaqueRef:9bfbc055-40c4-44a0-ab1a-9f3bac6dc718)",
"name": "XapiError",
"stack": "XapiError: UNIMPLEMENTED_IN_SM_BACKEND(OpaqueRef:9bfbc055-40c4-44a0-ab1a-9f3bac6dc718)
at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202031082325/packages/xen-api/src/_XapiError.js:16:12)
at _default (/opt/xo/xo-builds/xen-orchestra-202031082325/packages/xen-api/src/_getTaskResult.js:11:29)
at Xapi._addRecordToCache (/opt/xo/xo-builds/xen-orchestra-202031082325/packages/xen-api/src/index.js:866:24)
at forEach (/opt/xo/xo-builds/xen-orchestra-202031082325/packages/xen-api/src/index.js:887:14)
at Array.forEach (<anonymous>)
at Xapi._processEvents (/opt/xo/xo-builds/xen-orchestra-202031082325/packages/xen-api/src/index.js:877:12)
at Xapi._watchEvents (/opt/xo/xo-builds/xen-orchestra-202031082325/packages/xen-api/src/index.js:1038:14)"
}
- Installing guest tools on FreeBSB (FreeNAS)
The xcp-ng documentation page describes that you will need to install 2 ports manually on FreeBSB. On following the instructions for let say sysutils/xe-guest-utilities on freshports[dot]org page it says to run the following commands:
To install the port: cd /usr/ports/sysutils/xen-guest-tools/ && make install clean
To add the package: pkg install xen-guest-tools
First command seems to fail on 'make' and second command i entered just to see what the output would be.