Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 58173200C86 for ; Wed, 31 May 2017 14:55:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 56A42160BCB; Wed, 31 May 2017 12:55:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9FEDC160BBA for ; Wed, 31 May 2017 14:55:10 +0200 (CEST) Received: (qmail 13218 invoked by uid 500); 31 May 2017 12:55:09 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 12926 invoked by uid 99); 31 May 2017 12:55:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 12:55:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DF592180370 for ; Wed, 31 May 2017 12:55:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6ow7hhODnDXC for ; Wed, 31 May 2017 12:55:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 64F955F659 for ; Wed, 31 May 2017 12:55:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9D950E0DB3 for ; Wed, 31 May 2017 12:55:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C45B221B5C for ; Wed, 31 May 2017 12:55:04 +0000 (UTC) Date: Wed, 31 May 2017 12:55:04 +0000 (UTC) From: "Sam Tunnicliffe (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-13540) QUORUM CL is used for new superuser MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 31 May 2017 12:55:11 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16031101#comment-16031101 ] Sam Tunnicliffe commented on CASSANDRA-13540: --------------------------------------------- [~denno] are you sure that's a response to a request using your new superuser credentials as {{org.apache.cassandra.auth.PasswordAuthenticator}} should definitely only issue queries at {{QUORUM}} for the {{cassandra}} user Are there any corresponding errors in the server log when you attempt to log in with the new user? Are you still able to use the default superuser credentials? If rf=2, then at least 1 node must be partitioned from the one you're logging into, what happens when there are no nodes being reported {{DOWN}}? > QUORUM CL is used for new superuser > ----------------------------------- > > Key: CASSANDRA-13540 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13540 > Project: Cassandra > Issue Type: Bug > Components: Distributed Metadata > Reporter: Dennis Noordzij > > After bootstrapping Cassandra, we're creating a new superuser, and setting RF of system_auth keyspace to 2, NetworkTopologyStrategy. Then a nodetool repair on the system_auth KS. > Documentation says > {quote} > The system_auth keyspace uses a QUORUM consistency level when checking authentication for the default cassandra user. For all other users created, superuser or otherwise, a LOCAL_ONE consistency level is used for authenticating. > {quote} > But for my new superuser, new node members are rejected because QUORUM CL can't be achieved: > {code} > May 19th 2017, 17:40:14.462 Connection error: ('Unable to connect to any servers', {'xx.xx.xx.xx': AuthenticationFailed('Failed to authenticate to xx.xx.xx.xx: Error from server: code=0100 [Bad credentials] message="org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',)}) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org