[ovirt-users] oVirt 3.5 problem with gluster, can't set the group and can't find ovirt packages

Jorick Astrego j.astrego at netbulae.eu
Wed Apr 22 12:49:26 UTC 2015



On 04/22/2015 02:45 PM, Lars Nielsen wrote:
> Hey again
> I keep getting this still:
>     Unable to open file ‘/var/lib/glusterd/groups/virt’. Error: No
> such file or directory
> Still no luck after reinstall
>
> - Lars
>
>
> On 19/04/15 18:05, Lars Nielsen wrote:
>> Hey
>>
>> Will try it.
>> Thank you very much
>>
>> - Lars
>>
>>> On 19 Apr 2015, at 12:35, Bernd Broermann <bernd at broermann.com> wrote:
>>>
>>> Hi,
>>>
>>> I saw the same behavior in  past.
>>>
>>> I solved it by reinstall  "glusterfs-server" package.
>>>    rpm -qf /var/lib/glusterd/groups/virt
>>>    glusterfs-server-3.6.2-1.el7.x86_64
>>>
>>>    yum reinstall glusterfs-server
>>>
>>> Might fix it you also.
>>>
>>> Bernd
>>>
>>>
>>> Am 17.04.2015 um 19:52 schrieb Lars Nielsen:
>>>> Hey again :)
>>>> I have a problem with ovirt 3.5. I am trying to setup oVirt 3.5 and
>>>> using gluster following this guide:
>>>> http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/
>>>>
>>>>
>>>> However when I run the install command:
>>>>     yum install -y ovirt-hosted-engine-setup
>>>> I get the output:
>>>>     No package overt-hosted-engine-setup available
>>>>     Error nothing to do.
>>>>
>>>> But I have run:
>>>>     yum localinstall -y
>>>> http://resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm
>>>> I get no error, and I have checked the log files.
>>>>
>>>> And when I run this command:
>>>>     gluster volume set engine group virt
>>>> I get this output:
>>>>     Unable to open file ‘/var/lib/glusterd/groups/virt’. Error: No
>>>> such file or directory
>>>>
>>>> Hope some one can help.
>>>>
>>>> Thanks in advance
>>>>
>>>> - Lars Nielsen
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>> -- 
>>> Bernd Broermann
>>> Wellingsbütteler Landstr. 241
>>> 22337 Hamburg
>>>
>>> 0172/2982498
>>> 040/53888870
>>> http://www.broermann.com
>>> RHCE - Redhat Certified Engineer


Hi,

I think this is this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1129592

    Netbulae <mailto:info at netbulae.com> 2014-08-14 05:50:15 EDT

    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





Met vriendelijke groet, With kind regards,

Jorick Astrego

Netbulae Virtualization Experts 

----------------

	Tel: 053 20 30 270 	info at netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
 	Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01

----------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150422/6cb50955/attachment-0001.html>


More information about the Users mailing list