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

cbworkloadgen: When custom port used for UI and n1ql service only error observed as "Host does not have data service",

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Neo.next
    • 7.1.0
    • sdkdev
    • Untriaged
    • Windows 64-bit
    • 1
    • Unknown

    Description

      Created external machine through aws for windows.

      1. Executed:

      couchbase-cli setting-alternate-address -c 10.0.1.180 -u Administrator -p password --set --node 10.0.1.180 --hostname ec2-34-221-133-165.us-west-2.compute.amazonaws.com:9000 --ports mgmt=9000,n1ql=9050

      2. To access custom ports followed steps from: https://docs.couchbase.com/server/7.0/install/install-ports.html#map-custom-ports 

      that is added "{rest_port, 9000}. {query_port, 9050}. " port details in static_config and deleted config.dat file.

      3. From local machine executed :

      cbworkloadgen -n ec2-34-221-133-165.us-west-2.compute.amazonaws.com:9000 -u Administrator -p password -i 50000 -b Bucket1 -v --prefix abc

      4. Error observed "Host does not have data service"

      Expected is when we are not selecting any custom port than it should select default port but in this case i got error.

      5. Now again created alternate address and added port details for data service also as " kv 11210" which is default port.

      6. Executed cbworkloadgen command again and it worked.     

      I collected the logs quite late.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thuan Thuan Nguyen
              deepika.verma Deepika Verma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty