You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Carlos Rolo <c....@ocom.com> on 2013/07/03 15:55:15 UTC
Added nodes to cluster, authentication stopped working
Hi all,
I have a Cassandra Cluster running and we recently duplicated the cluster.
After following all the steps, the cassandra clients started failing with the following message:
"AuthenticationException(why='Username and/or password are incorrect')"
The problem is that even I can't login to the CQL shell and check the users, since it says (even with the correct username/password) that 'You have to be logged in and not anonymous to perform this request'.
When I created the Cluster I disabled the 'cassandra' superuser and now I can't do anything on my Cluster.
Is there any method to reset a user and/or password, or recreate a new superuser??
Otherwise I need to drop all the data from the cluster... Since even disabling authentication and authorization my clients give errors writting data.
Re: Added nodes to cluster, authentication stopped working
Posted by sankalp kohli <ko...@gmail.com>.
patch cassandra and remove the code which checks auth :)
On Wed, Jul 3, 2013 at 6:55 AM, Carlos Rolo <c....@ocom.com> wrote:
> Hi all,
>
> I have a Cassandra Cluster running and we recently duplicated the cluster.
>
> After following all the steps, the cassandra clients started failing with
> the following message:
>
> "AuthenticationException(why='Username and/or password are incorrect')"
>
> The problem is that even I can't login to the CQL shell and check the
> users, since it says (even with the correct username/password) that 'You
> have to be logged in and not anonymous to perform this request'.
>
> When I created the Cluster I disabled the 'cassandra' superuser and now I
> can't do anything on my Cluster.
>
> Is there any method to reset a user and/or password, or recreate a new
> superuser??
>
> Otherwise I need to drop all the data from the cluster... Since even
> disabling authentication and authorization my clients give errors writting
> data.
>