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

Change port command from CLI not working with 7.0.0 build 5071

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      Steps to reproduce the issue:

      1. Install the cb version 7.0.0-5071 build on VM using below script.

      python3 scripts/new_install.py -i /tmp/testRunner.ini -p timeout=1800,skip_local_download=False,get-cbcollect-info=True,version=7.0.0-5071,product=cb,debug_logs=True,ntp=True,url=

      2. Setup the cluster and add nodes with it. 

      2. Now try to change the port with below command

       

      Command:

      /opt/couchbase/bin/couchbase-cli cluster-edit -c http://localhost:8091 -u Administrator -p password --cluster-port=9090

       

      Output:

      ['DEPRECATED: Please use the setting-cluster command instead', 'SUCCESS: Cluster settings modified']

      Issue: Port 9090 is not working. Still 8091 is active

      3. Try new command as well

      Command

      /opt/couchbase/bin/couchbase-cli cluster-edit -c http://localhost:8091 -u Administrator -p password --cluster-port=9090

      DEPRECATED: Please use the setting-cluster command instead

      SUCCESS: Cluster settings modified

      [root@s10356-w12r2 ~]# /opt/couchbase/bin/couchbase-cli  setting-cluster -c http://localhost:8091 -u Administrator -p password --cluster-port=9090

      SUCCESS: Cluster settings modified

      Issue: Port 9090 is not working. Still 8091 is active

      ===================================================================

      Impact or failed test due to this issue:

      autocompaction.AutoCompactionTests.test_database_fragmentation

      Package: TestRunner

      Command to execute the test
      python3 testrunner.py -i /tmp/testRunner.ini -p get-cbcollect-info=False -t autocompaction.AutoCompactionTests.test_database_fragmentation,autocompaction_value=30,during_ops=change_port,get-cbcollect-info=False,skip_cleanup=True
       

       

       

      Attachments

        Issue Links

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

          Activity

            People

              dfinlay Dave Finlay
              sanjit.chauhan Sanjit Chauhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty