Bug 1735778 - when block-based SD is used for iso, iso is not ejected from the vm when ejected through admin portal
Summary: when block-based SD is used for iso, iso is not ejected from the vm when ejec...
Keywords:
Status: CLOSED DUPLICATE of bug 1589763
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-01 12:33 UTC by Marian Jankular
Modified: 2024-10-01 16:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 14:10:04 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)

Description Marian Jankular 2019-08-01 12:33:02 UTC
Description of problem:
when block-based SD for iso, iso is not ejected from the vm when ejected through admin portal

Version-Release number of selected component (if applicable):
4.3.4.3-0.1.el7

How reproducible:
everytime

Steps to Reproduce:
1. start the vm with iso from blockbased storage
2. eject iso in "Change CD" in admin portal
3. put blockbased storage into maintenance
4, try to migrate the vm to the different host

Actual results:
migration will fail with error:

2019-08-01 08:53:16,676+02 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (ForkJoinPool-1-worker-1) [] Migration of VM 'test-iso' to host 'host1' failed: Bad volume specification {'address': {'bus': '1', 'controller': '0', 'type': 'drive', 'target': '0', 'unit': '0'}, 'index': 2, 'iface': 'ide', 'apparentsize': 0, 'specParams': {}, 'imageID': 'fbf703d6-60fb-421f-9506-60086aeb67af', 'readonly': True, 'truesize': 0, 'type': 'disk', 'domainID': '68c612ca-64b3-48d6-bacb-ecfb36972943', 'reqsize': '0', 'format': 'raw', 'poolID': '58ea5064-996f-11e9-9e4a-0001020304e5', 'device': 'cdrom', 'path': '', 'propagateErrors': 'report', 'name': 'hdc', 'bootOrder': '2', 'volumeID': '4bbf9334-8bec-4c38-927d-88d5833ad523', 'diskType': 'file', 'alias': 'ua-648e9eef-eb94-4db6-bce4-b16d5610bfd2', 'discard': False, 'volumeChain': [{'domainID': '68c612ca-64b3-48d6-bacb-ecfb36972943', 'leaseOffset': 105906176, 'volumeID': '4bbf9334-8bec-4c38-927d-88d5833ad523', 'leasePath': '/dev/68c612ca-64b3-48d6-bacb-ecfb36972943/leases', 'imageID': 'fbf703d6-60fb-421f-9506-60086aeb67af', 'path': '/rhev/data-center/mnt/blockSD/68c612ca-64b3-48d6-bacb-ecfb36972943/images/fbf703d6-60fb-421f-9506-60086aeb67af/4bbf9334-8bec-4c38-927d-88d5833ad523'}]}.


Expected results:
either iso will be ejected or engine will not let SD to be switched to the maintenance

Additional info:

Comment 1 Michal Skrivanek 2019-08-02 07:23:50 UTC
possibly a consequence of bug 1589763

Comment 2 Tal Nisan 2019-08-19 14:10:04 UTC

*** This bug has been marked as a duplicate of bug 1589763 ***


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