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

cbdocloader dumps stack trace on auth / 401 errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 2.5.0
    • 2.0
    • tools
    • Security Level: Public
    • None
    • Untriaged
    • PCI Team - Sprint 17

    Description

      on mac build 1939

      /cbdocloader -n 127.0.0.1:8091 -b gamesim-sample -s 100 /Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin/../samples/gamesim-sample.zip

      {'username': None, 'node': '127.0.0.1:8091', 'password': None, 'bucket': 'gamesim-sample', 'ram_quota': 100}

      ['/Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/../samples/gamesim-sample.zip']
      [2012-11-06 15:59:25,585] - [rest_client] [140735169014112] - ERROR - http://127.0.0.1:8091/nodes/self error 401 reason: unknown
      [2012-11-06 15:59:25,587] - [rest_client] [140735169014112] - ERROR - http://127.0.0.1:8091/pools/default/buckets/ error 401 reason: unknown
      [2012-11-06 15:59:25,589] - [rest_client] [140735169014112] - ERROR - http://127.0.0.1:8091/nodes/self error 401 reason: unknown
      Traceback (most recent call last):
      File "./cbdocloader", line 237, in <module>
      main()
      File "./cbdocloader", line 226, in main
      docloader.init_bucket()
      File "./cbdocloader", line 121, in init_bucket
      authType='sasl')
      File "/Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py", line 799, in create_bucket
      'proxyPort': self.get_nodes_self().moxi,
      File "/Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py", line 591, in get_nodes_self
      json_parsed = json.loads(content)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/_init_.py", line 326, in loads
      return _default_decoder.decode(s)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 360, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 378, in raw_decode
      raise ValueError("No JSON object could be decoded")
      ValueError: No JSON object could be decoded

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            ronnie Ronnie Sun (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty