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

cluster_connect fails with defaults

    XMLWordPrintable

Details

    • 1

    Description

      On mad-hatter, Using a m1 mac I start a cluster_run cluster and when I try to configure it using cluster connect it fails

       steve.watanabe @ ~/madhatter/ns_server ((no branch)) $ ./cluster_connect -n 3 -T n0:kv+index+n1ql+fts+eventing+cbas,n1:kv+index+n1ql+fts+eventing+cbas,n2:kv+index+n1ql+fts+eventing+cbas
      Connecting 3 nodes, bucket type membase, mem size 256 with 1 replica copies, password asdasd, deployment plan {'n0': ['kv', 'index', 'n1ql', 'fts', 'eventing', 'cbas'], 'n1': ['kv', 'index', 'n1ql', 'fts', 'eventing', 'cbas'], 'n2': ['kv', 'index', 'n1ql', 'fts', 'eventing', 'cbas']}Connecting node 0 with services ['kv', 'index', 'n1ql', 'fts', 'eventing', 'cbas']
      Traceback (most recent call last):
        File "./cluster_connect", line 196, in <module>
          main()
        File "./cluster_connect", line 149, in main
          "services={0}".format(",".join(services))).read()
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
          response = meth(req, response)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
          'http', request, response, code, msg, hdrs)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
          return self._call_chain(*args)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
          result = func(*args)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
          raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
      urllib2.HTTPError: HTTP Error 400: Bad Request

      I narrowed it down to this

      xcurl localhost:9000/node/controller/setupServices -d 'services=kv,index,n1ql,fts,eventing,cbas'
      ["insufficient memory to satisfy memory quota for the services (requested quota is 6482MB, maximum allowed quota for the node is 6280MB)"]
      

      I am able to configure using the UI with the default settings.
      This is on a m1 mac with 32GB of RAM so not sure why the maximum allowed quota is only 6.3GB.

      Attachments

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

        Activity

          People

            steve.watanabe Steve Watanabe
            steve.watanabe Steve Watanabe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty