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

ddoc/view definition failure due to "sasl_auth_failed"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.0
    • 3.0
    • view-engine
    • Security Level: Public
    • Build 3.0.0-478

      Platform = Physical
      OS = CentOS 6.5
      CPU = Intel Xeon E5-2630
      Memory = 64 GB
      Disk = 2 x SSD

    Description

      Very basic test fails when I try to create new design docs. From logs I can see:

      [couchdb:error,2014-03-20T11:40:26.476,ns_1@172.23.96.15:<0.16874.0>:couch_log:error:42]couch_set_view_group error opening set view group `_design/A` (prod), signature
      `3f60d1104ae63ff35f71bb0caf314d82', from set `bucket-1`: {badmatch,
      {error,
      sasl_auth_failed}}
      [couchdb:error,2014-03-20T11:40:26.478,ns_1@172.23.96.15:<0.15004.0>:couch_log:error:42]Uncaught error in HTTP request: {exit,
      {{bad_return_value,
      {badmatch,

      {error,sasl_auth_failed}

      }},
      {gen_server,call,
      ['capi_set_view_manager-bucket-1',
      {interactive_update,
      {doc,<<"_design/C">>,

      {0,<<>>}

      ,
      <<"{\"options\":

      {\"updateMinChanges\":0,\"replicaUpdateMinChanges\":0}

      ,\"views\":{\"experts_coins_by_name\":{\"map\":\"
      n
      function(doc, meta) {
      n if (doc.category === 2)

      {\\n emit(doc.name, doc.coins);\\n }


      n }
      n \"}
      ,\"name_and_email_by_category_and_and_coins\":{\"map\":\"
      n function(doc, meta)

      {\\n emit([doc.category, doc.coins], [doc.name, doc.email]);\ \n }


      n \"},\"name_and_email_by_realm_and_coins\":{\"map\":\"
      n function(doc, meta)

      {\\n emit([doc.realm, doc.coins], [doc. name, doc.email]);\\n }


      n \"},\"id_by_city\":{\"map\":\"
      n function(doc, meta)

      {\\n emit(doc.city, null);\\n }


      n \"}}}">>,
      0,false,[]}},
      infinity]}}}

      Also all nodes in cluster went into pending state.

      I expect this is known issue but I didn't find any open ticket for this basic problem.

      Attachments

        Issue Links

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

          Activity

            People

              sarath Sarath Lakshman
              pavelpaulau Pavel Paulau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty