Bug 1868643 - Volume not deactivated after ejecting CDROM
Summary: Volume not deactivated after ejecting CDROM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.4.2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.6
: ---
Assignee: Vojtech Juranek
QA Contact: Amit Sharir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-13 11:21 UTC by Vojtech Juranek
Modified: 2021-11-04 19:28 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.4.6.6
Clone Of:
Environment:
Last Closed: 2021-05-14 07:30:21 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 114317 0 master MERGED virt: use hwclass.DISK instead of cdrom in CD metadata 2021-04-26 10:02:54 UTC

Description Vojtech Juranek 2020-08-13 11:21:20 UTC
Description of problem:
When iso image created on block SD is attached as CD to a VM, it's activated during VM startup a deactivated when VM stops. Hoever, when CD is ejected (clicking on ... -> Change CD -> Eject), the LV is not deactivated. It should be deactivated after eject, not when VM stops.


How reproducible:
Always

Steps to Reproduce:
1. Upload iso image to iSCSI domain
2. Create a VM and attach iso image as a CD to it.
3. Start VM and click on Eject CD

Actual results:
LV with CD iso is active

Expected results:
LV is deactivated

Comment 1 Nir Soffer 2020-08-13 11:36:03 UTC
Keeping unused logical volume active is risky. For example the volume may
be deleted on the SPM. In this case the lv will refer to area on storage
which now possibly used by another disk.

Comment 2 Shir Fishbain 2021-01-19 09:42:45 UTC
QE doesn't have enough capacity to verify this bug on the 4.4.5 release.


Note You need to log in before you can comment on or make changes to this bug.