PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 14th of March, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:04:27] <cheeser> what's the UI look like on the deployment page in mms?
[00:06:01] <deanclkclk> he
[00:06:04] <deanclkclk> yeah guys
[00:06:13] <deanclkclk> I"m having this issue: exception: need most members up to reconfigure, not ok : xxxxx:27017
[00:06:21] <deanclkclk> any ideas how to solve this?
[00:06:26] <deanclkclk> this is on my primary
[00:06:30] <sahilsk> cheeser: sorry but you asking me?
[00:06:30] <deanclkclk> my secondary is offline
[00:06:37] <cheeser> shanlar-: yes
[00:06:40] <deanclkclk> and my primary keeps reverting back to secondary
[00:06:43] <deanclkclk> doesn't make any sense
[00:06:48] <cheeser> deanclkclk: how many replSet members?
[00:06:52] <deanclkclk> i've tried to force it to become primary but, got that error
[00:07:06] <deanclkclk> I have 1 primary 1 secondary and an abitar
[00:07:14] <deanclkclk> @ cheeser
[00:07:16] <cheeser> is your arbiter up?
[00:07:22] <deanclkclk> no
[00:07:23] <deanclkclk> it's down
[00:07:24] <sahilsk> cheeser: i can see automation agent listed there under "my server hostname" block
[00:07:28] <deanclkclk> is it needed?
[00:08:07] <deanclkclk> @ cheeser
[00:08:15] <cheeser> deanclkclk: so you have 1 of 3 members up. that's not a majority so you can't have a primary.
[00:08:17] <sahilsk> cheeser: google says my logs are Fine.. am i missing any step? I installed mms on my already running standalore replica set ( i converted my standalone to replica set because backup agent works only on replica set)
[00:08:24] <cheeser> bring up another member
[00:08:54] <cheeser> sahilsk: i'm not sure how i'm supposed to know if you're missing anything. are you seeing a problem? or just not understanding what you're seeing?
[00:10:19] <sahilsk> let me give you screenshot of my UI. I hope it'll help cheeser
[00:12:00] <sahilsk> cheeser: http://www.pasteall.org/pic/show.php?id=85220
[00:12:37] <cheeser> do you have anything about pending changes?
[00:12:51] <sahilsk> what pending changes?
[00:13:15] <sahilsk> here are logs : https://gist.github.com/sahilsk/6ca01478d67c7b06616e it keeps iterating.. i guess goal state is OK
[00:13:41] <sahilsk> however, click "install moniotring" from menu not doing anything
[00:13:42] <cheeser> when you click "install monitoring agent" you should get a box at the top about pendning changes to apply or discard
[00:14:06] <sahilsk> cheeser: nopes. i'm not getting anything like that
[00:14:54] <cheeser> http://www.pasteall.org/pic/show.php?id=85221
[00:15:18] <sahilsk> i see nothing like that. cheeser :(
[00:15:35] <cheeser> check the js console in your browser. perhaps there's an error
[00:15:57] <sahilsk> just yesterday i did the setup on local machine. it was working fine.... i don't knwo on production why it scaring me
[00:16:05] <sahilsk> am trying another browser now
[00:16:52] <sahilsk> cheeser: i do see console error on browser: POST https://mms.mongodb.com/automation/conf/520d1e477ec5df2d7bfda9ac 403 (Forbidden)
[00:17:26] <sahilsk> what it mean
[00:19:32] <cheeser> try shift-reloading the page
[00:19:46] <sahilsk> i opened it on another browser...same
[00:20:09] <sahilsk> just did shift-reload..same thing
[00:21:53] <cheeser> 403 means you're forbidden
[00:22:07] <cheeser> not sure why you'd get that. you should file a support ticket on that.
[00:25:32] <sahilsk> cheeser: do i need to click on "add host" button?
[00:25:40] <sahilsk> ^ on deployment page
[00:25:56] <sahilsk> what does it do ? i wonder if it solve ... :-/
[00:25:59] <cheeser> no. i have all 3 agents on one host
[00:36:22] <sahilsk> :(
[01:24:27] <sahilsk> I've raised the ticket. awaiting their reply. I hope they reply fast
[01:36:35] <sahilsk> cheeser: got reply on my ticket. The group am using is Classic. Here is what they say :
[01:36:35] <sahilsk> ...this MMS group is of type Classic. You will need to upgrade it to the New MMS type in order to use Automation.
[01:36:35] <sahilsk> Or, you can create a new MMS group and keep this one as Classic. ....
[01:37:00] <sahilsk> :D ... i was worrying for nothing...
[13:39:44] <Siamaster> Ok, I'm working on an aggregation query but my brain has been stuck for hours now
[13:39:46] <Siamaster> I need help
[13:40:07] <Siamaster> So I unwind a collection and get a result like this http://pastebin.com/SyaL0Ktf
[13:41:13] <Siamaster> How can I then group it so that I get accountId, deviceId, contactId, (and the operation value of the latest date)
[13:43:30] <Siamaster> so for that resultset i would get following: "_id" : ObjectId("550424ef2f44472856286d56"), "accountId" : "123", "deviceId" : "123", "contactId": "1", "operation" : 2 and "_id" : ObjectId("550424ef2f44472856286d56"), "accountId" : "123", "deviceId" : "123", "contactId": "2", "operation" : 1
[13:43:55] <Siamaster> because the latest operation on contactId 1 was 2 and the latest operation on contactId 2 was 1
[14:01:15] <willwh> hi guys :) I'm upgrading from 2.0.6 to 3.x
[14:01:25] <willwh> Index { v: 1, key: { text: "text" }, ns: "lubot.lubot_logs", name: "text_text" } claims to be of type 'text', which is either invalid or did not exist before v2.4. See the upgrade section: http://dochub.mongodb.org/core/upgrade-2.4
[14:01:45] <willwh> I've run through the upgrade, and I am not sure what is up above ^
[14:01:48] <willwh> \any help appreciated :)
[14:04:20] <willwh> hm, after restarting again, it seems to be ok now
[14:04:22] <willwh> strange
[14:13:03] <cheeser> you went straight from 2.0 to 3.0?
[15:24:44] <Siamaster> after doing my aggregation I get a result such as this {groupid : 1, time : 1}, {groupid: 1 , time : 2}, {groupid: 2, time: 2}
[15:25:01] <Siamaster> is it possible to do further operations on that resultset?
[19:25:46] <dbclk> guys I just added a mongo arbiter back to my cluter
[19:26:00] <dbclk> the arbiter is showing statestr as removed
[19:26:03] <dbclk> I don't want it removed
[19:26:06] <dbclk> how can I add it back?
[19:36:31] <dbclk> anyone here?
[22:27:27] <oznt> hi everyone, should I worry if i see "[rsHealthPoll] replset info data4:27018 thinks we are down" in my logs ? data4 is an arbiter node
[22:48:47] <asherawelan> hello
[22:50:02] <asherawelan> Im looking for some terminology here to be able to be well on the way to googling something…
[22:51:19] <asherawelan> So I want to sum some stuff my day/month year - do I need to prepare a bunch of queries to do that one by one, or is there someway of walking that and returning a set of days….
[23:05:52] <pedronasser> so, there is a better way to run MongoDB 3 + Wiredtiger using Docker than https://gist.github.com/pedronasser/acaeeda748ec82e92fd1 ??