@benapetr said in New project - XenAdminQt - a cross-platform GNU/Linux, macOS, Windows native thick client:
you can switch between them
nope, that just 2 from multiple nics.
Need press add ip address to add other NICs. Now i see how it works.
@benapetr said in New project - XenAdminQt - a cross-platform GNU/Linux, macOS, Windows native thick client:
you can switch between them
nope, that just 2 from multiple nics.
Need press add ip address to add other NICs. Now i see how it works.
it's only possible to change management interface.

nothing can be done with other NICs.
weird, what is this?

@benapetr configure dhcp\static mode.
I haven't found how to set up a physical NIC. you can only edit already configured ones.
While I was updating all the pools, a micro-update for 5 packages was released again. They come out every week now. 
Same issue with basic migration. Now it impossible.
@DustinB but this is impossible scenario. CR requried a VM SR, not a backup one) weird option.
I noticed that a single CR backup job creates two VMs in each pool.
Also, I found an unavailable button in the backup task.

I don't understand when or what exactly was changed.
Ok, my syntax is oudated.
resize_rootfs: true
growpart:
mode: auto
devices: ['/dev/xvda3']
ignore_growroot_disabled: false
runcmd:
- pvresize /dev/xvda3
- lvextend -r -l +100%FREE /dev/ubuntu-vg/ubuntu-lv || true
this one works.
final_message. doesn't support any macro like %(uptime) %(UPTIME)
Can't copy VM template to some pools, but it still works with other.
Yes, different updates on each pool is installed.
vm.copy
{
"vm": "548c201e-59a8-bb5e-86ca-00e8b8d48fd7",
"sr": "82764645-babd-fa0e-35c7-8c0534be3275",
"name": "Ubuntu 24.04.3 [tuned]"
}
{
"code": "IMPORT_INCOMPATIBLE_VERSION",
"params": [],
"url": "",
"task": {
"uuid": "2951db7e-0584-1319-4fc8-2b9c369a79a0",
"name_label": "[XO] VM import",
"name_description": "",
"allowed_operations": [],
"current_operations": {},
"created": "20260211T10:20:31Z",
"finished": "20260211T10:20:31Z",
"status": "failure",
"resident_on": "OpaqueRef:3570b538-189d-6a16-fe61-f6d73cc545dc",
"progress": 1,
"type": "<none/>",
"result": "",
"error_info": [
"IMPORT_INCOMPATIBLE_VERSION"
],
"other_config": {},
"subtask_of": "OpaqueRef:NULL",
"subtasks": [],
"backtrace": "(((process xapi)(filename string.ml)(line 128))((process xapi)(filename string.ml)(line 132))((process xapi)(filename ocaml/libs/log/debug.ml)(line 218))((process xapi)(filename ocaml/xapi/import.ml)(line 2373))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 74)))"
},
"pool_master": "3fa65753-db21-4925-8302-24d93f352b08",
"SR": "82764645-babd-fa0e-35c7-8c0534be3275",
"message": "IMPORT_INCOMPATIBLE_VERSION()",
"name": "XapiError",
"stack": "XapiError: IMPORT_INCOMPATIBLE_VERSION()
at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/_XapiError.mjs:16:12)
at default (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/_getTaskResult.mjs:13:29)
at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1078:24)
at file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1112:14
at Array.forEach (<anonymous>)
at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1102:12)
at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1275:14)"
}
Also i tried to auto extend drive, but this is only thing which not works. Packages update run without issue.
# nope
resize_rootfs: true
growpart:
mode: auto
devices: ['/, /dev/xvda']
ignore_growroot_disabled: false
# ok
package_update: true
package_upgrade: true
I try to get how is this button should work.

only one task at .conf
# Base
hostname: {name}%

sudo journalctl -u cloud-config -f
Feb 11 12:40:14 clonme systemd[1]: Starting cloud-config.service - Cloud-init: Config Stage...
Feb 11 12:40:15 test123 cloud-init[1037]: Cloud-init v. 25.2-0ubuntu1~24.04.1 running 'modules:config' at Wed, 11 Feb 2026 09:40:15 +0000. Up 8.85 seconds.
Feb 11 12:40:15 test123 systemd[1]: cloud-config.service: Main process exited, code=exited, status=1/FAILURE
Feb 11 12:40:15 test123 systemd[1]: cloud-config.service: Failed with result 'exit-code'.
Feb 11 12:40:15 test123 systemd[1]: Failed to start cloud-config.service - Cloud-init: Config Stage.
old hostname at log, but all changes from config is applied to host.
Next run

systemctl status cloud-config
β cloud-config.service - Cloud-init: Config Stage
Loaded: loaded (/usr/lib/systemd/system/cloud-config.service; enabled; preset: enabled)
Active: active (exited) since Wed 2026-02-11 12:44:06 MSK; 3min 0s ago
Process: 787 ExecStart=/usr/bin/cloud-init modules --mode=config (code=exited, status=0/SUCCESS)
Main PID: 787 (code=exited, status=0/SUCCESS)
CPU: 362ms
Feb 11 12:44:06 test123 systemd[1]: Starting cloud-config.service - Cloud-init: Config Stage...
Feb 11 12:44:06 test123 cloud-init[936]: Cloud-init v. 25.2-0ubuntu1~24.04.1 running 'modules:config' at Wed, 11 Feb 2026 09:44:06 +0000. Up 7.42 seconds.
Feb 11 12:44:06 test123 systemd[1]: Finished cloud-config.service - Cloud-init: Config Stage.
Few times shutdown, but drive still not removed

After 3rd cycle drive is disappeared.
When i test it with force poweroff, i got error and VM stuck at grey state till next poweroff.
But after this, the drive been removed.
vm.stop
{
"id": "102e48dd-d6f6-c8a6-7f10-e449fb43dcb2",
"force": true,
"bypassBlockedOperation": false
}
{
"code": "INTERNAL_ERROR",
"params": [
"Object with type VM and id 102e48dd-d6f6-c8a6-7f10-e449fb43dcb2/vbd.xvdb does not exist in xenopsd"
],
"task": {
"uuid": "a345de27-ac17-ab29-c66b-2afd629d724e",
"name_label": "Async.VM.hard_shutdown",
"name_description": "",
"allowed_operations": [],
"current_operations": {},
"created": "20260211T09:33:50Z",
"finished": "20260211T09:33:54Z",
"status": "failure",
"resident_on": "OpaqueRef:b31541df-b7c1-27fc-85d0-36a5c1d94242",
"progress": 1,
"type": "<none/>",
"result": "",
"error_info": [
"INTERNAL_ERROR",
"Object with type VM and id 102e48dd-d6f6-c8a6-7f10-e449fb43dcb2/vbd.xvdb does not exist in xenopsd"
],
"other_config": {},
"subtask_of": "OpaqueRef:NULL",
"subtasks": [],
"backtrace": "(((process xapi)(filename ocaml/xapi-client/client.ml)(line 7))((process xapi)(filename ocaml/xapi-client/client.ml)(line 19))((process xapi)(filename ocaml/xapi-client/client.ml)(line 7874))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 144))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2169))((process xapi)(filename ocaml/xapi/rbac.ml)(line 229))((process xapi)(filename ocaml/xapi/rbac.ml)(line 239))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))"
},
"message": "INTERNAL_ERROR(Object with type VM and id 102e48dd-d6f6-c8a6-7f10-e449fb43dcb2/vbd.xvdb does not exist in xenopsd)",
"name": "XapiError",
"stack": "XapiError: INTERNAL_ERROR(Object with type VM and id 102e48dd-d6f6-c8a6-7f10-e449fb43dcb2/vbd.xvdb does not exist in xenopsd)
at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/_XapiError.mjs:16:12)
at default (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/_getTaskResult.mjs:13:29)
at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1078:24)
at file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1112:14
at Array.forEach (<anonymous>)
at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1102:12)
at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xen-api/index.mjs:1275:14)"
}
Not sure is it an issue. Agent itself is working.
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.14.0-37-generic x86_64)
systemctl status xen-guest-agent
β xen-guest-agent.service - Xen guest agent
Loaded: loaded (/usr/lib/systemd/system/xen-guest-agent.service; enabled; preset: enabled)
Active: active (running) since Mon 2026-02-09 14:28:41 MSK; 36min ago
Main PID: 959 (xen-guest-agent)
Tasks: 17 (limit: 19041)
Memory: 4.8M (peak: 6.7M)
CPU: 76ms
CGroup: /system.slice/xen-guest-agent.service
ββ959 /usr/sbin/xen-guest-agent
Feb 09 14:28:41 oris systemd[1]: Started xen-guest-agent.service - Xen guest agent.
Feb 09 14:28:41 oris xen-guest-agent[959]: cannot parse yet os version Custom("24.04")
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.17.0-14-generic x86_64)
systemctl status xen-guest-agent
β xen-guest-agent.service - Xen guest agent
Loaded: loaded (/usr/lib/systemd/system/xen-guest-agent.service; enabled; preset: enabled)
Active: active (running) since Mon 2026-02-09 15:04:31 MSK; 1s ago
Main PID: 9058 (xen-guest-agent)
Tasks: 17 (limit: 76999)
Memory: 2.5M (peak: 4.7M)
CPU: 32ms
CGroup: /system.slice/xen-guest-agent.service
ββ9058 /usr/sbin/xen-guest-agent
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
Feb 09 15:04:31 k3s xen-guest-agent[9058]: Specified IFLA_INET6_CONF NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 236, got 240
@Danp damned, i forget about this button) Now it works, thanks.
Pool been restored from meta backup.
Now i have offline copy of dvd, local, removable SRs mounted to pool, along with online which mounted to each host in pool.

Can't remove them
sr.destroy
{
"id": "2398ad1d-3bac-bbb3-b8f9-f6cecfa2b64d"
}
{
"code": "SR_HAS_NO_PBDS",
"params": [
"OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c"
],
"call": {
"duration": 19,
"method": "SR.destroy",
"params": [
"* session id *",
"OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c"
]
},
"message": "SR_HAS_NO_PBDS(OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c)",
"name": "XapiError",
"stack": "XapiError: SR_HAS_NO_PBDS(OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c)
at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202601281247/packages/xen-api/_XapiError.mjs:16:12)
at file:///opt/xo/xo-builds/xen-orchestra-202601281247/packages/xen-api/transports/json-rpc.mjs:38:21
at runNextTicks (node:internal/process/task_queues:64:5)
at processImmediate (node:internal/timers:472:9)
at process.callbackTrampoline (node:internal/async_hooks:130:17)"
}
sr.stats
{
"id": "826c01bc-df0b-e813-bd33-ab52b85c5cf8",
"granularity": "seconds"
}
{
"message": "Cannot read properties of undefined (reading 'interval')",
"name": "TypeError",
"stack": "TypeError: Cannot read properties of undefined (reading 'interval')
at XapiStats.getSrStats (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xo-server/src/xapi-stats.mjs:509:56)
at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202602091212/@vates/task/index.js:175:22)
at Task.run (/opt/xo/xo-builds/xen-orchestra-202602091212/@vates/task/index.js:159:20)
at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xo-server/src/xo-mixins/api.mjs:469:18)"
}
@benapetr Nice, great.
How about to implement a launch of CR backup VMs?
https://xcp-ng.org/forum/assets/uploads/files/1769679350079-677dfcbb-211b-452f-ad8f-db59e2860579-ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΠ΅.png
https://xcp-ng.org/forum/assets/uploads/files/1769679584572-3e39d799-a2fd-4cb0-8e2e-6b9c4312a2e6-ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΠ΅.png