<html><body><div style="font-family: Times New Roman; font-size: 10pt; color: #000000"><div>Hi Daniel,<br></div><div><br></div><div>Well, I have glusterfs up and running:<br></div><div><br></div><div># service glusterd status<br>Redirecting to /bin/systemctl status glusterd.service<br>glusterd.service - GlusterFS, a clustered file-system server<br> Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled)<br> Active: active (running) since Mon 2015-05-11 14:37:14 WEST; 19h ago<br> Process: 3060 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid (code=exited, status=0/SUCCESS)<br> Main PID: 3061 (glusterd)<br> CGroup: /system.slice/glusterd.service<br> ââ3061 /usr/sbin/glusterd -p /var/run/glusterd.pid<br> ââ3202 /usr/sbin/glusterfsd -s ovserver2.domain.com --volfile-id gv...<br><br>May 11 14:37:11 ovserver2.domain.com systemd[1]: Starting GlusterFS, a cluste....<br>May 11 14:37:14 ovserver2.domain.com systemd[1]: Started GlusterFS, a cluster....<br>Hint: Some lines were ellipsized, use -l to show in full.<br><br></div><div># gluster volume info <br>Volume Name: gv0<br>Type: Distribute<br>Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b57cf1261<br>Status: Started<br>Number of Bricks: 1<br>Transport-type: tcp<br>Bricks:<br>Brick1: ovserver2.domain.com:/home2/brick1<br><br></div><div>I stopped iptables, but cannot bring the nodes up.<br></div><div>Everything was working until I needed to do a restart.<br></div><div><br></div><div>Any more ideas?<br></div><div><br></div><div><br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b>"Daniel Helgenberger" <daniel.helgenberger@m-box.de><br><b>Para: </b>users@ovirt.org<br><b>Enviadas: </b>Segunda-feira, 11 De Maio de 2015 18:17:47<br><b>Assunto: </b>Re: [ovirt-users] Gluster command [<UNKNOWN>] failed on server<br><div><br></div><br><div><br></div>On Mo, 2015-05-11 at 16:05 +0100, suporte@logicworks.pt wrote:<br>> Hi, <br>> <br>> I just restart it again, and now start the gluster service before starting the hosted engine, but still gets the same error message. <br>> <br>> Any more ideas? <br>I just had the same problem. <br>My <unknown> error indeed to the fact that glusterd / glusterfsd were<br>not running.<br><div><br></div>After starting them it turned out the host setup did not automatically<br>add the iptables rules for gluster. I added to iptables:<br><div><br></div># gluster<br>-A INPUT -p tcp --dport 24007:24011 -j ACCEPT<br>-A INPUT -p tcp --dport 38465:38485 -j ACCEPT<br><div><br></div>Afterwards 'gluster peer status' worked and my host was operational<br>again.<br><div><br></div>Hint: Sometimes this is do to gluster itself. Restaring glusterd works<br>most of the time to fix this.<br><div><br></div>> <br>> Thanks <br>> <br>> Jose <br>> <br>> # hosted-engine --vm-status <br>> <br>> --== Host 1 status ==-- <br>> <br>> Status up-to-date : True <br>> Hostname : ovserver1.domain.com <br>> Host ID : 1 <br>> Engine status : {"health": "good", "vm": "up", "detail": "up"} <br>> Score : 2400 <br>> Local maintenance : False <br>> Host timestamp : 4998 <br>> Extra metadata (valid at timestamp): <br>> metadata_parse_version=1 <br>> metadata_feature_version=1 <br>> timestamp=4998 (Mon May 11 16:03:48 2015) <br>> host-id=1 <br>> score=2400 <br>> maintenance=False <br>> state=EngineUp <br>> <br>> <br>> # service glusterd status <br>> Redirecting to /bin/systemctl status glusterd.service <br>> glusterd.service - GlusterFS, a clustered file-system server <br>> Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled) <br>> Active: active (running) since Mon 2015-05-11 14:37:14 WEST; 1h 27min ago <br>> Process: 3060 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid (code=exited, status=0/SUCCESS) <br>> Main PID: 3061 (glusterd) <br>> CGroup: /system.slice/glusterd.service <br>> ââ3061 /usr/sbin/glusterd -p /var/run/glusterd.pid <br>> ââ3202 /usr/sbin/glusterfsd -s ovserver2.acloud.pt --volfile-id gv... <br>> <br>> May 11 14:37:11 ovserver2.domain.com systemd[1]: Starting GlusterFS, a cluste.... <br>> May 11 14:37:14 ovserver2.domain.com systemd[1]: Started GlusterFS, a cluster.... <br>> Hint: Some lines were ellipsized, use -l to show in full. <br>> <br>> <br>> ----- Mensagem original -----<br>> <br>> De: suporte@logicworks.pt <br>> Para: "knarra" <knarra@redhat.com> <br>> Cc: Users@ovirt.org <br>> Enviadas: Segunda-feira, 11 De Maio de 2015 13:15:14 <br>> Assunto: Re: [ovirt-users] Gluster command [<UNKNOWN>] failed on server <br>> <br>> Hi, <br>> <br>> I have 2 nodes, but only one is working with glusterfs. <br>> <br>> But you were right, glusterfs was not running, I just start the service - I didn't check it :( : <br>> # service glusterd status <br>> Redirecting to /bin/systemctl status glusterd.service <br>> glusterd.service - GlusterFS, a clustered file-system server <br>> Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled) <br>> Active: active (running) since Mon 2015-05-11 13:06:24 WEST; 3s ago <br>> Process: 4482 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid (code=exited, status=0/SUCCESS) <br>> Main PID: 4483 (glusterd) <br>> CGroup: /system.slice/glusterd.service <br>> ââ4483 /usr/sbin/glusterd -p /var/run/glusterd.pid <br>> ââ4618 /usr/sbin/glusterfsd -s ovserver2.acloud.pt --volfile-id gv... <br>> <br>> May 11 13:06:22 ovserver2.domain.com systemd[1]: Starting GlusterFS, a cluste.... <br>> May 11 13:06:24 ovserver2.domain.com systemd[1]: Started GlusterFS, a cluster.... <br>> Hint: Some lines were ellipsized, use -l to show in full. <br>> <br>> But still the problem remains <br>> <br>> Should I first start the glusterfs before the hosted engine? <br>> <br>> Thanks <br>> <br>> ----- Mensagem original -----<br>> <br>> De: "knarra" <knarra@redhat.com> <br>> Para: suporte@logicworks.pt, Users@ovirt.org <br>> Enviadas: Segunda-feira, 11 De Maio de 2015 12:45:19 <br>> Assunto: Re: [ovirt-users] Gluster command [<UNKNOWN>] failed on server <br>> <br>> On 05/11/2015 05:00 PM, suporte@logicworks.pt wrote: <br>> <br>> <br>> <br>> Hi, <br>> <br>> 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 <br>> working again, when trying to activate the hosts this message come up: Gluster command [<UNKNOWN>] failed on server <br>> I have tried a lot of things, including update it to Version 3.5.2-1.el7.centos, but no success. <br>> Gluster version: <br>> glusterfs-3.6.3-1.el7.x86_64 <br>> glusterfs-libs-3.6.3-1.el7.x86_64 <br>> glusterfs-fuse-3.6.3-1.el7.x86_64 <br>> glusterfs-cli-3.6.3-1.el7.x86_64 <br>> glusterfs-rdma-3.6.3-1.el7.x86_64 <br>> glusterfs-api-3.6.3-1.el7.x86_64 <br>> <br>> Any help? <br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@ovirt.org<br>> http://lists.ovirt.org/mailman/listinfo/users<br><div><br></div>-- <br>Daniel Helgenberger<br>m box bewegtbild GmbH<br><div><br></div>P: +49/30/2408781-22<br>F: +49/30/2408781-10<br><div><br></div>ACKERSTR. 19<br>D-10115 BERLIN<br><div><br></div><br>www.m-box.de www.monkeymen.tv<br><div><br></div>Geschäftsführer: Martin Retschitzegger / Michaela Göllner<br>Handeslregister: Amtsgericht Charlottenburg / HRB 112767<br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></div><div><br></div></div></body></html>