-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/opt/zabbix/gluster/heal.sh returning empty value #2
Comments
Sorry, I don't have a Gluster installation at this moment, so can't check. You're welcome to send a pull. |
Confirmed. This script is not working, and is spewing split-brain and heal-pending as result. |
It seems that you need to comment out set -eu -o pipefail as it is suppressing output(s) of the script. |
It must not be commented out. Try running with -x, see which command fails and why. |
probably related to #4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1st Issue
[root@cluster-stor1 gluster]# sh heal.sh ' ' 0
=> no value returned, so Trigger detects a pending healing but there isn't:
[root@cluster-stor1 gluster]# gluster volume heal volume1 info
Brick 192.168.110.221:/bricks/raid5array1/brick1
Status: Connected
Number of entries: 0
Brick 192.168.110.222:/bricks/raid5array1/brick1
Status: Connected
Number of entries: 0
Brick 192.168.110.223:/bricks/raid5array1/brick1
Status: Connected
Number of entries: 0
2nd Issue
[root@cluster-stor1 gluster]# sh heal.sh split-brain 0
=> no value returned, so Trigger detects split brain
Sysinfo:
[root@cluster-stor1 gluster]# gluster volume list
volume1
[root@cluster-stor1 gluster]# uname -a
Linux cluster-stor1.cbr1.de 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.6 (Final)
[root@cluster-stor1 gluster]# glusterd -V
glusterfs 3.12.1
The text was updated successfully, but these errors were encountered: