Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1202852

Summary: [RFE] The Hosted Engine VM should use runtime qemu configuration for sanlock
Product: [Retired] oVirt Reporter: Sandro Bonazzola <sbonazzo>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6CC: alonbl, amureini, bugs, ecohen, fsimonce, gklein, lsurette, msivak, rbalakri, yeylon
Target Milestone: ---Keywords: DevelBlocker, FutureFeature
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-26 12:56:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1200469    

Description Sandro Bonazzola 2015-03-17 14:56:53 UTC
Currently Hosted Engine relies on a global setting in qemu.conf moving from lockd to sanlock for preventing the start of the VM on multiple hosts.

A change has been requested for making the configuration local to the Hosted Engine VM only without affecting the other VMs running on the host.

Comment 1 Martin Sivák 2015-03-18 14:35:30 UTC
The ha agent does not start the VM directly. It tells VDSM to do it and the configuration is read from vm.conf. I wonder if all that needs to be done is to add the sanlock request there.

Since the config file is generated by setup, I am reassigning it there.

Comment 2 Sandro Bonazzola 2015-03-23 10:49:07 UTC
Looking at https://fedoraproject.org/wiki/Features/VirtLockManager I'm not really sure that we should avoid to configure this globally instead of enforcing it as default.
I'll open a discussion on devel

Comment 3 Sandro Bonazzola 2015-03-26 12:56:25 UTC
VDSM already use sanlock globally so no point in restricting sanlock usage to hosted engine. closing as not a bug.