How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py install then gstatus What is your gluster version ? Latest stable to Debian Buster (v8) --- Gilberto Nunes Ferreira (47) 3025-5907 (47) 99676-7530 - Whatsapp / Telegram Skype: gilberto.nunes36 Em dom., 9 de ago. de 2020 ?s 12:28, Strahil Nikolov <hunter86_bg at yahoo.com> escreveu:> You got a problem with your gstatus. > How did you deploy it ? > What is your gluster version ?Mine is working quite fine with 7.7 > > Best Regards, > Strahil Nikolov > > ?? 9 ?????? 2020 ?. 18:16:57 GMT+03:00, Gilberto Nunes < > gilberto.nunes32 at gmail.com> ??????: > >I try it but get the error bellow > > > >./gstatus.py -v > > > >Traceback (most recent call last): > > File "./gstatus.py", line 245, in <module> > > main() > > File "./gstatus.py", line 133, in main > > cluster.initialise() > >File "/root/gstatus/gstatus/libgluster/cluster.py", line 97, in > >initialise > > self.define_nodes() > > File "/root/gstatus/gstatus/libgluster/cluster.py", line 170, in > >define_nodes > > local_ip_list = get_ipv4_addr() # Grab all IP's > > File "/root/gstatus/gstatus/libutils/network.py", line 130, in > >get_ipv4_addr > > namestr = names.tobytes() > >AttributeError: 'array.array' object has no attribute 'tobytes' > > > > > >--- > >Gilberto Nunes Ferreira > > > >(47) 3025-5907 > >(47) 99676-7530 - Whatsapp / Telegram > > > >Skype: gilberto.nunes36 > > > > > > > > > > > >Em s?b., 8 de ago. de 2020 ?s 18:28, Ingo Fischer <ingo at fischer-ka.de> > >escreveu: > > > >> Hey, > >> > >> I use gstatus https://github.com/gluster/gstatus > >> > >> Ingo > >> > >> Am 08.08.20 um 06:27 schrieb Gilberto Nunes: > >> > Hi guys... I miss some tools that could be used in order to > >monitor > >> > healing for example, and others things like resources used... What > >do > >> > you recommend? > >> > Tools that could be used in CLI but that shows a percentage as > >healing > >> > is under way would be nice! > >> > > >> > Thanks. > >> > > >> > --- > >> > Gilberto Nunes Ferreira > >> > > >> > > >> > > >> > > >> > ________ > >> > > >> > > >> > > >> > Community Meeting Calendar: > >> > > >> > Schedule - > >> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > >> > Bridge: https://bluejeans.com/441850968 > >> > > >> > Gluster-users mailing list > >> > Gluster-users at gluster.org > >> > https://lists.gluster.org/mailman/listinfo/gluster-users > >> > > >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200809/6d030b81/attachment.html>
Hi Gilberto, I just tested latest master branch on CentOS8 -> total failure (both python2 and python3). I have opened a github issue at?https://github.com/gluster/gstatus/issues/30? I guess, you can add details for OS, packages and gluster version (maybe a traceback also). The more interesing part is that the old zip I got is working on CentOS8 (with python2.7) without issues: [root at glustera gstatus-master]# python2 gstatus.py ? ? ????Product: Community ?????????Capacity: ?22.00 GiB(raw bricks) ?????Status: HEALTHY ?????????????????????520.00 MiB(raw used) ??Glusterfs: 8.0 ???????????????????????????6.00 GiB(usable from volumes) ?OverCommit: No ???????????????Snapshots: ??0 If you wish, I can try to upload it somewhere for you. Best Regards, Strahil Nikolov ? ??????, 9 ?????? 2020 ?., 20:13:13 ???????+3, Gilberto Nunes <gilberto.nunes32 at gmail.com> ??????: How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py install then gstatus What is your gluster version ? Latest?stable to Debian Buster (v8) --- Gilberto Nunes Ferreira (47) 3025-5907 (47) 99676-7530 - Whatsapp / Telegram Skype: gilberto.nunes36 Em dom., 9 de ago. de 2020 ?s 12:28, Strahil Nikolov <hunter86_bg at yahoo.com> escreveu:> You got a problem with your gstatus. > How did you deploy it ? > What is your gluster version ?Mine is working quite fine with 7.7 > > Best Regards, > Strahil Nikolov > > ?? 9 ?????? 2020 ?. 18:16:57 GMT+03:00, Gilberto Nunes <gilberto.nunes32 at gmail.com> ??????: >>I try it but get the error bellow >> >>./gstatus.py -v >> >>Traceback (most recent call last): >>? File "./gstatus.py", line 245, in <module> >>? ? main() >>? File "./gstatus.py", line 133, in main >>? ? cluster.initialise() >>File "/root/gstatus/gstatus/libgluster/cluster.py", line 97, in >>initialise >>? ? self.define_nodes() >>? File "/root/gstatus/gstatus/libgluster/cluster.py", line 170, in >>define_nodes >>? ? local_ip_list = get_ipv4_addr()? # Grab all IP's >>? File "/root/gstatus/gstatus/libutils/network.py", line 130, in >>get_ipv4_addr >>? ? namestr = names.tobytes() >>AttributeError: 'array.array' object has no attribute 'tobytes' >> >> >>--- >>Gilberto Nunes Ferreira >> >>(47) 3025-5907 >>(47) 99676-7530 - Whatsapp / Telegram >> >>Skype: gilberto.nunes36 >> >> >> >> >> >>Em s?b., 8 de ago. de 2020 ?s 18:28, Ingo Fischer <ingo at fischer-ka.de> >>escreveu: >> >>> Hey, >>> >>> I use gstatus https://github.com/gluster/gstatus >>> >>> Ingo >>> >>> Am 08.08.20 um 06:27 schrieb Gilberto Nunes: >>> > Hi guys...? I miss some tools that could be used in order to >>monitor >>> > healing for example, and others things like resources used...? What >>do >>> > you recommend? >>> > Tools that could be used in CLI but that shows a percentage as >>healing >>> > is under way would be nice! >>> > >>> > Thanks. >>> > >>> > --- >>> > Gilberto Nunes Ferreira >>> > >>> > >>> > >>> > >>> > ________ >>> > >>> > >>> > >>> > Community Meeting Calendar: >>> > >>> > Schedule - >>> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC >>> > Bridge: https://bluejeans.com/441850968 >>> > >>> > Gluster-users mailing list >>> > Gluster-users at gluster.org >>> > https://lists.gluster.org/mailman/listinfo/gluster-users >>> > >>> >
On Sun, Aug 9, 2020 at 10:43 PM Gilberto Nunes <gilberto.nunes32 at gmail.com> wrote:> How did you deploy it ? - git clone, ./gstatus.py, and python gstatus.py > install then gstatus > > What is your gluster version ? Latest stable to Debian Buster (v8) > > >Hello Gilberto. I just made a 1.0.0 release. gstatus binary is available to download from (requires python >= 3.6) https://github.com/gluster/gstatus/releases/tag/v1.0.0 You can find the complete documentation here: https://github.com/gluster/gstatus/blob/master/README Follow the below steps for a quick method to test it out: # curl -LO https://github.com/gluster/gstatus/releases/download/v1.0.0/gstatus # chmod +x gstatus # ./gstatus -a # ./gstatus --help If you like what you see. You can move it to /usr/local/bin Would like to hear your feedback. Any feature requests/bugs/PRs are welcome. -sac -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200812/fdb2fcf3/attachment.html>