Bug 1452031 - [engine-backend] Shared disk that is marked as bootable for one VM cause the disks of the other VM it is attached to be blocked from being bootable
Summary: [engine-backend] Shared disk that is marked as bootable for one VM cause the ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.2.0
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.3.4
: 4.3.4
Assignee: Pavel Bar
QA Contact: Evelina Shames
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-18 08:10 UTC by Elad
Modified: 2019-06-11 06:25 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.3.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-11 06:25:43 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)
engine.log (707.05 KB, application/x-gzip)
2017-05-18 08:10 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 99183 0 master MERGED engine: Shared bootable disk fails other disk to be "boot" 2019-04-24 07:28:09 UTC
oVirt gerrit 99609 0 ovirt-engine-4.3 MERGED engine: Shared bootable disk fails other disk to be "boot" 2019-04-24 15:09:26 UTC

Description Elad 2017-05-18 08:10:04 UTC
Created attachment 1279896 [details]
engine.log

Description of problem:
Shared disk that is marked as bootable for one VM cause the disks of the other VM it is attached to be blocked from being bootable

Version-Release number of selected component (if applicable):
ovirt-engine-4.2.0-0.0.master.20170517192237.git1e57f0c.el7.centos.noarch

How reproducible:
Always

Steps to Reproduce:
1) Have 2 VMs with a disk attached to each (not bootable)
2) Create and attach a shared disk to both VMs. Attach it as bootable to one of them 
3) Try to change to bootable the disk of the VM that shared disk is not marked as bootable for


Actual results:
Cannot change disk to bootable while the shared disk is marked as bootable for a different VM

Expected results:
Should be able to change disk to bootable while a shared disk is marked as bootable for a different VM


Additional info:
engine.log


2017-05-18 11:08:17,511+03 INFO  [org.ovirt.engine.core.bll.storage.disk.UpdateVmDiskCommand] (default task-6) [22e93671-2a37-4a54-b08d-029f6a18a476] Lock freed to object 'EngineLock:{exclusiveLocks='[56d63443-486f-4b9a-999e-320b5e7d3474=<VM_DISK_BOOT, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='[56d63443-486f-4b9a-999e-320b5e7d3474=<VM, ACTION_TYPE_FAILED_VM_IS_LOCKED>]'}'

Comment 1 Sandro Bonazzola 2019-01-28 09:34:42 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 2 Evelina Shames 2019-05-28 12:16:35 UTC
Verified on: engine 4.3.4.1-0.1.el7

Comment 3 Sandro Bonazzola 2019-06-11 06:25:43 UTC
This bugzilla is included in oVirt 4.3.4 release, published on June 11th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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