I didn't add @localhost. It is there by default. Also, the "all_nodes" is not 
updated.
 
> Subject: Re: Error updating database permissions
> From: [email protected]
> Date: Wed, 7 Sep 2016 20:59:16 +0100
> To: [email protected]
> 
> @localhost isn't going to work, each node will need to be referenced by a 
> name that actually resolves to the node, so either want to use a domain name 
> or the external ip address.
> 
> 
> > On 7 Sep 2016, at 11:51, Joey Samonte <[email protected]> wrote:
> > 
> > I have followed the steps here:
> > http://docs.couchdb.org/en/latest/cluster/index.html
> > 
> > Or here:
> > https://docs.google.com/document/d/1BtndYr-0KDQTqBSLVdJoR_8C5ObYjT1RBo_Qyh5ykdQ/edit
> > 
> > But the nodes are not being added correctly. Are there any updated 
> > documentation on setting up a cluster?
> > 
> > I have added a node 2 to a cluster. From node 1, looking at _membership 
> > shows this:
> > 
> > {"all_nodes":["couchdb@localhost"],"cluster_nodes":["[email protected]","couchdb@localhost"]}
> > 
> > But looking at _membership at node 2, it shows differently:
> > 
> > {"all_nodes":["couchdb@localhost"],"cluster_nodes":["couchdb@localhost"]}
> > 
> > 
> >> Subject: Re: Error updating database permissions
> >> From: [email protected]
> >> Date: Wed, 7 Sep 2016 10:48:01 +0100
> >> To: [email protected]
> >> 
> >> check host:5984/_membership on each node of your cluster, perhaps you 
> >> don't have a fully-connected cluster right now. All nodes should be listed 
> >> under both "all_nodes" and "cluster_nodes" by every node in your cluster.
> >> 
> >> B.
> >> 
> >> 
> >>> On 7 Sep 2016, at 08:35, Joey Samonte <[email protected]> wrote:
> >>> 
> >>> Good day,
> >>> 
> >>> Whenever I try to update the database permissions using Fauxton, I am 
> >>> getting an error with a reason: no_majority.
> >>> What could be the reason for this?
> >>> 
> >>> Thanks. 
> >>>                                     
> >> 
> >                                       
> 
                                          

Reply via email to