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

Password is not saved when setting email alerts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 4.5.0
    • ns_server
    • None
    • Untriaged
    • Unknown

    Description

      Set up a single node and run the following commands:

      curl http://127.0.0.1:9000/settings/alerts -X POST -u Administrator:password -d "enabled=true&recipients=root@couchbase.com&sender=user@couchbase.com&emailUser=username&emailPass=password&emailPort=25&emailHost=localhost&emailEncrypt=false&alerts=auto_failover_node"

      curl http://127.0.0.1:9000/settings/alerts -u Administrator:password | jq .
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed
      100 203 100 203 0 0 195k 0 -::- -::- -::- 198k
      {
      "recipients": [
      "root@couchbase.com"
      ],
      "sender": "user@couchbase.com",
      "enabled": true,
      "emailServer":

      { "user": "username", "pass": "", "host": "localhost", "port": 25, "encrypt": false }

      ,
      "alerts": [
      "auto_failover_node"
      ]
      }

      Note that the "pass" field is empty.

      Attachments

        Issue Links

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

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              mikew Mike Wiederhold [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty