fix(xo-web/patches): ignore CDs with detached VBD (#3611)

Fixes support#1032
This commit is contained in:
Pierre Donias 2018-10-30 09:53:11 +01:00 committed by Julien Fontanet
parent de397b63c5
commit e047649c3b
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@
- [VM] Fix an error when an admin tried to add a disk on a Self VM whose resource set had been deleted [#2814](https://github.com/vatesfr/xen-orchestra/issues/2814) (PR [#3530](https://github.com/vatesfr/xen-orchestra/pull/3530))
- [Self/Create VM] Fix some quotas based on the template instead of the user inputs [#2683](https://github.com/vatesfr/xen-orchestra/issues/2683) (PR [#3546](https://github.com/vatesfr/xen-orchestra/pull/3546))
- [Self] Ignore DR and CR VMs when computing quotas [#3064](https://github.com/vatesfr/xen-orchestra/issues/3064) (PR [#3561](https://github.com/vatesfr/xen-orchestra/pull/3561))
- [Patches] Wrongly requiring to eject CDs from halted VMs and snapshots before installing patches (PR [#3611](https://github.com/vatesfr/xen-orchestra/pull/3611))
### Released packages

View File

@ -43,6 +43,7 @@ export default class InstallPoolPatchesModalBody extends Component {
if (
vbd.is_cd_drive &&
vbd.VDI !== undefined &&
vbd.attached &&
!vmIds.includes(vbd.VM)
) {
vmIds.push(vbd.VM)