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

cbdocloader can't load views for a sasl bucket created by user build 1776

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0-beta-2
    • 2.0-beta-2
    • tools
    • Security Level: Public
    • None

    Description

      I create a sasl bucket: bucket0 and run cbdocloader (build 1776). All the items can be loaded but not production views. What's wrong with the following command?

      2012-09-27 00:06:31,068 - root - INFO - running command.raw sudo /opt/couchbase/bin/tools/cbdocloader -u Administrator -p password -n 10.1.3.102:8091 -b bucket0 -s 200 /opt/couchbase/samples/gamesim-sample.zip
      2012-09-27 00:06:31,109 - paramiko.transport - INFO - Secsh channel 8 opened.
      2012-09-27 00:06:33,580 - root - INFO - command executed successfully
      2012-09-27 00:06:33,581 - root - INFO -

      {'username': 'Administrator', 'node': '10.1.3.102:8091', 'password': 'password', 'bucket': 'bucket0', 'ram_quota': 200}

      ['/opt/couchbase/samples/gamesim-sample.zip']
      2012-09-27 00:06:33,581 - root - INFO - [2012-09-27 00:07:39,073] - [rest_client] [140169126921984] - INFO - existing buckets : [u'bucket0', u'default']
      2012-09-27 00:06:33,582 - root - INFO - [2012-09-27 00:07:39,074] - [rest_client] [140169126921984] - INFO - found bucket bucket0
      2012-09-27 00:06:33,582 - root - INFO - [2012-09-27 00:07:39,468] - [rest_client] [140169126921984] - ERROR - http://10.1.3.102:8092/bucket0/_design/players error 401 reason: unauthorized

      {"error":"unauthorized","reason":"password required"}

      2012-09-27 00:06:33,582 - root - INFO -
      2012-09-27 00:06:33,582 - root - INFO - View: _design/players/_view/playerlist
      2012-09-27 00:06:33,583 - root - INFO - [2012-09-27 00:07:41,257] - [rest_client] [140169126921984] - ERROR - http://10.1.3.102:8092/bucket0/_design/players/_view/playerlist?stale=update_after error 401 reason: unauthorized

      {"error":"unauthorized","reason":"password required"}

      2012-09-27 00:06:33,583 - root - INFO -
      2012-09-27 00:06:33,583 - root - INFO - View: _design/players/_view/leaderboard
      2012-09-27 00:06:33,584 - root - INFO - [2012-09-27 00:07:41,260] - [rest_client] [140169126921984] - ERROR - http://10.1.3.102:8092/bucket0/_design/players/_view/leaderboard?stale=update_after error 401 reason: unauthorized

      {"error":"unauthorized","reason":"password required"}

      2012-09-27 00:06:33,584 - root - INFO -
      2012-09-27 00:06:33,584 - root - INFO - done

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            Chisheng Chisheng Hong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty