Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14075

Many sslnodetonode_test.TestNodeToNodeSSLEncryption tests failing with "Please remove properties [optional, enabled] from your cassandra.yaml"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • Legacy/Testing
    • None
    • Normal

    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

      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,
                  }
              })
      

      Attachments

        Activity

          People

            jasobrown Jason Brown
            mkjellman Michael Kjellman
            Jason Brown
            Michael Kjellman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: