cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Podkowinski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14049) All auth upgrade dtests are busted
Date Fri, 17 Nov 2017 14:31:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-14049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16257036#comment-16257036
] 

Stefan Podkowinski commented on CASSANDRA-14049:
------------------------------------------------

I think there're a couple of issues here. First of all, there seems to be an oversight issue
in ccm that may turn the test flaky, see ([CCM#641|https://github.com/pcmanus/ccm/pull/641])
(/cc [~philipthompson]). 

With this fixed, I'm regularly getting "UnknownColumnFamilyException reading from socket"
errors from node3. I think the reason for this is that upon 2.1 -> 3.0 upgrade, node1+2
will convert the permissions from the legacy to the new roles tables, which don't exists on
the remaining 2.1 node.

{noformat}
logs/last/node1_debug.log:INFO  [OptionalTasks:1] 2017-11-17 13:38:54,620 CassandraAuthorizer.java:404
- Converting legacy permissions data
logs/last/node1.log:INFO  [OptionalTasks:1] 2017-11-17 13:38:54,620 CassandraAuthorizer.java:404
- Converting legacy permissions data
logs/last/node2_debug.log:INFO  [OptionalTasks:1] 2017-11-17 13:39:53,446 CassandraAuthorizer.java:404
- Converting legacy permissions data
logs/last/node2.log:INFO  [OptionalTasks:1] 2017-11-17 13:39:53,446 CassandraAuthorizer.java:404
- Converting legacy permissions data

logs/last/node3.log:WARN  [MessagingService-Incoming-/127.0.0.1] 2017-11-17 13:38:54,846 IncomingTcpConnection.java:97
- UnknownColumnFamilyException reading from socket; closing
logs/last/node3.log:org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find cfId=3afbe79f-2194-31a7-add7-f5ab90d8ec9c
logs/last/node3.log:WARN  [MessagingService-Incoming-/127.0.0.2] 2017-11-17 13:39:53,891 IncomingTcpConnection.java:97
- UnknownColumnFamilyException reading from socket; closing
logs/last/node3.log:org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find cfId=3afbe79f-2194-31a7-add7-f5ab90d8ec9c
{noformat}

This already has been addressed a long time ago in CASSANDRA-9761. But for some reason, only
the {{CassandraRoleManager}} will check if all nodes in the cluster have already been updated.
The {{CassandraAuthorizer}} does not. 

/cc [~beobal], [~slebresne]


> All auth upgrade dtests are busted
> ----------------------------------
>
>                 Key: CASSANDRA-14049
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14049
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Michael Kjellman
>         Attachments: dtest.log.txt
>
>
> All of the upgrade tests that use authentication are busted
> upgrade_to_22_test - upgrade_internal_auth_test.TestAuthUpgrade
> upgrade_to_30_test - upgrade_internal_auth_test.TestAuthUpgrade



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message