Bug 1129592
Summary: | Volume Option group=virt could not be set on VOLUME | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Netbulae <info> |
Component: | General | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | --- | CC: | amureini, bugs, ecohen, gklein, rbalakri, sabose, sasundar, yeylon, ylavi |
Target Milestone: | --- | Flags: | ylavi:
planning_ack?
ylavi: devel_ack? ylavi: testing_ack? |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | gluster | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-10 09:23:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Gluster | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1053854 | ||
Bug Blocks: |
Description
Netbulae
2014-08-13 09:50:53 UTC
I just read something about this in the following article: http://blog.gluster.org/2014/05/ovirt-3-4-glusterized/ Create a file named `/var/lib/glusterd/groups/virt' and paste in the lines below. This provides a "virt" group with settings optimized for VM storage. I've left off two quorum-related options present in the original group definition. These quorum settings help prevent split-brain, but will cause VMs hosted on Gluster volumes with the settings applied to pause when one of our two machines goes offline. quick-read=off read-ahead=off io-cache=off stat-prefetch=off eager-lock=enable remote-dio=enable Next, we'll add our new engine volume to this virt group: gluster volume set engine group virt I never createde the virt file and it's not in this directory. Can it be auto created on setup? Forgot to add these for cluster >2 nodes: quorum-type=auto server-quorum-type=server As per https://github.com/gluster/glusterfs/blob/master/extras/group-virt.example oVirt 3.5.1 has been released, re-targeting to 3.6.0 as not marked as urgent / high severity or priority Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015. Please review this bug and if not a blocker, please postpone to a later release. All bugs not postponed on GA release will be automatically re-targeted to - 3.6.1 if severity >= high - 4.0 if severity < high oVirt 3.6.0 has been released on November 4th, re-targeting to 4.0 since this bug has been marked with severity < high This bug is flagged for 3.6, yet the milestone is for 4.0 version, therefore the milestone has been reset. Please set the correct milestone or add the flag. Can you move this to gluster product? (In reply to Netbulae from comment #1) > I just read something about this in the following article: > > http://blog.gluster.org/2014/05/ovirt-3-4-glusterized/ > > > Create a file named `/var/lib/glusterd/groups/virt' and paste in the lines > below. This provides a "virt" group with settings optimized for VM storage. > I've left off two quorum-related options present in the original group > definition. These quorum settings help prevent split-brain, but will cause > VMs hosted on Gluster volumes with the settings applied to pause when one of > our two machines goes offline. > > quick-read=off > read-ahead=off > io-cache=off > stat-prefetch=off > eager-lock=enable > remote-dio=enable > > Next, we'll add our new engine volume to this virt group: > > gluster volume set engine group virt > > > I never createde the virt file and it's not in this directory. > > Can it be auto created on setup? Gluster versions 3.6 & 3.7 has group file available by default now under /var/lib/glusterd/groups/virt. The issue should have gone now. We can close this bug Closing this bug as per comment 9 - setting of group virt works if used with gluster 3.6 and above. For previous releases of gluster - the virt group file needs to manually created as /var/lib/glusterd/groups/virt The contents of the file - https://github.com/gluster/glusterfs/blob/master/extras/group-virt.example |