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

[tools] Failed to import json with custom port

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      Install Couchbase server 7.0.0-5088 on 4 nodes

      Create cluster with services kv,index,n1ql,fts

      Create default bucket.

      Change default port 8091 to 9000 using cli command

       /opt/couchbase/bin/couchbase-cli setting-cluster -c 172.23.121.224:8091 -u Administrator -p password --cluster-port=9000

      Import json file to default bucket, import failed due to unable to connect to port 9000

       

      /opt/couchbase/bin/cbimport json -c 172.23.121.224:9000 -u Administrator -p password -b default -d file:///tmp/import/json_list_1000_lines -f list -g key::%index%

       [importexporttest.test_imex_non_default_port] Output from execute command ['2021-05-03T13:22:26.113-07:00 ERRO: (REST) (Attempt 1) (GET) Failed to dispatch request to \'http://172.23.121.224:9000/pools/default/nodeServices\': Get "http://172.23.121.224:9000/pools/default/nodeServices": dial tcp 172.23.121.224:9000: connect: connection refused -- rest.(*Request).execute() at request.go:205', 'JSON import failed: failed to connect to any host(s) from the connection string, check the logs for more details']

      Log will be upload soon

      The last stable build is 5017

      Attachments

        Issue Links

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

          Activity

            People

              artem Artem Stemkovski
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty