diff --git a/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs b/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs index aef714e4c..3efa116f5 100644 --- a/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs +++ b/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs @@ -58,7 +58,7 @@ export const MixinXapiWriter = (BaseClass = Object) => ) } const healthCheckVm = xapi.getObject(healthCheckVmRef) ?? (await xapi.waitObject(healthCheckVmRef)) - await healthCheckVm.add_tag('xo:no-bak=Health Check') + await healthCheckVm.add_tags('xo:no-bak=Health Check') await new HealthCheckVmBackup({ restoredVm: healthCheckVm, xapi, diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 219f83655..0fa23d20a 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -16,6 +16,7 @@ - [Proxies] Fix `this.getObject` is not a function during deployment - [Settings/Logs] Fix `sr.getAllUnhealthyVdiChainsLength: not enough permissions` error with non-admin users (PR [#7265](https://github.com/vatesfr/xen-orchestra/pull/7265)) - [Settings/Logs] Fix `proxy.getAll: not enough permissions` error with non-admin users (PR [#7249](https://github.com/vatesfr/xen-orchestra/pull/7249)) +- [Replication/Health Check] Fix `healthCheckVm.add_tag is not a function` error [Forum#69156](https://xcp-ng.org/forum/post/69156) ### Packages to release @@ -33,6 +34,7 @@ +- @xen-orchestra/backups patch - xo-cli patch - xo-server patch - xo-web minor