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

Server groups should not be exposed on CE

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.1.0
    • 7.1.0
    • ns_server
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      The Server Groups functionality is an enterprise only feature. From https://docs.couchbase.com/server/current/learn/clusters-and-availability/groups.html it says

      Server Group Awareness is only available in Couchbase Server Enterprise Edition.
      

      Yet in the code /pools/default/serverGroups returns info but a POST to the same endpoint errors out as expected. Here's a usage via couchbase-cli

      $ ./couchbase-cli group-manage --cluster localhost:9000 --username Administrator --password asdasd --create --group-name newgroup
      ERROR: This http API endpoint requires enterprise edition
      

      In addition other endpoints return the info

      $ curl -s -u Administrator:asdasd localhost:9000/pools/default | jq | grep serverGroup
            "serverGroup": "Group 1",
        "serverGroupsUri": "/pools/default/serverGroups?v=28679192",
      

      I'm opening this ticket to track not exposing server groups on the CE version.

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.1.0-1829 contains ns_server commit 7a4fa36 with commit message:
            MB-49619: Server groups are only supported on Enterprise Edition.

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1829 contains ns_server commit 7a4fa36 with commit message: MB-49619 : Server groups are only supported on Enterprise Edition.

            Build couchbase-server-7.1.0-1872 contains ns_server commit a069932 with commit message:
            MB-49619: Server groups are only supported on Enterprise Edition.

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1872 contains ns_server commit a069932 with commit message: MB-49619 : Server groups are only supported on Enterprise Edition.

            Validated on Community Edition 7.1.0 build 1935

             

            lfc@LFCs-MacBook-Pro testrunner % curl -s -u Administrator:password 172.23.136.154:8091/pools/default | jq | grep serverGroup

            lfc@LFCs-MacBook-Pro testrunner %

             

            hemant.rajput Hemant Rajput added a comment - Validated on Community Edition 7.1.0 build 1935   lfc@LFCs-MacBook-Pro testrunner % curl -s -u Administrator:password 172.23.136.154:8091/pools/default | jq | grep serverGroup lfc@LFCs-MacBook-Pro testrunner %  

            People

              navdeep.boparai Navdeep Boparai
              steve.watanabe Steve Watanabe
              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