Open ksandha opened 6 years ago
@ksandha How did glustercli volume status
worked in https://github.com/gluster/glusterd2/issues/1179 ?
@rishubhjain , I turned off the gluster servers and restarted it again for #1179 .
@ksandha so this issue is not reproducible with updated glusterd2 rpm, am I right?
This Issue came when i updated the rpms to the mentioned ones, i.e. the latest ones
On Thu, Aug 16, 2018 at 4:22 PM Rishubh Jain notifications@github.com wrote:
@ksandha https://github.com/ksandha so this issue is not reproducible with updated glusterd2 rpm, am I right?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gluster/glusterd2/issues/1177#issuecomment-413504863, or mute the thread https://github.com/notifications/unsubscribe-auth/ASY27rIqy5fBh4X38im0Y3IZdlQVqByzks5uRU8BgaJpZM4V_dX8 .
--
KARAN SANDHA
QUALITY ENGINEER
Red Hat Bangalore https://www.redhat.com/
ksandha@redhat.com M: 9888009555 <javascript:void(0);> IM: Karan on @irc https://red.ht/sig TRIED. TESTED. TRUSTED. https://redhat.com/trusted @redhatnews https://twitter.com/redhatnews Red Hat https://www.linkedin.com/company/red-hat Red Hat https://www.facebook.com/RedHatInc
I have a couple of points to check here
curl http://{ETCD-IP}:2379
)Warning: glusterd2.service changed on disk. Run 'systemctl daemon-reload' to reload units.
@ksandha is this issue still reproducible?, if not please close this one
@Madhu-1 I am hitting different issues after updating the rpms. Don't close this issue. I will update the issue with setup once i update the rpms.
1) Updated the rpms of the glusterd2
2) Ran the systemctl status glusterd2
3) Check for peer status on all nodes
[root@dhcp35-181 ~]# glustercli volume status Volume : newvol Error getting Volume status
Failed to connect to glusterd. Please check if
[root@dhcp35-88 ~]# cat /etc/glusterd2/glusterd2.toml
localstatedir = "/var/lib/glusterd2" logdir = "/var/log/glusterd2" logfile = "glusterd2.log" loglevel = "INFO" rundir = "/var/run/glusterd2"
defaultpeerport = "24008"
peeraddress = ":24008" clientaddress = ":24007"
restauth should be set to false to disable REST authentication in glusterd2
restauth = false etcdendpoints = "http://10.70.35.220:2379" noembed = true [root@dhcp35-88 ~]#
[root@dhcp35-181 ~]# cat /etc/glusterd2/glusterd2.toml
localstatedir = "/var/lib/glusterd2" logdir = "/var/log/glusterd2" logfile = "glusterd2.log" loglevel = "INFO" rundir = "/var/run/glusterd2" defaultpeerport = "24008" peeraddress = ":24008" clientaddress = ":24007"
restauth should be set to false to disable REST authentication in glusterd2
restauth = false etcdendpoints = "http://10.70.35.220:2379" noembed = true [root@dhcp35-181 ~]#
[root@dhcp35-26 ~]# cat /etc/glusterd2/glusterd2.toml
localstatedir = "/var/lib/glusterd2" logdir = "/var/log/glusterd2" logfile = "glusterd2.log" loglevel = "INFO" rundir = "/var/run/glusterd2" defaultpeerport = "24008" peeraddress = ":24008" clientaddress = ":24007"
restauth should be set to false to disable REST authentication in glusterd2
restauth = false etcdendpoints = "http://10.70.35.220:2379" noembed = true [root@dhcp35-26 ~]#
[root@dhcp35-88 ~]# cat /var/lib/glusterd2/uuid.toml cluster-id = "a193619e-ce9d-4c19-8e0b-5a82ab8655ff" peer-id = "ddf8af56-04cf-4e49-a4c7-99d90904bcb7" [root@dhcp35-88 ~]# [root@dhcp35-181 ~]# cat /var/lib/glusterd2/uuid.toml cluster-id = "a193619e-ce9d-4c19-8e0b-5a82ab8655ff" peer-id = "de9fab15-40ac-46c7-90f0-6a1659b0fb4b" [root@dhcp35-181 ~]# [root@dhcp35-26 ~]# cat /var/lib/glusterd2/uuid.toml cluster-id = "a193619e-ce9d-4c19-8e0b-5a82ab8655ff" peer-id = "bc8dcfaf-e848-427b-839b-2d4c7a0a9034" [root@dhcp35-26 ~]#
[root@dhcp35-88 ~]# glusterd2 --version glusterd version: v4.1.0-147.git38d20ee git SHA: 38d20ee go version: go1.9.4 go OS/arch: linux/amd64 [root@dhcp35-88 ~]#