Sunday, 2014-07-27

*** tpb has joined #timvideos00:00
*** CarlFK has quit IRC00:16
*** CarlFK has joined #timvideos01:19
*** ChanServ sets mode: +v CarlFK01:19
*** tariq786 has joined #timvideos01:36
*** CarlFK has quit IRC03:36
*** CarlFK has joined #timvideos04:09
*** ChanServ sets mode: +v CarlFK04:09
*** CarlFK has quit IRC04:12
*** Niharika has joined #timvideos04:24
mithromorning people05:40
mithrohi tariq786, how are things going?05:40
*** Niharika has quit IRC05:50
*** Niharika has joined #timvideos06:04
*** Niharika has quit IRC06:16
*** Niharika has joined #timvideos07:27
aps-sidsmithro: I'm wondering why is watchdog not able to fix flumotion?07:48
mithroaps-sids: that is a good question07:48
mithroaps-sids: which I don't understand07:48
*** Niharika has quit IRC07:54
mithroaps-sids: if you can figure that out, I'd be really happy! :P07:56
aps-sidsmithro: yeah, I'm looking at that only.07:56
aps-sidsI love making out lives easier :D07:56
aps-sidss/out/our07:56
aps-sidsmithro: I'm not able to kill watchdog on hays collector. Can you take a look?08:24
mithroaps-sids: what trouble where you having?08:25
mithroaps-sids: I think you meant barbie right?08:25
mithroaps-sids: sometimes you need kill -908:25
aps-sidsmithro: It was stuck at "can't stop reactor" thing08:26
aps-sidsoh -908:26
aps-sidsmithro: what process is this command supposed to kill (after restarting flumotion service)?  https://github.com/timvideos/streaming-system/blob/master/tools/watchdog/watchdog.py#L31008:36
tpbTitle: streaming-system/tools/watchdog/watchdog.py at master · timvideos/streaming-system · GitHub (at github.com)08:36
mithroaps-sids: itself08:36
aps-sidsmithro: you mean the watchdog? Apparently it says "no such process"08:37
mithroaps-sids: it's a safety measure08:37
mithroaps-sids: the watchdog should exit cleanly08:37
aps-sidsok08:37
mithroaps-sids: but if it doesn't it should be killed08:37
aps-sidsmithro: and is there a difference in running "/etc/init.d/flumotion stop" and "service flumotion stop" ?08:38
mithroaps-sids: that has always confused me08:39
aps-sidsmithro: I think we should replace "/etc/init.d/flumotion stop" with "service flumotion stop"   http://askubuntu.com/questions/2075/whats-the-difference-between-service-and-etc-init-d08:43
tpbTitle: upstart - Whats the difference between "Service" and "/etc/init.d/"? - Ask Ubuntu (at askubuntu.com)08:43
mithroaps-sids: sure08:43
*** tvCommitBot has joined #timvideos08:51
tvCommitBot[streaming-system] aps-sids pushed 1 new commit to master: http://git.io/cQP73Q08:51
tvCommitBotstreaming-system/master 6f64662 Amanpreet Singh: Use service instead of /etc/init.d/ in watchdog...08:51
*** tvCommitBot has left #timvideos08:51
aps-sidsmithro: done, now we need to setup again?08:52
mithroaps-sids: no, you just need to do a git pull08:52
aps-sidsat collector box right?08:52
mithroaps-sids: well, the encoders too08:53
aps-sidsmithro: okay, and separately for every room in collector?08:54
mithroaps-sids: you mean each collector, the reason you only ssh into one box is because we are remote to the venue08:55
aps-sidsoh, yes08:55
aps-sidsmithro: Is it a good idea to keep this (while true; do python watchdog_wrapper.py -m user:flumotion@localhost; sleep 30; done)  inside watchdog script and maybe pass arguments for sleeptime?09:01
mithroaps-sids: btw you just pasted a username/password into a logged IRC channel....09:02
aps-sidsoops, really sorry09:02
mithroaps-sids: we could have a watchdog wrapper wrapper09:02
mithroaps-sids: luckily we can just change it in the config.private.json and then run the pusher09:03
aps-sidsmithro: I've git pulled and restarted watchdog on all 4 collectors and encoders09:09
mithroaps-sids: btw, how did things go last night?10:01
aps-sidsmithro: one collector went down, watchdog couldn't handle. had to manually restart flumotion10:02
mithroaps-sids: yeah10:13
mithroaps-sids: it would be nice if the watchdog / register commands where a single entity10:13
mithroaps-sids: and where a web-server rather then a command line tool10:13
mithroaps-sids: I started doing something like that at https://github.com/timvideos/streaming-system/commit/8f18abf489bd22028c87c995060fa695f13f33ec10:15
tpbTitle: Starting to merge the watchdog and register into a fluhelper module. · 8f18abf · timvideos/streaming-system · GitHub (at github.com)10:15
mithroaps-sids: but never got all that far10:15
mithroaps-sids: it would also be nice if the watchdog understood the flumotion pipeline10:15
mithroaps-sids: IE, there is no point restarting all but the front element which is hungry10:15
aps-sidsmithro: I thought watchdog tries to restart just that element and a full restart if that fails.10:16
mithroaps-sids: it restarts any individual component that is in non-happy state10:17
aps-sidsah10:17
aps-sidsmithro: so it should restart non-happy and non-hungry component?10:18
mithroaps-sids: and once it's doing enough restarting, it gives up and does a restart10:18
mithroaps-sids: nah, sometimes a component is hungry that is the problem10:19
aps-sidshmm10:19
mithroaps-sids: but if you have something like     producer -> demux -> encode -> mux -> etc10:19
mithroproducer (hungry) -> demux (hungry) -> encode (hungry) -> mux (hungry) -> etc10:19
mithrothen it should just restart the producer10:20
mithrothen if you get something like this10:20
mithroproducer (happy) -> demux (happy) -> encode (hungry) -> mux (hungry) -> etc10:20
mithroit should restart the encoder10:21
mithroetc10:21
aps-sidsmithro: while porting generic decoder here, https://github.com/aps-sids/flumotion-orig/commit/cf3cfbf09f6e8234d95836b30181ad4ed9e5eddc#diff-9d30e92cb49af87d67d5cb9dea9b6783R71  using "Gst.Pad.new_from_template()" leads to a crash.10:45
aps-sidsits similar to this bug,  https://bugzilla.gnome.org/show_bug.cgi?id=70206210:45
tpbTitle: Porting generic decoder · cf3cfbf · aps-sids/flumotion-orig · GitHub (at github.com)10:45
tpbTitle: Bug 702062 crash after Gst.Pad.new_from_template (at bugzilla.gnome.org)10:45
aps-sidsmithro: if you look at comment 4,5  I think python-gi version might be a problem since I have 3.2.2 on precise10:46
mithroaps-sids: so, how far are we from be able to run a encoder/collector using the timvideos config?10:50
aps-sidsmithro: this decoder, if fixed, will fix many other problems with other components. I've ported most of them, but can't test because of this decoder not working.10:51
mithroaps-sids: I don't quite understand how this decoder is connected? Is it the base class or?10:54
aps-sidsmithro: its required for decoding the stream from fgdp producer  https://github.com/timvideos/streaming-system/blob/master/tools/flumotion-config/pusher/encoder.xml#L50-L5810:56
tpbTitle: streaming-system/tools/flumotion-config/pusher/encoder.xml at master · timvideos/streaming-system · GitHub (at github.com)10:56
mithroaps-sids: technically that block could be replaced with a more specific component10:57
aps-sidslike?10:57
mithroaps-sids: well, we know what type of video we are sending it, because we control the collector11:17
mithroaps-sids: is that the last step?11:34
*** CarlFK has joined #timvideos11:49
*** ChanServ sets mode: +v CarlFK11:49
mithromorning CarlFK11:49
mithroCarlFK: PyOhio starts late today?11:50
CarlFKmorning mithro - yes, in about 4 hours11:50
CarlFKat noon11:50
mithrothat is what timvideos.us says :P11:50
CarlFK8am.. I am going back to bed for an hour... see ya11:53
aps-sidsmithro: yeah almost last step, and some more testing and small fixes.12:17
mithroaps-sids: well, once I get this pin issue figured out, lets see if we can figure out what is needed for twisted upgrade12:19
aps-sidssure12:19
*** FeltonChris has quit IRC13:09
*** Niharika_away has quit IRC13:17
mithroaps-sids: okay, you about?14:01
aps-sidsmithro: yes14:02
*** Niharika has joined #timvideos14:03
mithroso what was the function twisted removed that flumotion uses?14:03
aps-sidsmithro: listenWith()14:07
aps-sidshttp://twistedmatrix.com/trac/ticket/36714:07
tpbTitle: #367 (Deprecate connectWith and listenWith) – Twisted (at twistedmatrix.com)14:07
mithroaps-sids: do you have some links to it?14:07
aps-sidssee above14:07
aps-sidsmithro: there's this flumotion ticket as well   https://code.flumotion.com/trac/ticket/156114:08
tpbTitle: #1561 (Flumotion 0.10.1 fails to start a worker and manager on Ubuntu 13.04) – Flumotion (at code.flumotion.com)14:08
mithroaps-sids: https://bitbucket.org/desmaj/orbited/commits/0748fc914:10
tpbTitle: desmaj / orbited / commit / 0748fc94eb08 Bitbucket (at bitbucket.org)14:10
mithroaps-sids: I'll see if that fixes flumotion14:11
*** Niharika_away has joined #timvideos14:12
aps-sidsmithro: why haven't they changed this line -- https://bitbucket.org/desmaj/orbited/commits/0748fc9#Ldaemon/orbited/cometsession.pyF30T31 ?14:13
tpbTitle: desmaj / orbited / commit / 0748fc94eb08 Bitbucket (at bitbucket.org)14:13
mithroaps-sids: good question14:13
mithroaps-sids: you were saying you can run flumotion without installing?14:19
mithroaps-sids: you were saying you can run flumotion without installing?14:19
aps-sids mithro yes, that's what I do14:19
mithroaps-sids: can you explain how?14:20
aps-sidswe need to activate the local environment14:20
aps-sidsusing ./env bash14:20
aps-sidsexecutables are made in bin folder14:20
*** CarlFK has quit IRC14:21
mithroaps-sids: so it seems I have to autogen.sh first?14:22
aps-sids./autogen.sh14:23
aps-sidsmake14:23
aps-sids./env bash14:23
aps-sidswhich flumotion14:23
mithro0.14 should be new enough to cause the issue right?14:27
aps-sids0.14?14:28
mithrotwisted 0.14?14:28
aps-sidsIs it 0.14? Let me check14:28
mithroaps-sids: how do I start flumotion now? I normally use the "service flumotion start" :P14:30
aps-sidsmithro: it's the right time to use flumotion-admin ;)14:30
mithroaps-sids: flumotion-admin will start flumotion?14:31
aps-sidsmithro: it will start a gui and u can start a manager, worker and add components. or are you trying to run streamin-system config?14:32
mithroaps-sids: no14:33
mithrojust something basic14:33
aps-sidsthen start admin, choose 3rd option14:34
aps-sidsand follow the wizard choosing default options14:35
mithroaps-sids: I'm trying to run flumotion inside virtualenv14:35
mithroaps-sids: seems to kind of work14:35
aps-sidsyeah14:36
mithroThe command that failed was:14:36
mithro/home/tansell/foss/streaming-system/tools/flumotion/bin/flumotion -C /tmp/tmpuaNb8I.flumotion/etc -L /tmp/tmpuaNb8I.flumotion/var/log -R /tmp/tmpuaNb8I.flumotion/var/run start worker admin14:36
mithroI think that means it14:36
mithroI think that means it's failing14:36
mithroaps-sids: where do the logs end up?14:37
aps-sidswait wait, I start admin with cmd  "flumotion-admin"14:37
mithroaps-sids: that was the output from flumotion-admin14:38
aps-sidsmithro: if it fails due to twisted issues, output is like this --  https://bugs.launchpad.net/ubuntu/+source/flumotion/+bug/120095414:39
tpbTitle: Bug #1200954 “Flumotion does not start: AttributeError: 'EPollRe...” : Bugs : “flumotion” package : Ubuntu (at bugs.launchpad.net)14:39
mithroaps-sids: that appears in the service.log right?14:41
aps-sidsI say this listenwith erroor in my console.14:42
aps-sidss/say/saw14:42
aps-sidstry running flumotion-admin -v14:42
mithrohrm....14:44
mithroaps-sids: I ended up just running the command it said was failing directly14:46
mithroand then saw the error14:46
aps-sidsoh14:46
mithroaps-sids: oh14:49
mithrohttp://lists.fluendo.com/pipermail/flumotion-devel/2014-January/000698.html14:49
tpbTitle: [flumotion-devel] [PATCH] fixed usage of deprecated functions listenWith and connectWith (at lists.fluendo.com)14:49
*** CarlFK has joined #timvideos14:50
*** ChanServ sets mode: +v CarlFK14:50
aps-sidsnice14:50
mithroaps-sids: found a couple of other fixes which are needed14:59
mithroCarlFK: ping?15:18
mithroaps-sids: the stupid package hooks flumotion has are fighting with an absolute import that twisted is trying to use15:23
mithroaps-sids: the package hooks should all be ripped out eventually15:23
aps-sidsYeah, package hooks have caused me a lot of trouble.15:25
aps-sidsI'm heading out for dinner, will be back soon.15:26
mithroaps-sids: what point did you branch from?15:36
mithroCarlFK: poke?15:37
mithroCarlFK: tunnel has dropped15:41
mithroaps-sids: https://github.com/timvideos/flumotion/tree/modern-twisted-fix15:44
tpbTitle: timvideos/flumotion at modern-twisted-fix · GitHub (at github.com)15:44
CarlFKmithro: at venue... tunnel  cmd?15:48
mithroCarlFK: can't you just hit "up" and enter?15:49
mithroCarlFK: "ssh -v [email protected] -R 0.0.0.0:2222:127.0.0.1:22"15:49
CarlFKhmm.. not sure I am getting dhcp now15:52
CarlFKnot sure how this connection is up15:53
aps-sidsback15:53
aps-sidsmithro: I initially started from original flumotion repo (not the timvideos one) and recently merged timvideos master branch with my repo15:53
*** tpb has joined #timvideos15:55
mithroCarlFK: still nothing?15:55
*** CarlFK has quit IRC15:56
aps-sidsmithro: you have any idea where the flumotion core dump is stored?16:13
mithronot really16:13
mithroaps-sids: you get a core dump now?16:22
aps-sidsmithro: getting that when using "Gst.Pad.new_from_template()"16:23
mithroaps-sids: you should see if flumotion runs on trusty now16:24
aps-sidsmithro: the twisted-fix branch?16:24
mithroyeah16:25
mithroaps-sids: that would give you the new gi16:25
aps-sidsokay16:25
mithroand trusty has gstreamer1.0 in the repo16:25
mithroaps-sids: starting on ubuntu precise was always just a temporary measure16:30
aps-sidsyeah16:31
mithroaps-sids: so, if that gets you moving again - probably a good idea16:33
mithroaps-sids: I'm heading out16:45
mithroaparanetly pyohio has lost internet so no streaming16:45
mithroaps-sids: if carlfk does show up, can you get things up and running again?16:45
aps-sidsmithro: I will setup the stream. not sure if I can stay up till the end though.17:12
*** CarlFK has joined #timvideos17:19
*** ChanServ sets mode: +v CarlFK17:19
aps-sidsCarlFK: any luck with tunnel?17:20
CarlFKaps-sids: I have wifi to my laptop, but the wired connection to the collectors is still out17:20
CarlFK"someone should call within an hour"17:20
CarlFKyesterday there was a dhcp server, today there isn't.17:21
aps-sidsCarlFK: so no streaming?17:21
CarlFKright17:21
*** Niharika_away has quit IRC18:17
*** FeltonChris has joined #timvideos18:27
*** Niharika has quit IRC18:33
*** CarlFK has quit IRC18:54
*** CarlFK has joined #timvideos19:01
*** ChanServ sets mode: +v CarlFK19:01
*** mparuszewski has joined #timvideos19:06
*** rohitksingh has joined #timvideos19:07
*** CarlFK has quit IRC19:22
*** CarlFK has joined #timvideos19:23
*** ChanServ sets mode: +v CarlFK19:23
CarlFKaps-sids: I may have the tunnel back in 20 min, are you around to try and get the streams up again?19:24
aps-sidsCarlFK: yes19:28
CarlFKcool.  as the current talks end I'll be switching the boxes from static IP back to dhcp...19:30
CarlFKor maybe I'll just do the main room19:30
aps-sidsCarlFK: ping me when you are ready19:30
*** rohitksingh1 has joined #timvideos19:34
CarlFKaps-sids: do you know the hostnames of the boxes in barbbie_tuttle19:35
*** rohitksingh has quit IRC19:36
aps-sidsCarlFK: not sure what you are referring to.  you mean collectors?19:37
CarlFKyes19:37
aps-sidsCarlFK: I did ssh into that yesterday. is the hostname same?19:38
CarlFKyes19:38
aps-sidsCarlFK: I'm not able to ssh into the box19:40
*** thaytan_ has joined #timvideos20:03
*** CarlFK1 has joined #timvideos20:08
*** ChanServ sets mode: +v CarlFK120:08
CarlFK1aps-sids: oh.. only cnt3 collector is up20:10
*** CarlFK has quit IRC20:11
*** thaytan has quit IRC20:11
aps-sidsCarlFK1: ok, I'm in the box20:11
aps-sidsCarlFK1: will you be setting up the collectors yourself or I should do that?20:15
CarlFK1aps-sids: what do you mean "setting up the collectors" ?20:17
aps-sidsCarlFK1: pushconfig20:17
CarlFK1cnt3 is a collector, it is up and running and should be the same as yesterday20:17
CarlFK1it should be feeing the ec2 box that gets played on http://timvideos.us/cartoon120:18
tpbTitle: Streaming for Cartoon 1 (at timvideos.us)20:18
aps-sidsCarlFK1: where is yesterday's config.private file?20:28
CarlFK1um.. what?20:28
CarlFK1I don't think any config needs changing20:28
aps-sidsyeah, but its missing and I'm not able to find it.20:29
CarlFK1where should it be?20:29
aps-sidsIn streaming-system directory20:29
aps-sidsdid you do pushconfig.py yesterday or mithro did?20:30
CarlFK1mithro did20:30
aps-sidsoh20:30
CarlFK1juser@cnt3:~/streaming-system$ ls20:30
CarlFK1config.private.json20:30
CarlFK1that?20:30
CarlFK1again.. all the configs should still be in place20:31
CarlFK1I am guessing you need to start flumotion20:31
aps-sidsah yeah, I was looking in hays room20:32
CarlFK1only cartoon 1 is available20:39
CarlFK1it is?21:05
CarlFK1http://timvideos.us/cartoon121:05
tpbTitle: Streaming for Cartoon 1 (at timvideos.us)21:05
CarlFK1i don't see it21:05
aps-sidsworking for me21:06
aps-sidstry flash mode21:06
aps-sidsCarlFK1: and I see you there :D21:07
CarlFK1yay!21:10
CarlFK1huh, still nothing.. weird21:11
aps-sidstried Flash mode?21:11
CarlFK1works in chrome21:12
aps-sidsfor me flash mode in firefox is working21:12
CarlFK1meh.. as long as data is getting from here to there we are good21:17
CarlFK1I am getting crazy encoding artifacts .. like the lower 1/2 is very pixilated21:21
aps-sidshaha, loved this magic code talk.21:41
aps-sidsCarlFK1: I'm almost asleep, so see ya later. and camera is still on :P22:41
*** CarlFK1 has quit IRC23:01

Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!