fix(xo-server/new-vm): fix creating a VM on a different local SR (#3827)

Fixes #3084
This commit is contained in:
badrAZ 2019-01-10 15:39:40 +01:00 committed by Julien Fontanet
parent 7de22013a4
commit f3c3889531
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
- [Self] Display sorted Resource Sets [#3818](https://github.com/vatesfr/xen-orchestra/issues/3818) (PR [#3823](https://github.com/vatesfr/xen-orchestra/pull/3823))
- [Servers] Correctly report connecting status (PR [#3838](https://github.com/vatesfr/xen-orchestra/pull/3838))
- [Servers] Fix cannot reconnect to a server after connection has been lost [#3839](https://github.com/vatesfr/xen-orchestra/issues/3839) (PR [#3841](https://github.com/vatesfr/xen-orchestra/pull/3841))
- [New VM] Fix `NO_HOSTS_AVAILABLE()` error when creating a VM on a local SR from template on another local SR [#3084](https://github.com/vatesfr/xen-orchestra/issues/3084) (PR [#3827](https://github.com/vatesfr/xen-orchestra/pull/3827))
### Released packages

View File

@ -1818,6 +1818,7 @@ export default class Xapi extends XapiBase {
} catch (error) {
const { code } = error
if (
code !== 'NO_HOSTS_AVAILABLE' &&
code !== 'LICENCE_RESTRICTION' &&
code !== 'VDI_NEEDS_VM_FOR_MIGRATE'
) {