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

cbdocloader tools runs for infinite with 401 error for an incorrect username

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • tools
    • 2151
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      1. Configure CB with LDAP and create a user in LDAP.
      2. Configure the LDAP user to be a bucket_admin
      3. Execute the following command, note give username that is not part of any role, neither it exists in LDAP Server"

      ./cbdocloader -n localhost:8091 -u rtaim123 -p password -b mybucket ../samples/gamesim-sample.zip
      

      Following is infinite output:

      [root@cherry-s10126 bin]# ./cbdocloader -n localhost:8091 -u rtaim123 -p password -b mybucket ../samples/gamesim-sample.zip
      [2016-04-18 05:11:38,302] - [rest_client] [139976466532096] - ERROR - http://localhost:8091/nodes/self error 401 reason: unknown 
      [2016-04-18 05:11:38,313] - [rest_client] [139976466532096] - ERROR - http://localhost:8091/pools/default/buckets/ error 401 reason: unknown 
      [2016-04-18 05:11:38,313] - [rest_client] [139976466532096] - ERROR - load json exception
      [2016-04-18 05:11:38,313] - [rest_client] [139976466532096] - INFO - existing buckets : []
      [2016-04-18 05:11:38,317] - [rest_client] [139976466532096] - ERROR - http://localhost:8091/nodes/self error 401 reason: unknown 
      [2016-04-18 05:11:39,323] - [rest_client] [139976466532096] - ERROR - http://localhost:8091/nodes/self error 401 reason: unknown 
      [2016-04-18 05:11:40,331] - [rest_client] [139976466532096] - ERROR - http://localhost:8091/nodes/self error 401 reason: unknown 
      [2016-04-18 05:11:41,338] - [rest_client] [139976466532096] - ERROR - http://localhost:8091/nodes/self error 401 reason: unknown 
      [2016-04-18 05:11:42,345] - [rest_client] [139976466532096] - ERROR - http://localhost:8091/nodes/self error 401 reason: unknown 
      

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            ritam.sharma Ritam Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty