[Bugs] [Bug 1404128] Volume creation fails with error "host is not in ' Peer in Cluster' state"

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 20 09:13:50 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1404128

SATHEESARAN <sasundar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CLOSED
                 CC|                            |sasundar at redhat.com
          Component|core                        |glusterd
         Resolution|---                         |NOTABUG
        Last Closed|                            |2016-12-20 04:13:50



--- Comment #2 from SATHEESARAN <sasundar at redhat.com> ---
(In reply to Ankit Rana from comment #1)
> Updating /etc/hosts on both nodes solved my problem:
> gnode-1:
> [root at localhost ~]# cat  /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4 gnode-1
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 192.168.213.156 gnode-2
> 
> gnode-2:
> [arana at localhost ~]$ cat /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4 gnode-2
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 192.168.213.155 gnode-1

This means that the hostnames are not resolvable from both the hosts.

Gluster expects that the hostname should be resolvable from all the nodes of
the cluster. This is the prerequisite.

Also Gluster provides the firewall service named as 'glusterfs' which helps
open all the required ports on CentOS 7

# firewall-cmd --add-service=glusterfs --permanent
# firewall-cmd --add-service=glusterfs

Since this is not a genuine issue, I am closing this bug.

Feel free re-open the bug, if you again face the problems

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=lf1CoZ1sHE&a=cc_unsubscribe


More information about the Bugs mailing list