PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 24th of January, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[01:03:34] <morenoh149> anyone experienced with the nodejs driver?
[01:42:09] <morenoh149> what's the difference between update and findandmodify?
[02:21:35] <kexmex> so MMS agent has to run as root i guess?
[02:38:16] <cheeser> kexmex: no, it doesn't
[02:38:26] <kexmex> what does it have ot run as
[02:38:32] <kexmex> i tried running at as mongodb in docker
[02:38:35] <kexmex> it didnt have perms to do its thing
[02:38:41] <kexmex> it couldnt install mongod it looks like
[02:38:55] <cheeser> you need to chown the directories
[02:44:03] <kexmex> cheeser: which ones
[02:44:06] <kexmex> bin?
[02:44:25] <cheeser> which agents are you using?
[02:44:59] <cheeser> the automation agent puts things in /data, /var/lib/mongodb-mms-automation, and /var/log/mongodb-mms-automation
[02:45:46] <cheeser> but if your docker config is manually downloading mongodb those paths can be whatever you want it to be.
[02:46:20] <kexmex> nah
[02:46:24] <kexmex> i created an image that pulls MMS
[02:46:32] <kexmex> what a pain in the ass :)
[02:46:42] <kexmex> i am trying to run a replica set on one server
[02:46:46] <cheeser> what does that mean? there are several parts to MMS.
[02:47:10] <cheeser> as in, the on prem version? or just installs the agents to talk to the cloud offering?
[02:47:46] <kexmex> agent
[02:47:47] <kexmex> yea
[02:47:57] <kexmex> i created a Dockerfile that downloads the agent
[02:48:02] <kexmex> and doing deploy from cloud
[02:48:09] <kexmex> kinda wokring, now i need to do the ports thing
[02:48:39] <cheeser> i've only really downloaded and configure the automation agent and let it do its thing.
[02:49:23] <kexmex> yea
[02:49:25] <kexmex> me2
[02:49:30] <kexmex> but in docker
[02:49:31] <kexmex> u?
[02:49:50] <cheeser> bash scripts :)
[02:51:20] <kexmex> bah
[02:51:53] <kexmex> well
[02:51:58] <kexmex> i got 3 mongod instances running in same docker
[02:52:05] <kexmex> they got instantiated via MMS cloud
[02:52:11] <kexmex> and they are not initing for some reason
[02:54:10] <cheeser> can you see them in MMS?
[02:54:39] <kexmex> 2015-01-24T02:52:05.878+0000 [conn155314] Failed to authenticate mms-automation@admin with mechanism MONGODB-CR: AuthenticationFailed UserNotFound Could not find user mms-automation@admin
[02:54:44] <kexmex> the 2 other ones
[02:54:46] <kexmex> are phailing
[02:54:51] <cheeser> oh, you have auth enabled.
[02:54:54] <kexmex> yeh
[02:54:56] <kexmex> is that bad
[02:55:08] <kexmex> i thought replicaset talks by key?
[02:55:33] <kexmex> gonna disable it
[02:55:38] <kexmex> then re-enable it once they all connect
[02:56:28] <kexmex> ok i think now they are talking
[02:56:31] <kexmex> can i enable auth now?
[02:56:53] <cheeser> yes. if you do it via mms, it'll take care of the details.
[02:57:08] <cheeser> there are 2(?) users that have to be present for MMS
[02:57:46] <kexmex> hmm?
[02:57:58] <kexmex> wouldn't that be done as part of install
[02:58:06] <kexmex> btw
[02:58:09] <kexmex> how come i dont see MONGOS
[02:58:15] <kexmex> i only see 3 mongod in container
[02:58:36] <cheeser> because you didn't start a mongos?
[02:58:48] <cheeser> you don't need one for just a replica set.
[02:58:49] <kexmex> do i need to configure it
[02:58:53] <kexmex> oh
[02:58:58] <kexmex> mongos for shard?
[02:59:01] <cheeser> yeah
[02:59:04] <kexmex> hmm wait
[02:59:17] <kexmex> so in my driver, i specify all 3 servers with comma or something?
[02:59:29] <kexmex> i thought it needs to talk to a Replica through MongoS
[03:00:19] <kexmex> they are taking their damn time
[03:00:24] <kexmex> are they pre-allocating like crazy? :)
[03:01:33] <kexmex> btw
[03:01:38] <kexmex> how come i cant do 2 data and 1 arb?
[03:03:01] <cheeser> you can
[03:03:31] <kexmex> not with the wizard right
[03:04:33] <kexmex> so like
[03:04:40] <kexmex> cant i have mongs on top of replicaset
[03:04:49] <kexmex> so that driver knows only about several mongos?
[03:04:56] <kexmex> also
[03:05:03] <kexmex> can these mongo instances communicate via SSL?
[03:06:24] <cheeser> yes. you can do all that.
[03:06:27] <kexmex> how
[03:06:47] <cheeser> well, there are several peices there. each has it's own page at mongodb.org
[03:07:04] <kexmex> oh well yea that i know
[03:07:10] <kexmex> i was just want to do 1-click :)
[03:07:42] <cheeser> mms.mongodb.com :D
[03:07:49] <kexmex> i know
[03:07:53] <kexmex> i cant find :)
[03:11:56] <kexmex> cheeser: hey
[03:11:58] <kexmex> if docker stops
[03:12:02] <kexmex> hostname changes right?
[03:12:52] <cheeser> i dunno. i've not used docker. just read this and that about it.
[03:13:28] <kexmex> ohh
[03:13:32] <kexmex> you sounded pro :)
[03:13:49] <cheeser> i am. just not with docker. :D
[03:14:46] <kexmex> you what
[03:14:47] <kexmex> sound pro
[03:14:50] <kexmex> or really are pro
[03:14:51] <kexmex> :)
[03:14:58] <cheeser> hopefully both
[03:15:27] <kexmex> :)
[03:15:31] <cheeser> speaking of which, time to beat some zombies to death before watching some coursera vids. good luck. :)
[03:15:39] <kexmex> what u watching
[03:15:40] <kexmex> on coursera
[03:15:42] <kexmex> and what zombies
[03:15:59] <cheeser> machine learning. and dead island.
[03:19:32] <kexmex> oh
[03:19:32] <kexmex> cool
[03:19:33] <kexmex> gl
[14:45:56] <majkrzak> How can i disable TCP socket on mngo?
[14:48:58] <ilteris> hi guys, I have this dataset https://gist.github.com/ilteris/41b6244b6674199d7462 which I need to store in my mongo db. I have two challenges. 1. You will see some some records are "to open" some of them are "to close" I need to match and store them in groups, does mongo provide such thing? 2. I need to check duplicate entries when entering the db, what would be the best way to go in your opinion? I hope this is a good
[14:48:58] <ilteris> place to ask these questions.
[15:30:12] <majkrzak> Is there any way in pymongo to change this line `insert({'val':val.__getstate__()})`
[15:40:21] <hems> Any recommendations of fast / cheap / reliable ( k i know, sounds like a poor startup dream ) hosted/managed mongodb ?
[18:04:19] <xcesariox> can someone help me out with mongoid:config ? Could not find generator 'mongoid:config'. Maybe you meant 'migration' or 'controller' or 'generator'
[18:05:11] <xcesariox> https://gist.github.com/shaunstanislaus/7ca39d7430e8478ea50d
[18:25:58] <xcesariox> anyone here?
[18:53:25] <xcesariox> hello?
[19:46:00] <morenoh149> anyone have experience with the nodejs driver? http://stackoverflow.com/questions/28121668/cursor-has-no-method-next?noredirect=1#comment44621608_28121668
[20:05:28] <dimon222__> well its true, no such method
[21:43:07] <Desuvader> So can someone confirm if this is supposed to work: https://gist.github.com/Desuvader/abf338eb252fa0cbd06a
[21:43:08] <Desuvader> ?
[21:55:56] <joannac> Desuvader: what does "doesn't work" mean? syntax error? does get the document you want?
[21:58:12] <Desuvader> Sovled it. You apparently can't query: { person: { id: 123 } }
[21:58:16] <Desuvader> with 'person.id'
[22:00:16] <Desuvader> joannac: let me rephrase that. You can't use that syntax (gist) in a $or query.
[22:00:48] <Desuvader> Not sure if it is intended.
[22:02:39] <Desuvader> https://gist.github.com/Desuvader/7e1b0f646e29b07829ad
[22:08:59] <krisfremen> Desuvader: works for me
[22:09:07] <krisfremen> make sure to use double quotes, not single quotes
[22:10:56] <joannac> Desuvader: that's the exact opposite of that I would expect. What you claim does work will get you into trouble as soon as your documents get complex
[22:28:53] <Desuvader> joannac: My documents will not get very complex. That is the only nested field.
[22:30:17] <Desuvader> krisfremen: Double quotes doesn't work for me :(
[22:54:20] <joannac> Desuvader: you never answered my question. what does "doesn't work" mean?
[23:01:01] <Desuvader> joannac: It is not returning any documents when I use the 'something.deep' notation in a $or query
[23:10:26] <joannac> Desuvader: pastebin both with a findOne()
[23:10:51] <joannac> I just tried it and both work
[23:13:32] <Desuvader> I found the problem. Seems like it is a problem with mongoose
[23:14:11] <Desuvader> @joannac ^
[23:15:40] <joannac> I'm going to have to add that the list pof questions I ask people