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

Shouldn't require auth for default bucket's JSOn

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 GA
    • 1.6.0 beta3
    • ns_server
    • None
    • Operating System: All
      Platform: All

    Description

      This is right after installation, I did not change any of the default configuration.

      From: Aliaksey Kandratsenka alkondratenko@gmail.com
      Sent: Saturday, September 25, 2010 11:41 PM
      To: Sharon Barr
      Cc: Staff - Development
      Subject: Re: Failed to get vBucket map on the latest build.

      I doesn't look like moxi problem. The default bucket is missing. And either you try to run smart client or we're spawning per-port moxi for default bucket. Weird.
      On Sun, Sep 26, 2010 at 9:19 AM, Sharon Barr <sharon@northscale.com> wrote:
      I just installed the latest build on 10.2.1.13.
      I see the following in the log:
      Created bucket "default" of type: membase menelaus_web012 23:12:06 - Sat Sep 25, 2010
      Server error during processing: ["web request failed",

      {path, "/pools/default/bucketsStreaming/default"}

      ,

      {type,error}

      ,
      {what,{badmatch,not_present}},
      {trace,
      [

      {ns_bucket,json_map,2}

      ,

      {menelaus_web_buckets,build_bucket_info,6}

      ,

      {menelaus_web,handle_streaming,4}

      ,

      {menelaus_web_buckets, checking_bucket_access,4}

      ,

      {menelaus_web,loop,3}

      ,

      {mochiweb_http,headers,5}

      ,

      {proc_lib,init_p_do_apply,3}

      ]}] menelaus_web019 23:12:06 - Sat Sep 25, 2010
      NorthScale Server has started on web port 8080 on node 'ns_1@127.0.0.1'.
      menelaus_app001 22:59:43 - Sat Sep 25, 2010
      Initial otp cookie generated: otljyszhbgzsqplo ns_node_disco003 22:59:43 - Sat Sep 25, 2010

      More importantly, running moxi against the server return bad config
      [root@t2 ~]# /opt/membase/moxi/bin/moxi -v -u root http://10.2.1.13:8080/pools/default/bucketsStreaming/default
      2010-09-25 23:20:09: (memcached.c.4579) moxi log, mode=1, file=(null)
      2010-09-25 23:20:09: (agent_config.c.823) ERROR: invalid config from REST server

      Curl http://10.2.1.13:8080/pools/default/bucketsStreaming/default returns empty result.
      I installed 10.2.1.14 and before setting it up curl return a map. After adding it to the cluster, curl return empty result.

      Steve, can you look at it?

      Thanks,

      Sharon.

      Attachments

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

        Activity

          People

            sean@northscale.com Sean Lynch (Inactive)
            sharon.barr@northscale.com sharon.barr@northscale.com
            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