You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the gluster volume heal <VOL> info command is only available for replicate/disperse volumes:
# gluster vol heal gv0 info
Volume gv0 is not of type replicate/disperse
Volume heal failed.
Is it possible to allow gstatus to skip displaying self-heal info if not present (for example I added a replicate volume (gv1), but gstatus will throw an error because of gv0 is a distribute volume type? This currently blocks us from using gstatus at all since the -a, -b and -v flags are all throwing the same error from /gstatus/glusterlib/display_status.py.
When attempting to view the gstatus -a of my cluster, I get the following traceback:
Note: Unable to get self-heal status for one or more volumes
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/bin/gstatus/__main__.py", line 74, in <module>
File "/usr/local/bin/gstatus/__main__.py", line 71, in main
File "/usr/local/bin/gstatus/glusterlib/display_status.py", line 11, in display_status
File "/usr/local/bin/gstatus/glusterlib/display_status.py", line 58, in _build_status
KeyError: 'healinfo'
My volume info:
Volume Name: gv0
Type: Distribute
Volume ID: 1360cf07-5a64-4452-aedc-9d0d8aba1280
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: gluster-node-1:/export
Options Reconfigured:
nfs.disable: on
storage.fips-mode-rchecksum: on
transport.address-family: inet
Gstatus version:
# gstatus --version
gstatus 1.0.4
Gluster version:
# gluster --version
glusterfs 7.9
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.
The text was updated successfully, but these errors were encountered:
I'm running gstatus in the latest gluster centos container image.
It seems that the
gluster volume heal <VOL> info
command is only available for replicate/disperse volumes:Is it possible to allow gstatus to skip displaying self-heal info if not present (for example I added a replicate volume (gv1), but gstatus will throw an error because of gv0 is a distribute volume type? This currently blocks us from using gstatus at all since the
-a
,-b
and-v
flags are all throwing the same error from/gstatus/glusterlib/display_status.py
.When attempting to view the
gstatus -a
of my cluster, I get the following traceback:My volume info:
Gstatus version:
Gluster version:
The text was updated successfully, but these errors were encountered: