Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
6.4.1
-
None
Description
it is impossible to hash the nosqlrotocol.password as a regular maxscale service user.
example :
maxpasswd /var/lib/maxscale aBcd_123
|
gives a hash
when replacing plain text password with said hash in this :
[mcs_mongo]
|
type=listener
|
service=Read-Write-Service
|
protocol=nosqlprotocol
|
nosqlprotocol.user=mongo_test
|
nosqlprotocol.password=HASH
|
port=27017 |
|
after restart all tries to insert a new document end up with this error message :
db.runCommand({insert: "mongo_collection", documents: [{_id: 1, "hello": "world"}]}); |
|
uncaught exception: Error: error doing query: failed: network error while attempting to run command 'insert' on host '127.0.0.1:27017' : |
|
DB.prototype.runCommand@src/mongo/shell/db.js:177:19 |
with password in clear text, everything works as intended.