Problem: No documentation about supported MongoDB authentication modes#2495
Conversation
Signed-off-by: Shahbaz Nazir <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2495 +/- ##
==========================================
- Coverage 91.16% 91.13% -0.03%
==========================================
Files 41 41
Lines 2455 2447 -8
==========================================
- Hits 2238 2230 -8
Misses 217 217 |
|
|
||
| Login to your MongoDB deployment as Admin and run following commands | ||
|
|
||
| ``` |
|
|
||
| _Don't use macOS_ (formerly OS X, formerly Mac OS X), because it's not a server-grade operating system. Also, BigchaindB Server uses the Python multiprocessing package and [some functionality in the multiprocessing package doesn't work on Mac OS X](https://docs.python.org/3.6/library/multiprocessing.html#multiprocessing.Queue.qsize). | ||
|
|
||
| ## Using Hosted MongoDB |
There was a problem hiding this comment.
I'm not sure this page is the best place to put this documentation. Maybe put it on the page about BigchainDB configuration settings (i.e. http://docs.bigchaindb.com/projects/server/en/master/server-reference/configuration.html#database ), since that's the only other place in the docs where the backend database username/login and password are mentioned.
There was a problem hiding this comment.
The only usecase I see for this is a production one, which is the reason I did not add it to simple network guide either. So I thought it was appropriate to add it under production nodes notes. If you agree I think we should keep it here as well. I will add some detail in config page but keeping in mind login field is still used if we use SSL cert based x.509 authentication method. password is not needed in x.509 method.
There was a problem hiding this comment.
Using a hosted MongoDB isn't required, even in production nodes, and I don't want to give that impression by including it in the "Production Node Requirements" page. (We would also have to include instructions to set up MongoDB to use the X.509 auth system, and I really don't want to do that.)
It's good to know that password isn't needed when using the X.509 method. Maybe add a note about that to the documentation about password.
I pushed a commit that has the changes that I thought made sense
Solution: Add documentation for production nodes.