[ 
https://issues.apache.org/jira/browse/CASSANDRA-14075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Kjellman updated CASSANDRA-14075:
-----------------------------------------
    Description: 
Many sslnodetonode_test.TestNodeToNodeSSLEncryption dtests are failing on 3.11 
with an exception on startup due to invalid yaml properties.

Unexpected error in node1 log, error: 
ERROR [main] 2017-11-18 21:01:54,781 CassandraDaemon.java:706 - Exception 
encountered during startup: Invalid yaml. Please remove properties [optional, 
enabled] from your cassandra.yaml 

Although ccm was updated in 
https://github.com/pcmanus/ccm/commit/eaaa425b70edb84786924516aee3920d685c0e53 
to include a version check for >= 4.0, enabled and optional are emitted 
unconditionally in the actual dtest itself -- they should also be conditional 
on >= 4.0

{code:java}
node.set_configuration_options(values={
            'server_encryption_options': {
                'enabled': encryption_enabled,
                'optional': encryption_optional,
                'internode_encryption': internode_encryption,
                'keystore': kspath,
                'keystore_password': 'cassandra',
                'truststore': tspath,
                'truststore_password': 'cassandra',
                'require_endpoint_verification': endpoint_verification,
                'require_client_auth': client_auth,
            }
        })
{code}

  was:
Many sslnodetonode_test.TestNodeToNodeSSLEncryption dtests are failing on 3.11 
with an exception on startup due to invalid yaml properties.

Unexpected error in node1 log, error: 
ERROR [main] 2017-11-18 21:01:54,781 CassandraDaemon.java:706 - Exception 
encountered during startup: Invalid yaml. Please remove properties [optional, 
enabled] from your cassandra.yaml 

Although ccm was updated in 
https://github.com/pcmanus/ccm/commit/eaaa425b70edb84786924516aee3920d685c0e53 
to include a version check for >= 4.0, enabled and optional are emitted 
unconditionally in the actual dtest itself -- they should also be conditional 
on >= 4.0

       node.set_configuration_options(values={
            'server_encryption_options': {
                'enabled': encryption_enabled,
                'optional': encryption_optional,
                'internode_encryption': internode_encryption,
                'keystore': kspath,
                'keystore_password': 'cassandra',
                'truststore': tspath,
                'truststore_password': 'cassandra',
                'require_endpoint_verification': endpoint_verification,
                'require_client_auth': client_auth,
            }
        })


> Many sslnodetonode_test.TestNodeToNodeSSLEncryption tests failing with 
> "Please remove properties [optional, enabled] from your cassandra.yaml"
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14075
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14075
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Michael Kjellman
>            Assignee: Jason Brown
>
> Many sslnodetonode_test.TestNodeToNodeSSLEncryption dtests are failing on 
> 3.11 with an exception on startup due to invalid yaml properties.
> Unexpected error in node1 log, error: 
> ERROR [main] 2017-11-18 21:01:54,781 CassandraDaemon.java:706 - Exception 
> encountered during startup: Invalid yaml. Please remove properties [optional, 
> enabled] from your cassandra.yaml 
> Although ccm was updated in 
> https://github.com/pcmanus/ccm/commit/eaaa425b70edb84786924516aee3920d685c0e53
>  to include a version check for >= 4.0, enabled and optional are emitted 
> unconditionally in the actual dtest itself -- they should also be conditional 
> on >= 4.0
> {code:java}
> node.set_configuration_options(values={
>             'server_encryption_options': {
>                 'enabled': encryption_enabled,
>                 'optional': encryption_optional,
>                 'internode_encryption': internode_encryption,
>                 'keystore': kspath,
>                 'keystore_password': 'cassandra',
>                 'truststore': tspath,
>                 'truststore_password': 'cassandra',
>                 'require_endpoint_verification': endpoint_verification,
>                 'require_client_auth': client_auth,
>             }
>         })
> {code}



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

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

Reply via email to