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

couchbase-cli setting-alert --email-port and --email-password arguments not working in 3.0.3 and 3.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.1, 4.1.0
    • 3.0.3, 3.1.0
    • tools
    • Security Level: Public
    • None
    • Generic
    • Untriaged
    • Unknown

    Description

      Customer reports this problem in 3.0.3 and I reproduce in 3.0.3 and 3.1.
      The command
      .
      couchbase-cli - setting-alert -c 127.0.0.1:8091 -u Administrator -p <pwd> --email-port=255
      .
      fails with
      "
      ERROR: unable to set alert settings (400) Bad Request
      {u'errors': {u'general': u'No valid parameters given.'}}
      "
      The command
      .
      couchbase-cli - setting-alert -c 127.0.0.1:8091 -u Administrator -p <pwd> --email-password=testPWD
      .
      returns success but is not changed if one checks alert settings via the
      .
      curl -i -u Administrator:<pwd> 127.0.0.1:8091/settings/alerts
      .
      REST command.
      This problem has been previously reported in CBSE-1543 and worked in MB-12851 and was closed as fixed in 3.0.2, but I find the problem to be reproducible in both 3.0.3 and 3.1.
      Note that customer says that the "--email-port" argument similarly returns "success" but is actually not changed; I cannot even get that command to work.

      Attachments

        Issue Links

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

          Activity

            People

              ceej Chris Hillery
              morrie Morrie Schreibman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - 16h
                  16h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Gerrit Reviews

                    There are no open Gerrit changes

                    PagerDuty