fix(xapi/VM_create): ignore missing VM.set_bios_strings
Fixes xoa-support#3516
This commit is contained in:
parent
d98f851a2c
commit
dcf0f5c5a3
@ -261,7 +261,8 @@ module.exports = class Vm {
|
||||
|
||||
bios_strings = cleanBiosStrings(bios_strings)
|
||||
if (bios_strings !== undefined) {
|
||||
await this.call('VM.set_bios_strings', ref, bios_strings)
|
||||
// Only available on XS >= 7.3
|
||||
await pCatch.call(this.call('VM.set_bios_strings', ref, bios_strings), { code: 'MESSAGE_METHOD_UNKNOWN' }, noop)
|
||||
}
|
||||
|
||||
return ref
|
||||
|
@ -16,6 +16,7 @@
|
||||
- Work-around some `ECONNRESET` errors when connecting to XEN-API (PR [#5674](https://github.com/vatesfr/xen-orchestra/pull/5674))
|
||||
- [Backup] Retry automatically on `resource temporarily unavailable` error (PR [#5612](https://github.com/vatesfr/xen-orchestra/pull/5612))
|
||||
- [Backup Restore] Don't break in case of malformed logs
|
||||
- [Backup Restore] Fix `MESSAGE_METHOD_UNKNOWN(VM.set_bios_strings)` with XenServer < 7.3
|
||||
|
||||
### Packages to release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user