Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-42277

Internal error is raised when connecting remote link created with full encryption

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Operating System:
      Centos 64-bit
    • Story Points:
      1
    • Is this a Regression?:
      Unknown
    • Sprint:
      CX Sprint 222, CX Sprint 223

      Description

      Steps to reproduce -
      1. Setup 2 clusters, 1 analytics cluster and 1 remote data cluster.
      2. Setup certificates on remote data cluster.
      3. Load travel-sample bucket on remote data cluster.
      4. Create remote link on analytics cluster to remote cluster with encryption set to full. (create a link using both (username, password and root cert) and (root cert, client cert and client key))
      5. Connect the links created above.
      6. Internal error is raised.

      In newcerts88C2.zip -
      root cert - > root.crt
      client cert -> long_chain172.16.1.174.pem
      client key -> 172.16.1.174.key

      2020-10-26T11:34:42.484+00:00 WARN CBAS.server.QueryServiceServlet [HttpExecutor(port:8095)-13] handleException: unexpected exception CBAS0029: Connect link failed {"Default.r5.travel-sample" : "Internal error"}: <ud>{"host":"10.112.205.102:8091","path":"/query/service","statement":"connect link r5;","pretty":false,"mode":"immediate","clientContextID":"f7939918-9732-4347-97d0-df13a35c7c05","format":"CLEAN_JSON","timeout":9223372036854775807,"maxResultReads":1,"planFormat":"JSON","expressionTree":false,"rewrittenExpressionTree":false,"logicalPlan":false,"optimizedLogicalPlan":true,"job":false,"profile":"counts","signature":true,"multiStatement":false,"parseOnly":false,"readOnly":false,"maxWarnings":10,"scanConsistency":"not_bounded","scanWait":null}</ud>
      com.couchbase.analytics.common.exceptions.AnalyticsHyracksException: CBAS0029: Connect link failed {"Default.r5.travel-sample" : "Internal error"}
              at com.couchbase.analytics.lang.ConnectLinkStatement.doHandle(ConnectLinkStatement.java:371) ~[cbas-connector.jar:6.6.1-9143]
              at com.couchbase.analytics.lang.ConnectionStatement.handle(ConnectionStatement.java:65) ~[cbas-connector.jar:6.6.1-9143]
              at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:430) ~[asterix-app.jar:6.6.1-9143]
              at org.apache.asterix.app.message.ExecuteStatementRequestMessage.handle(ExecuteStatementRequestMessage.java:155) ~[asterix-app.jar:6.6.1-9143]
              at org.apache.asterix.messaging.CCMessageBroker.receivedMessage(CCMessageBroker.java:64) ~[asterix-app.jar:6.6.1-9143]
              at org.apache.hyracks.control.cc.work.ApplicationMessageWork.lambda$notifyMessageBroker$0(ApplicationMessageWork.java:68) ~[hyracks-control-cc.jar:6.6.1-9143]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
              at java.lang.Thread.run(Unknown Source) [?:?]
      
      

        Attachments

          Issue Links

          For Gerrit Dashboard: MB-42277
          # Subject Branch Project Status CR V

            Activity

            umang.agrawal Umang created issue -
            umang.agrawal Umang made changes -
            Field Original Value New Value
            Description Steps to reproduce -
            1. Setup 2 clusters, 1 analytics cluster and 1 remote data cluster.
            2. Setup certificates on remote data cluster.
            3. Load travel-sample bucket on remote data cluster.
            4. Create remote link on analytics cluster to remote cluster with encryption set to full. (create a link using both (username, password and root cert) and (root cert, client cert and client key))
            5. Connect the links created above.
            6. Internal error is raised.

            In newcerts88C2.zip -
            Steps to reproduce -
            1. Setup 2 clusters, 1 analytics cluster and 1 remote data cluster.
            2. Setup certificates on remote data cluster.
            3. Load travel-sample bucket on remote data cluster.
            4. Create remote link on analytics cluster to remote cluster with encryption set to full. (create a link using both (username, password and root cert) and (root cert, client cert and client key))
            5. Connect the links created above.
            6. Internal error is raised.

            In newcerts88C2.zip -
            root cert - > root.crt
            client cert -> long_chain172.16.1.174.pem
            client key -> 172.16.1.174.key
            umang.agrawal Umang made changes -
            Attachment internal_err.zip [ 113020 ]
            umang.agrawal Umang made changes -
            Description Steps to reproduce -
            1. Setup 2 clusters, 1 analytics cluster and 1 remote data cluster.
            2. Setup certificates on remote data cluster.
            3. Load travel-sample bucket on remote data cluster.
            4. Create remote link on analytics cluster to remote cluster with encryption set to full. (create a link using both (username, password and root cert) and (root cert, client cert and client key))
            5. Connect the links created above.
            6. Internal error is raised.

            In newcerts88C2.zip -
            root cert - > root.crt
            client cert -> long_chain172.16.1.174.pem
            client key -> 172.16.1.174.key
            Steps to reproduce -
            1. Setup 2 clusters, 1 analytics cluster and 1 remote data cluster.
            2. Setup certificates on remote data cluster.
            3. Load travel-sample bucket on remote data cluster.
            4. Create remote link on analytics cluster to remote cluster with encryption set to full. (create a link using both (username, password and root cert) and (root cert, client cert and client key))
            5. Connect the links created above.
            6. Internal error is raised.

            In newcerts88C2.zip -
            root cert - > root.crt
            client cert -> long_chain172.16.1.174.pem
            client key -> 172.16.1.174.key


            {code:java}
            2020-10-26T11:34:42.484+00:00 WARN CBAS.server.QueryServiceServlet [HttpExecutor(port:8095)-13] handleException: unexpected exception CBAS0029: Connect link failed {"Default.r5.travel-sample" : "Internal error"}: <ud>{"host":"10.112.205.102:8091","path":"/query/service","statement":"connect link r5;","pretty":false,"mode":"immediate","clientContextID":"f7939918-9732-4347-97d0-df13a35c7c05","format":"CLEAN_JSON","timeout":9223372036854775807,"maxResultReads":1,"planFormat":"JSON","expressionTree":false,"rewrittenExpressionTree":false,"logicalPlan":false,"optimizedLogicalPlan":true,"job":false,"profile":"counts","signature":true,"multiStatement":false,"parseOnly":false,"readOnly":false,"maxWarnings":10,"scanConsistency":"not_bounded","scanWait":null}</ud>
            com.couchbase.analytics.common.exceptions.AnalyticsHyracksException: CBAS0029: Connect link failed {"Default.r5.travel-sample" : "Internal error"}
                    at com.couchbase.analytics.lang.ConnectLinkStatement.doHandle(ConnectLinkStatement.java:371) ~[cbas-connector.jar:6.6.1-9143]
                    at com.couchbase.analytics.lang.ConnectionStatement.handle(ConnectionStatement.java:65) ~[cbas-connector.jar:6.6.1-9143]
                    at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:430) ~[asterix-app.jar:6.6.1-9143]
                    at org.apache.asterix.app.message.ExecuteStatementRequestMessage.handle(ExecuteStatementRequestMessage.java:155) ~[asterix-app.jar:6.6.1-9143]
                    at org.apache.asterix.messaging.CCMessageBroker.receivedMessage(CCMessageBroker.java:64) ~[asterix-app.jar:6.6.1-9143]
                    at org.apache.hyracks.control.cc.work.ApplicationMessageWork.lambda$notifyMessageBroker$0(ApplicationMessageWork.java:68) ~[hyracks-control-cc.jar:6.6.1-9143]
                    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
                    at java.lang.Thread.run(Unknown Source) [?:?]

            {code}
            till Till Westmann made changes -
            Labels analytics analytics triaged
            till Till Westmann made changes -
            Link This issue relates to MB-42037 [ MB-42037 ]
            till Till Westmann made changes -
            Assignee Till Westmann [ till ] Hussain Towaileb [ hussain.towaileb ]
            Hussain.Towaileb Hussain Towaileb made changes -
            Sprint CX Sprint 222 [ 1288 ]
            Hussain.Towaileb Hussain Towaileb made changes -
            Rank Ranked higher
            Hussain.Towaileb Hussain Towaileb made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hussain.Towaileb Hussain Towaileb made changes -
            Rank Ranked higher
            till Till Westmann made changes -
            Sprint CX Sprint 222 [ 1288 ] CX Sprint 222, CX Sprint 223 [ 1288, 1291 ]
            till Till Westmann made changes -
            Link This issue blocks MB-40528 [ MB-40528 ]
            till Till Westmann made changes -
            Labels analytics triaged analytics approved-for-6.6.1 triaged
            Hussain.Towaileb Hussain Towaileb made changes -
            Resolution Not a Bug [ 10200 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            umang.agrawal Umang made changes -
            Assignee Hussain Towaileb [ hussain.towaileb ] Umang [ JIRAUSER24787 ]
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              Assignee:
              umang.agrawal Umang
              Reporter:
              umang.agrawal Umang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty