[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gluster-users
Subject:    Re: [Gluster-users] Gluster CLI - No output/no info displayed.
From:       Laurent Dumont <laurentfdumont () gmail ! com>
Date:       2019-06-27 13:48:59
Message-ID: CAOAKi8y=per7pCOnFyH_jXS6+UW_9A0c2r-K4=j2uwOdd4vU3A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


There doesn't seem to be a glusterfs-cli package for Debian. I don't
remember installing one.

To rule-out anything weird, I've upgraded from 6.0.1 to 6.3.1 from the
official packages. I can now use the CLI. I feel like it might have been a
mismatch between 6.0.1 (glusterfs-server) and 6.3.1 for the common
libraries.

coldadmin@gluster01:~$ sudo dpkg -l | grep -i gluster
ii  glusterfs-client               6.3-1                          amd64
   clustered file-system (client package)
ii  glusterfs-common               6.3-1                          amd64
   GlusterFS common libraries and translator modules
ii  glusterfs-server               6.3-1                          amd64
   clustered file-system (server package)

coldadmin@gluster01:~$ sudo gluster volume list
media
proxmox-vol1




On Thu, Jun 27, 2019 at 12:14 AM Sanju Rakonde <srakonde@redhat.com> wrote:

>
>
> On Sun, Jun 23, 2019 at 4:54 AM Laurent Dumont <laurentfdumont@gmail.com>
> wrote:
>
>> Hi,
>>
>> I am facing a strange issue with the Gluster CLI. No matter what command
>> is used, the CLI doesn't output anything. It's a gluster with a single
>> node. The volumes themselves are working without any issues.
>>
>> coldadmin@gluster01:~$ sudo dpkg -l | grep -i gluster
>>> ii  glusterfs-client               6.3-1                          amd64
>>>        clustered file-system (client package)
>>> ii  glusterfs-common               6.3-1                          amd64
>>>        GlusterFS common libraries and translator modules
>>> ii  glusterfs-server               6.0-1                          amd64
>>>        clustered file-system (server package)
>>
>>
> Looks like, you've missed installing glusterfs-cli package. This is why
> you are unable to execute any commands using cli.
>
> Thanks,
> Sanju
>
>>
>>> coldadmin@gluster01:~$ sudo gluster --version
>>> glusterfs 6.0
>>> Repository revision: git://git.gluster.org/glusterfs.git
>>> Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
>>> GlusterFS comes with ABSOLUTELY NO WARRANTY.
>>> It is licensed to you under your choice of the GNU Lesser
>>> General Public License, version 3 or any later version (LGPLv3
>>> or later), or the GNU General Public License, version 2 (GPLv2),
>>> in all cases as published by the Free Software Foundation.
>>
>>
>> coldadmin@gluster01:~$ sudo gluster volume info all
>>> coldadmin@gluster01:~$
>>
>>
>> The cli.log is filled with :
>>
>> root@gluster01:/var/log/glusterfs# tail cli.log
>>> [2019-06-22 23:10:31.397945] I [cli.c:834:main] 0-cli: Started running
>>> gluster with version 6.0
>>> [2019-06-22 23:10:31.398325] E [mem-pool.c:868:mem_get]
>>> (-->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7fc937069705]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7fc93706963c]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98)
>>> [0x7fc9370a12f8] ) 0-mem-pool: invalid argument [Invalid argument]
>>> [2019-06-22 23:13:20.895606] I [cli.c:834:main] 0-cli: Started running
>>> gluster with version 6.0
>>> [2019-06-22 23:13:20.895887] E [mem-pool.c:868:mem_get]
>>> (-->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7f65fc2e0705]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7f65fc2e063c]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98)
>>> [0x7f65fc3182f8] ) 0-mem-pool: invalid argument [Invalid argument]
>>> [2019-06-22 23:13:22.603313] I [cli.c:834:main] 0-cli: Started running
>>> gluster with version 6.0
>>> [2019-06-22 23:13:22.603581] E [mem-pool.c:868:mem_get]
>>> (-->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7fe7cd672705]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7fe7cd67263c]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98)
>>> [0x7fe7cd6aa2f8] ) 0-mem-pool: invalid argument [Invalid argument]
>>> [2019-06-22 23:13:47.945239] I [cli.c:834:main] 0-cli: Started running
>>> gluster with version 6.0
>>> [2019-06-22 23:13:47.945481] E [mem-pool.c:868:mem_get]
>>> (-->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7fd31bb2c705]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7fd31bb2c63c]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98)
>>> [0x7fd31bb642f8] ) 0-mem-pool: invalid argument [Invalid argument]
>>> [2019-06-22 23:14:09.015151] I [cli.c:834:main] 0-cli: Started running
>>> gluster with version 6.0
>>> [2019-06-22 23:14:09.015461] E [mem-pool.c:868:mem_get]
>>> (-->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7f471963b705]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7f471963b63c]
>>> -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98)
>>> [0x7f47196732f8] ) 0-mem-pool: invalid argument [Invalid argument]
>>
>>
>> The strange part is that cmd_history.log is not logging my commands
>> anymore :(
>>
>> root@gluster01:/var/log/glusterfs# tail cmd_history.log
>>> [2019-05-19 21:45:27.814905]  : volume start media : FAILED : Volume
>>> media already started
>>> [2019-05-19 21:45:32.630507]  : volume status all : SUCCESS
>>> [2019-05-19 21:45:32.632032]  : volume status all : SUCCESS
>>> [2019-05-19 21:45:32.644639]  : volume status all : SUCCESS
>>> [2019-05-19 21:46:21.691147]  : volume status all : SUCCESS
>>> [2019-05-19 21:46:21.692664]  : volume status all : SUCCESS
>>> [2019-05-19 21:46:21.706471]  : volume status all : SUCCESS
>>> [2019-05-19 21:48:15.418905]  : volume status all : SUCCESS
>>> [2019-05-19 21:48:15.420487]  : volume status all : SUCCESS
>>> [2019-05-19 21:48:15.422784]  : volume status all : SUCCESS
>>
>>
>> I have this old bug from 2015, but the issue seems to be purely cosmetic.
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1243753
>>
>>
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users@gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-users
>
>
>
> --
> Thanks,
> Sanju
>

[Attachment #5 (text/html)]

<div dir="ltr">There doesn&#39;t seem to be a glusterfs-cli package for Debian. I \
don&#39;t remember installing one.<div><br></div><div>To rule-out anything weird, \
I&#39;ve upgraded from 6.0.1 to 6.3.1 from the official packages. I can now use the \
CLI. I feel like it might have been a mismatch between 6.0.1 (glusterfs-server) and \
6.3.1 for the common libraries.<br><div><br></div><div>coldadmin@gluster01:~$ sudo \
dpkg -l | grep -i gluster<br>ii   glusterfs-client                      6.3-1         \
amd64            clustered file-system (client package)<br>ii   glusterfs-common      \
6.3-1                                       amd64            GlusterFS common \
libraries and translator modules<br>ii   glusterfs-server                      6.3-1  \
amd64            clustered file-system (server \
package)<br></div><div><br></div><div>coldadmin@gluster01:~$ sudo gluster volume \
list<br>media<br>proxmox-vol1<br></div><div><br></div><div><br></div><div><br></div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 27, 2019 at 12:14 \
AM Sanju Rakonde &lt;<a href="mailto:srakonde@redhat.com">srakonde@redhat.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On \
Sun, Jun 23, 2019 at 4:54 AM Laurent Dumont &lt;<a \
href="mailto:laurentfdumont@gmail.com" \
target="_blank">laurentfdumont@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am facing \
a strange issue with the Gluster CLI. No matter what command is used, the CLI \
doesn&#39;t output anything. It&#39;s a gluster with a single node. The volumes \
themselves are working without any issues.</div><div><br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">coldadmin@gluster01:~$ sudo dpkg -l | grep -i \
gluster<br>ii   glusterfs-client                      6.3-1                           \
amd64            clustered file-system (client package)<br>ii   glusterfs-common      \
6.3-1                                       amd64            GlusterFS common \
libraries and translator modules<br>ii   glusterfs-server                      6.0-1  \
amd64            clustered file-system (server \
package)</blockquote></div></blockquote><div><br></div><div>Looks like, you&#39;ve \
missed installing glusterfs-cli package. This is why you are unable to execute any \
commands using cli.</div><div><br></div><div>Thanks,</div><div>Sanju  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><br>coldadmin@gluster01:~$ sudo gluster \
--version<br>glusterfs 6.0<br>Repository revision: git://<a \
href="http://git.gluster.org/glusterfs.git" \
target="_blank">git.gluster.org/glusterfs.git</a><br>Copyright (c) 2006-2016 Red Hat, \
Inc. &lt;<a href="https://www.gluster.org/" \
target="_blank">https://www.gluster.org/</a>&gt;<br>GlusterFS comes with ABSOLUTELY \
NO WARRANTY.<br>It is licensed to you under your choice of the GNU Lesser<br>General \
Public License, version 3 or any later version (LGPLv3<br>or later), or the GNU \
General Public License, version 2 (GPLv2),<br>in all cases as published by the Free \
Software Foundation.</blockquote><div><br></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">coldadmin@gluster01:~$ sudo gluster volume info \
all<br>coldadmin@gluster01:~$ </blockquote><div>  </div><div>The cli.log is filled \
with :  </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">root@gluster01:/var/log/glusterfs# tail \
cli.log<br> [2019-06-22 23:10:31.397945] I [cli.c:834:main] 0-cli: Started running \
gluster with version 6.0<br>[2019-06-22 23:10:31.398325] E [mem-pool.c:868:mem_get] \
(--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7fc937069705] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7fc93706963c] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98) [0x7fc9370a12f8] ) \
0-mem-pool: invalid argument [Invalid argument]<br>[2019-06-22 23:13:20.895606] I \
[cli.c:834:main] 0-cli: Started running gluster with version 6.0<br>[2019-06-22 \
23:13:20.895887] E [mem-pool.c:868:mem_get] \
(--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7f65fc2e0705] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7f65fc2e063c] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98) [0x7f65fc3182f8] ) \
0-mem-pool: invalid argument [Invalid argument]<br>[2019-06-22 23:13:22.603313] I \
[cli.c:834:main] 0-cli: Started running gluster with version 6.0<br>[2019-06-22 \
23:13:22.603581] E [mem-pool.c:868:mem_get] \
(--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7fe7cd672705] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7fe7cd67263c] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98) [0x7fe7cd6aa2f8] ) \
0-mem-pool: invalid argument [Invalid argument]<br>[2019-06-22 23:13:47.945239] I \
[cli.c:834:main] 0-cli: Started running gluster with version 6.0<br>[2019-06-22 \
23:13:47.945481] E [mem-pool.c:868:mem_get] \
(--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7fd31bb2c705] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7fd31bb2c63c] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98) [0x7fd31bb642f8] ) \
0-mem-pool: invalid argument [Invalid argument]<br>[2019-06-22 23:14:09.015151] I \
[cli.c:834:main] 0-cli: Started running gluster with version 6.0<br>[2019-06-22 \
23:14:09.015461] E [mem-pool.c:868:mem_get] \
(--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x18705) [0x7f471963b705] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(+0x1863c) [0x7f471963b63c] \
--&gt;/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(mem_get+0x98) [0x7f47196732f8] ) \
0-mem-pool: invalid argument [Invalid argument]</blockquote><div><br></div><div>The \
strange part is that cmd_history.log is not logging my commands anymore \
:(</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">root@gluster01:/var/log/glusterfs# tail \
cmd_history.log<br> [2019-05-19 21:45:27.814905]   : volume start media : FAILED : \
Volume media already started<br>[2019-05-19 21:45:32.630507]   : volume status all : \
SUCCESS<br>[2019-05-19 21:45:32.632032]   : volume status all : \
SUCCESS<br>[2019-05-19 21:45:32.644639]   : volume status all : \
SUCCESS<br>[2019-05-19 21:46:21.691147]   : volume status all : \
SUCCESS<br>[2019-05-19 21:46:21.692664]   : volume status all : \
SUCCESS<br>[2019-05-19 21:46:21.706471]   : volume status all : \
SUCCESS<br>[2019-05-19 21:48:15.418905]   : volume status all : \
SUCCESS<br>[2019-05-19 21:48:15.420487]   : volume status all : \
SUCCESS<br>[2019-05-19 21:48:15.422784]   : volume status all : \
SUCCESS</blockquote><div>  </div><div>I have this old bug from 2015, but the issue \
seems to be purely cosmetic.</div><div><br></div><div><a \
href="https://bugzilla.redhat.com/show_bug.cgi?id=1243753" \
target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1243753</a>  </div><div>  \
<br></div><div><br></div><div>  </div></div> \
_______________________________________________<br> Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" \
target="_blank">Gluster-users@gluster.org</a><br> <a \
href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" \
target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div><br \
clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail-m_-1558689057929228446gmail_signature"><div \
dir="ltr"><div>Thanks,<br></div>Sanju<br></div></div></div> </blockquote></div>



_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic