<div dir="ltr">There doesn't seem to be a glusterfs-cli package for Debian. I don't remember installing one.<div><br></div><div>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.<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 <<a href="mailto:srakonde@redhat.com">srakonde@redhat.com</a>> 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 <<a href="mailto:laurentfdumont@gmail.com" target="_blank">laurentfdumont@gmail.com</a>> 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't output anything. It'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'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. <<a href="https://www.gluster.org/" target="_blank">https://www.gluster.org/</a>><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] (-->/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]<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] (-->/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]<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] (-->/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]<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] (-->/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]<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] (-->/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]</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>