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

unable to change the admin(REST) port from 8091

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: RESTful-APIs
    • Security Level: Public

      Description

      Neither of the following worked, although they both said success:
      CLI:
      /opt/membase/bin/membase cluster-init --cluster=10.1.3.100:8091 -u Administrator -p password --cluster-init-user=Administrator --cluster-init-password=password --cluster-init-port=8080
      SUCCESS: init 10.1.3.100

      REST API:
      curl -d username=Administrator -d password=password -d port=8080 http://Administrator:password@10.1.3.100:8091/settings/web

      {"newBaseUri":"http://10.1.3.100:8080/"}

      presumably the underlying problem is with the REST API not doing what it's saying

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-4160=message:MB-4160

        Activity

        perry Perry Krug created issue -
        Aliaksey Artamonau Aliaksey Artamonau made changes -
        Field Original Value New Value
        Assignee Aliaksey Artamonau [ aliaksey artamonau ]
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        kind of fixed by http://review.couchbase.org/8719 (applied to branch-20)

        But note that it'll change current node port not entire cluster, so it's still not quite advertise-able.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - kind of fixed by http://review.couchbase.org/8719 (applied to branch-20) But note that it'll change current node port not entire cluster, so it's still not quite advertise-able.
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        Integrated in github-ns-server-2-0 #101 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/101/)
        MB-4160 Set rest port on per node basis.

        Aliaksey Kandratsenka :
        Files :

        • src/ns_cluster.erl
        • src/menelaus_web.erl
        • src/menelaus_event.erl
        Show
        farshid Farshid Ghods (Inactive) added a comment - Integrated in github-ns-server-2-0 #101 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/101/ ) MB-4160 Set rest port on per node basis. Aliaksey Kandratsenka : Files : src/ns_cluster.erl src/menelaus_web.erl src/menelaus_event.erl
        Hide
        perry Perry Krug added a comment -

        Reopening this since the feature is still "broken" in a customer's eyes...it used to change the admin port for the whole cluster.

        Show
        perry Perry Krug added a comment - Reopening this since the feature is still "broken" in a customer's eyes...it used to change the admin port for the whole cluster.
        perry Perry Krug made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        fix merged to 1.7.2 branch

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - fix merged to 1.7.2 branch
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -
        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - merge to 2.0 in http://review.couchbase.org/9556
        farshid Farshid Ghods (Inactive) made changes -
        Summary Can't change admin port unable to change the admin(REST) port from 8091
        Fix Version/s 1.7.2 [ 10203 ]
        Show
        farshid Farshid Ghods (Inactive) added a comment - https://github.com/membase/ns_server/commit/bcf3b5b4cfd8b719de11dde19b7f5a5ccf8d587e

          People

          • Assignee:
            Aliaksey Artamonau Aliaksey Artamonau
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes