You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I think I almost have it working, but I'm stuck.
All of the volumes seem to be mounted appropriately, and the containers can talk to one another. I'm able to log in manually to the MongoDB server via pymongo from an IPython container, but there seems to be an authentication issue somewhere.
In the mongo server, I'm seeing the following error throughout /var/log/mongod/current:
2018-04-18_09:57:29.63438 2018-04-18T09:57:29.634+0000 [conn9199] assertion 13 not authorized for query on local.oplog.rs ns:local.oplog.rs query:{ orderby: { $natural: -1 }, $query: {} }
And from the other three containers (worker, peerdb, web), /var/log/meteor shows:
2018-04-18_10:01:10.93522 /bundle/programs/server/node_modules/fibers/future.js:313
2018-04-18_10:01:10.93523 throw(ex);
2018-04-18_10:01:10.93524 ^
2018-04-18_10:01:10.93525 MongoError: not authorized for query on local.oplog.rs
2018-04-18_10:01:10.93526 at Function.MongoError.create (/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/error.js:31:11)
2018-04-18_10:01:10.93527 at queryCallback (/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/cursor.js:197:34)
2018-04-18_10:01:10.93527 at /bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:469:18
2018-04-18_10:01:10.93528 at _combinedTickCallback (internal/process/next_tick.js:131:7)
2018-04-18_10:01:10.93529 at process._tickCallback (internal/process/next_tick.js:180:9)
So clearly, the logger is not authorized properly. As a result, port 80 on the web container is closed and from the browser, all we see is Bad Gateway.
After trying again, I'm finding that I'm unable to authenticate into the admin DB manually from the mongodb container. I'm not sure what I changed.
I was trying to run /etc/service/mongod/run.initialization manually, but I couldn't figure out how to stop the running mongo service. None of service mongod stop, stop mongod, or /etc/init.d/mongod seemed to do the trick.
So I think I almost have it working, but I'm stuck.
All of the volumes seem to be mounted appropriately, and the containers can talk to one another. I'm able to log in manually to the MongoDB server via pymongo from an IPython container, but there seems to be an authentication issue somewhere.
In the mongo server, I'm seeing the following error throughout
/var/log/mongod/current
:And from the other three containers (worker, peerdb, web),
/var/log/meteor
shows:So clearly, the logger is not authorized properly. As a result, port 80 on the web container is closed and from the browser, all we see is
Bad Gateway
.Here's my super-secure
run.config
secret:And here's what I have so far for the kubernetes YAML.
(
<ip-of-nfs-vol>
is replaced with the actual ip of the NFS volume)peermind-kubernetes.yaml
Let me know if anything sticks out to you!
Thanks,
Oliver
The text was updated successfully, but these errors were encountered: