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

Server does not accept correct master - password

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 6.5.0
    • ns_server
    • Enterprise Edition 6.5.0 build 4844

    Description

      1. Create a master password for a cluster
      [root@node2 bin]# ./couchbase-cli setting-master-password --new-password p@ssword -c localhost -u Administrator -p password
      SUCCESS: New master password set

      2. Restart the server using the following command:
      service couchbase-server restart

      3. Now in another terminal send password
      [root@node2 bin]# ./couchbase-cli master-password --send-password p@ssword
      Incorrect password.

      Expected Result:
      Server should start

      Actual Result:
      [ns_server:error,2019-11-25T01:34:26.544-08:00,babysitter_of_ns_1@cb.local:encryption_service<0.103.0>:encryption_service:init:188]Incorrect master password. Error:

      {error, "cipher: message authentication failed"}

      [ns_server:debug,2019-11-25T01:34:26.544-08:00,babysitter_of_ns_1@cb.local:encryption_service<0.103.0>:encryption_service:prompt_the_password:102]Waiting for the master password to be supplied. Attempt 1

      I believe the number attempts are 3, but send-password waits indefinitely for correct password.

      Regression from 4821.

      Attachments

        Issue Links

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

          Activity

            People

              artem Artem Stemkovski
              ritam.sharma Ritam Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty