UI show incorrect flag to remove bucket port setting

Description

Incorrect flag shows in warning message on vulcan UI about the remove of dedecated port of bucket.

It shows --remove-port

The correct one in couchbase-cli is --remove-bucket-port

[root@s44016 ~]# /opt/couchbase/bin/couchbase-cli bucket-edit -h usage: couchbase-cli bucket-edit -c <cluster> -u <username> -p [<password>]                                  [-o <output>] [-d] [-s] [--no-ssl-verify]                                  [--cacert CACERT] [-h] --bucket <name>                                  [--bucket-ramsize <quota>]                                  [--bucket-replica <num>]                                  [--bucket-priority <priority>]                                  [--bucket-eviction-policy <policy>]                                  [--max-ttl <seconds>]                                  [--compression-mode <mode>]                                  [--enable-flush <0|1>]                                  [--remove-bucket-port <0|1>] Cluster options:   -c,--cluster <cluster>      The hostname of the Couchbase cluster   -u,--username <username>    The username for the Couchbase cluster   -p,--password [<password>]  The password for the Couchbase cluster   -o,--output <output>        The output type (json or standard)   -d,--debug                  Run the command with extra logging   -s,--ssl                    Use ssl when connecting to Couchbase                               (Deprecated)   --no-ssl-verify             Skips SSL verification of certificates against                               the CA   --cacert cacert             Verifies the cluster identity with this                               certificate   -h,--help                   Prints the short or long help message Bucket edit options:   --bucket <name>             The name of bucket to create   --bucket-ramsize <quota>    The amount of memory to allocate the bucket   --bucket-replica <num>      The replica count for the bucket   --bucket-priority <priority>                               The bucket disk io priority (low or high)   --bucket-eviction-policy <policy>                               The bucket eviction policy (valueOnly or                               fullEviction)   --max-ttl <seconds>         Set the maximum TTL the bucket will accept   --compression-mode <mode>   Set the compression mode of the bucket   --enable-flush <0|1>        Enable bucket flush on this bucket (0 or 1)   --remove-bucket-port <0|1>  Removes the bucket-port setting

 

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Attachments

1
  • 23 Jul 2018, 09:16 AM

relates to

Activity

Show:

Mihir Kamdar August 6, 2018 at 9:11 AM

Verified the fix on 5.5.1-3504. The warning now says -

Your Couchbase bucket gamesim-sample has an active dedicated port, also known as a Moxi port. Moxi is deprecated and will be removed in a future release.
You can run the CLI command couchbase-cli bucket-edit command with the --remove-bucket-port option to remove the Moxi port.

CB robot August 1, 2018 at 5:21 PM

Build couchbase-server-6.5.0-1146 contains ns_server commit fe9bcdb with commit message:
Merge remote-tracking branch 'couchbase/vulcan' into alice

CB robot July 25, 2018 at 8:29 PM

Build couchbase-server-6.5.0-1117 contains ns_server commit 4c369b5 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-30589#icft=MB-30589: show correct flag to remove bucket port setting

CB robot July 25, 2018 at 4:11 PM

Build couchbase-server-6.0.0-1373 contains ns_server commit 4c369b5 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-30589#icft=MB-30589: show correct flag to remove bucket port setting

CB robot July 25, 2018 at 4:11 PM

Build couchbase-server-6.0.0-1373 contains ns_server commit fe9bcdb with commit message:
Merge remote-tracking branch 'couchbase/vulcan' into alice

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Pavel Blagodov

Reporter

Is this a Regression?

No

Triage

Untriaged

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created July 23, 2018 at 9:16 AM
Updated October 30, 2018 at 3:30 AM
Resolved October 30, 2018 at 3:30 AM
Instabug