[ovirt-users] Gluster command [<UNKNOWN>] failed on server

suporte at logicworks.pt suporte at logicworks.pt
Tue May 12 09:14:11 UTC 2015


Hi Daniel, 

Well, I have glusterfs up and running: 

# service glusterd status 
Redirecting to /bin/systemctl status glusterd.service 
glusterd.service - GlusterFS, a clustered file-system server 
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled) 
Active: active (running) since Mon 2015-05-11 14:37:14 WEST; 19h ago 
Process: 3060 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid (code=exited, status=0/SUCCESS) 
Main PID: 3061 (glusterd) 
CGroup: /system.slice/glusterd.service 
ââ3061 /usr/sbin/glusterd -p /var/run/glusterd.pid 
ââ3202 /usr/sbin/glusterfsd -s ovserver2.domain.com --volfile-id gv... 

May 11 14:37:11 ovserver2.domain.com systemd[1]: Starting GlusterFS, a cluste.... 
May 11 14:37:14 ovserver2.domain.com systemd[1]: Started GlusterFS, a cluster.... 
Hint: Some lines were ellipsized, use -l to show in full. 

# gluster volume info 
Volume Name: gv0 
Type: Distribute 
Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b57cf1261 
Status: Started 
Number of Bricks: 1 
Transport-type: tcp 
Bricks: 
Brick1: ovserver2.domain.com:/home2/brick1 

I stopped iptables, but cannot bring the nodes up. 
Everything was working until I needed to do a restart. 

Any more ideas? 



----- Mensagem original -----

De: "Daniel Helgenberger" <daniel.helgenberger at m-box.de> 
Para: users at ovirt.org 
Enviadas: Segunda-feira, 11 De Maio de 2015 18:17:47 
Assunto: Re: [ovirt-users] Gluster command [<UNKNOWN>] failed on server 



On Mo, 2015-05-11 at 16:05 +0100, suporte at logicworks.pt wrote: 
> Hi, 
> 
> I just restart it again, and now start the gluster service before starting the hosted engine, but still gets the same error message. 
> 
> Any more ideas? 
I just had the same problem. 
My <unknown> error indeed to the fact that glusterd / glusterfsd were 
not running. 

After starting them it turned out the host setup did not automatically 
add the iptables rules for gluster. I added to iptables: 

# gluster 
-A INPUT -p tcp --dport 24007:24011 -j ACCEPT 
-A INPUT -p tcp --dport 38465:38485 -j ACCEPT 

Afterwards 'gluster peer status' worked and my host was operational 
again. 

Hint: Sometimes this is do to gluster itself. Restaring glusterd works 
most of the time to fix this. 

> 
> Thanks 
> 
> Jose 
> 
> # hosted-engine --vm-status 
> 
> --== Host 1 status ==-- 
> 
> Status up-to-date : True 
> Hostname : ovserver1.domain.com 
> Host ID : 1 
> Engine status : {"health": "good", "vm": "up", "detail": "up"} 
> Score : 2400 
> Local maintenance : False 
> Host timestamp : 4998 
> Extra metadata (valid at timestamp): 
> metadata_parse_version=1 
> metadata_feature_version=1 
> timestamp=4998 (Mon May 11 16:03:48 2015) 
> host-id=1 
> score=2400 
> maintenance=False 
> state=EngineUp 
> 
> 
> # service glusterd status 
> Redirecting to /bin/systemctl status glusterd.service 
> glusterd.service - GlusterFS, a clustered file-system server 
> Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled) 
> Active: active (running) since Mon 2015-05-11 14:37:14 WEST; 1h 27min ago 
> Process: 3060 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid (code=exited, status=0/SUCCESS) 
> Main PID: 3061 (glusterd) 
> CGroup: /system.slice/glusterd.service 
> ââ3061 /usr/sbin/glusterd -p /var/run/glusterd.pid 
> ââ3202 /usr/sbin/glusterfsd -s ovserver2.acloud.pt --volfile-id gv... 
> 
> May 11 14:37:11 ovserver2.domain.com systemd[1]: Starting GlusterFS, a cluste.... 
> May 11 14:37:14 ovserver2.domain.com systemd[1]: Started GlusterFS, a cluster.... 
> Hint: Some lines were ellipsized, use -l to show in full. 
> 
> 
> ----- Mensagem original ----- 
> 
> De: suporte at logicworks.pt 
> Para: "knarra" <knarra at redhat.com> 
> Cc: Users at ovirt.org 
> Enviadas: Segunda-feira, 11 De Maio de 2015 13:15:14 
> Assunto: Re: [ovirt-users] Gluster command [<UNKNOWN>] failed on server 
> 
> Hi, 
> 
> I have 2 nodes, but only one is working with glusterfs. 
> 
> But you were right, glusterfs was not running, I just start the service - I didn't check it :( : 
> # service glusterd status 
> Redirecting to /bin/systemctl status glusterd.service 
> glusterd.service - GlusterFS, a clustered file-system server 
> Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled) 
> Active: active (running) since Mon 2015-05-11 13:06:24 WEST; 3s ago 
> Process: 4482 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid (code=exited, status=0/SUCCESS) 
> Main PID: 4483 (glusterd) 
> CGroup: /system.slice/glusterd.service 
> ââ4483 /usr/sbin/glusterd -p /var/run/glusterd.pid 
> ââ4618 /usr/sbin/glusterfsd -s ovserver2.acloud.pt --volfile-id gv... 
> 
> May 11 13:06:22 ovserver2.domain.com systemd[1]: Starting GlusterFS, a cluste.... 
> May 11 13:06:24 ovserver2.domain.com systemd[1]: Started GlusterFS, a cluster.... 
> Hint: Some lines were ellipsized, use -l to show in full. 
> 
> But still the problem remains 
> 
> Should I first start the glusterfs before the hosted engine? 
> 
> Thanks 
> 
> ----- Mensagem original ----- 
> 
> De: "knarra" <knarra at redhat.com> 
> Para: suporte at logicworks.pt, Users at ovirt.org 
> Enviadas: Segunda-feira, 11 De Maio de 2015 12:45:19 
> Assunto: Re: [ovirt-users] Gluster command [<UNKNOWN>] failed on server 
> 
> On 05/11/2015 05:00 PM, suporte at logicworks.pt wrote: 
> 
> 
> 
> Hi, 
> 
> I'm testing ovirt 3.5.1, with hosted engine, using centos7.1. Have installed some VMs, no problem. I needed to shutdown the computer machines (follow this procedure: http://lists.ovirt.org/pipermail/users/2014-April/023861.html ), after rebooting could not get it 
> working again, when trying to activate the hosts this message come up: Gluster command [<UNKNOWN>] failed on server 
> I have tried a lot of things, including update it to Version 3.5.2-1.el7.centos, but no success. 
> Gluster version: 
> glusterfs-3.6.3-1.el7.x86_64 
> glusterfs-libs-3.6.3-1.el7.x86_64 
> glusterfs-fuse-3.6.3-1.el7.x86_64 
> glusterfs-cli-3.6.3-1.el7.x86_64 
> glusterfs-rdma-3.6.3-1.el7.x86_64 
> glusterfs-api-3.6.3-1.el7.x86_64 
> 
> Any help? 
> 
> _______________________________________________ 
> Users mailing list 
> Users at ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 

-- 
Daniel Helgenberger 
m box bewegtbild GmbH 

P: +49/30/2408781-22 
F: +49/30/2408781-10 

ACKERSTR. 19 
D-10115 BERLIN 


www.m-box.de www.monkeymen.tv 

Geschäftsführer: Martin Retschitzegger / Michaela Göllner 
Handeslregister: Amtsgericht Charlottenburg / HRB 112767 
_______________________________________________ 
Users mailing list 
Users at ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150512/9ca1697d/attachment-0001.html>


More information about the Users mailing list