*** tpb has joined #timvideos | 00:00 | |
*** CarlFK has quit IRC | 00:16 | |
*** CarlFK has joined #timvideos | 01:19 | |
*** ChanServ sets mode: +v CarlFK | 01:19 | |
*** tariq786 has joined #timvideos | 01:36 | |
*** CarlFK has quit IRC | 03:36 | |
*** CarlFK has joined #timvideos | 04:09 | |
*** ChanServ sets mode: +v CarlFK | 04:09 | |
*** CarlFK has quit IRC | 04:12 | |
*** Niharika has joined #timvideos | 04:24 | |
mithro | morning people | 05:40 |
---|---|---|
mithro | hi tariq786, how are things going? | 05:40 |
*** Niharika has quit IRC | 05:50 | |
*** Niharika has joined #timvideos | 06:04 | |
*** Niharika has quit IRC | 06:16 | |
*** Niharika has joined #timvideos | 07:27 | |
aps-sids | mithro: I'm wondering why is watchdog not able to fix flumotion? | 07:48 |
mithro | aps-sids: that is a good question | 07:48 |
mithro | aps-sids: which I don't understand | 07:48 |
*** Niharika has quit IRC | 07:54 | |
mithro | aps-sids: if you can figure that out, I'd be really happy! :P | 07:56 |
aps-sids | mithro: yeah, I'm looking at that only. | 07:56 |
aps-sids | I love making out lives easier :D | 07:56 |
aps-sids | s/out/our | 07:56 |
aps-sids | mithro: I'm not able to kill watchdog on hays collector. Can you take a look? | 08:24 |
mithro | aps-sids: what trouble where you having? | 08:25 |
mithro | aps-sids: I think you meant barbie right? | 08:25 |
mithro | aps-sids: sometimes you need kill -9 | 08:25 |
aps-sids | mithro: It was stuck at "can't stop reactor" thing | 08:26 |
aps-sids | oh -9 | 08:26 |
aps-sids | mithro: what process is this command supposed to kill (after restarting flumotion service)? https://github.com/timvideos/streaming-system/blob/master/tools/watchdog/watchdog.py#L310 | 08:36 |
tpb | Title: streaming-system/tools/watchdog/watchdog.py at master · timvideos/streaming-system · GitHub (at github.com) | 08:36 |
mithro | aps-sids: itself | 08:36 |
aps-sids | mithro: you mean the watchdog? Apparently it says "no such process" | 08:37 |
mithro | aps-sids: it's a safety measure | 08:37 |
mithro | aps-sids: the watchdog should exit cleanly | 08:37 |
aps-sids | ok | 08:37 |
mithro | aps-sids: but if it doesn't it should be killed | 08:37 |
aps-sids | mithro: and is there a difference in running "/etc/init.d/flumotion stop" and "service flumotion stop" ? | 08:38 |
mithro | aps-sids: that has always confused me | 08:39 |
aps-sids | mithro: 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-d | 08:43 |
tpb | Title: upstart - Whats the difference between "Service" and "/etc/init.d/"? - Ask Ubuntu (at askubuntu.com) | 08:43 |
mithro | aps-sids: sure | 08:43 |
*** tvCommitBot has joined #timvideos | 08:51 | |
tvCommitBot | [streaming-system] aps-sids pushed 1 new commit to master: http://git.io/cQP73Q | 08:51 |
tvCommitBot | streaming-system/master 6f64662 Amanpreet Singh: Use service instead of /etc/init.d/ in watchdog... | 08:51 |
*** tvCommitBot has left #timvideos | 08:51 | |
aps-sids | mithro: done, now we need to setup again? | 08:52 |
mithro | aps-sids: no, you just need to do a git pull | 08:52 |
aps-sids | at collector box right? | 08:52 |
mithro | aps-sids: well, the encoders too | 08:53 |
aps-sids | mithro: okay, and separately for every room in collector? | 08:54 |
mithro | aps-sids: you mean each collector, the reason you only ssh into one box is because we are remote to the venue | 08:55 |
aps-sids | oh, yes | 08:55 |
aps-sids | mithro: 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 |
mithro | aps-sids: btw you just pasted a username/password into a logged IRC channel.... | 09:02 |
aps-sids | oops, really sorry | 09:02 |
mithro | aps-sids: we could have a watchdog wrapper wrapper | 09:02 |
mithro | aps-sids: luckily we can just change it in the config.private.json and then run the pusher | 09:03 |
aps-sids | mithro: I've git pulled and restarted watchdog on all 4 collectors and encoders | 09:09 |
mithro | aps-sids: btw, how did things go last night? | 10:01 |
aps-sids | mithro: one collector went down, watchdog couldn't handle. had to manually restart flumotion | 10:02 |
mithro | aps-sids: yeah | 10:13 |
mithro | aps-sids: it would be nice if the watchdog / register commands where a single entity | 10:13 |
mithro | aps-sids: and where a web-server rather then a command line tool | 10:13 |
mithro | aps-sids: I started doing something like that at https://github.com/timvideos/streaming-system/commit/8f18abf489bd22028c87c995060fa695f13f33ec | 10:15 |
tpb | Title: Starting to merge the watchdog and register into a fluhelper module. · 8f18abf · timvideos/streaming-system · GitHub (at github.com) | 10:15 |
mithro | aps-sids: but never got all that far | 10:15 |
mithro | aps-sids: it would also be nice if the watchdog understood the flumotion pipeline | 10:15 |
mithro | aps-sids: IE, there is no point restarting all but the front element which is hungry | 10:15 |
aps-sids | mithro: I thought watchdog tries to restart just that element and a full restart if that fails. | 10:16 |
mithro | aps-sids: it restarts any individual component that is in non-happy state | 10:17 |
aps-sids | ah | 10:17 |
aps-sids | mithro: so it should restart non-happy and non-hungry component? | 10:18 |
mithro | aps-sids: and once it's doing enough restarting, it gives up and does a restart | 10:18 |
mithro | aps-sids: nah, sometimes a component is hungry that is the problem | 10:19 |
aps-sids | hmm | 10:19 |
mithro | aps-sids: but if you have something like producer -> demux -> encode -> mux -> etc | 10:19 |
mithro | producer (hungry) -> demux (hungry) -> encode (hungry) -> mux (hungry) -> etc | 10:19 |
mithro | then it should just restart the producer | 10:20 |
mithro | then if you get something like this | 10:20 |
mithro | producer (happy) -> demux (happy) -> encode (hungry) -> mux (hungry) -> etc | 10:20 |
mithro | it should restart the encoder | 10:21 |
mithro | etc | 10:21 |
aps-sids | mithro: 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-sids | its similar to this bug, https://bugzilla.gnome.org/show_bug.cgi?id=702062 | 10:45 |
tpb | Title: Porting generic decoder · cf3cfbf · aps-sids/flumotion-orig · GitHub (at github.com) | 10:45 |
tpb | Title: Bug 702062 crash after Gst.Pad.new_from_template (at bugzilla.gnome.org) | 10:45 |
aps-sids | mithro: if you look at comment 4,5 I think python-gi version might be a problem since I have 3.2.2 on precise | 10:46 |
mithro | aps-sids: so, how far are we from be able to run a encoder/collector using the timvideos config? | 10:50 |
aps-sids | mithro: 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 |
mithro | aps-sids: I don't quite understand how this decoder is connected? Is it the base class or? | 10:54 |
aps-sids | mithro: its required for decoding the stream from fgdp producer https://github.com/timvideos/streaming-system/blob/master/tools/flumotion-config/pusher/encoder.xml#L50-L58 | 10:56 |
tpb | Title: streaming-system/tools/flumotion-config/pusher/encoder.xml at master · timvideos/streaming-system · GitHub (at github.com) | 10:56 |
mithro | aps-sids: technically that block could be replaced with a more specific component | 10:57 |
aps-sids | like? | 10:57 |
mithro | aps-sids: well, we know what type of video we are sending it, because we control the collector | 11:17 |
mithro | aps-sids: is that the last step? | 11:34 |
*** CarlFK has joined #timvideos | 11:49 | |
*** ChanServ sets mode: +v CarlFK | 11:49 | |
mithro | morning CarlFK | 11:49 |
mithro | CarlFK: PyOhio starts late today? | 11:50 |
CarlFK | morning mithro - yes, in about 4 hours | 11:50 |
CarlFK | at noon | 11:50 |
mithro | that is what timvideos.us says :P | 11:50 |
CarlFK | 8am.. I am going back to bed for an hour... see ya | 11:53 |
aps-sids | mithro: yeah almost last step, and some more testing and small fixes. | 12:17 |
mithro | aps-sids: well, once I get this pin issue figured out, lets see if we can figure out what is needed for twisted upgrade | 12:19 |
aps-sids | sure | 12:19 |
*** FeltonChris has quit IRC | 13:09 | |
*** Niharika_away has quit IRC | 13:17 | |
mithro | aps-sids: okay, you about? | 14:01 |
aps-sids | mithro: yes | 14:02 |
*** Niharika has joined #timvideos | 14:03 | |
mithro | so what was the function twisted removed that flumotion uses? | 14:03 |
aps-sids | mithro: listenWith() | 14:07 |
aps-sids | http://twistedmatrix.com/trac/ticket/367 | 14:07 |
tpb | Title: #367 (Deprecate connectWith and listenWith) – Twisted (at twistedmatrix.com) | 14:07 |
mithro | aps-sids: do you have some links to it? | 14:07 |
aps-sids | see above | 14:07 |
aps-sids | mithro: there's this flumotion ticket as well https://code.flumotion.com/trac/ticket/1561 | 14:08 |
tpb | Title: #1561 (Flumotion 0.10.1 fails to start a worker and manager on Ubuntu 13.04) – Flumotion (at code.flumotion.com) | 14:08 |
mithro | aps-sids: https://bitbucket.org/desmaj/orbited/commits/0748fc9 | 14:10 |
tpb | Title: desmaj / orbited / commit / 0748fc94eb08 Bitbucket (at bitbucket.org) | 14:10 |
mithro | aps-sids: I'll see if that fixes flumotion | 14:11 |
*** Niharika_away has joined #timvideos | 14:12 | |
aps-sids | mithro: why haven't they changed this line -- https://bitbucket.org/desmaj/orbited/commits/0748fc9#Ldaemon/orbited/cometsession.pyF30T31 ? | 14:13 |
tpb | Title: desmaj / orbited / commit / 0748fc94eb08 Bitbucket (at bitbucket.org) | 14:13 |
mithro | aps-sids: good question | 14:13 |
mithro | aps-sids: you were saying you can run flumotion without installing? | 14:19 |
mithro | aps-sids: you were saying you can run flumotion without installing? | 14:19 |
aps-sids | mithro yes, that's what I do | 14:19 |
mithro | aps-sids: can you explain how? | 14:20 |
aps-sids | we need to activate the local environment | 14:20 |
aps-sids | using ./env bash | 14:20 |
aps-sids | executables are made in bin folder | 14:20 |
*** CarlFK has quit IRC | 14:21 | |
mithro | aps-sids: so it seems I have to autogen.sh first? | 14:22 |
aps-sids | ./autogen.sh | 14:23 |
aps-sids | make | 14:23 |
aps-sids | ./env bash | 14:23 |
aps-sids | which flumotion | 14:23 |
mithro | 0.14 should be new enough to cause the issue right? | 14:27 |
aps-sids | 0.14? | 14:28 |
mithro | twisted 0.14? | 14:28 |
aps-sids | Is it 0.14? Let me check | 14:28 |
mithro | aps-sids: how do I start flumotion now? I normally use the "service flumotion start" :P | 14:30 |
aps-sids | mithro: it's the right time to use flumotion-admin ;) | 14:30 |
mithro | aps-sids: flumotion-admin will start flumotion? | 14:31 |
aps-sids | mithro: 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 |
mithro | aps-sids: no | 14:33 |
mithro | just something basic | 14:33 |
aps-sids | then start admin, choose 3rd option | 14:34 |
aps-sids | and follow the wizard choosing default options | 14:35 |
mithro | aps-sids: I'm trying to run flumotion inside virtualenv | 14:35 |
mithro | aps-sids: seems to kind of work | 14:35 |
aps-sids | yeah | 14:36 |
mithro | The 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 admin | 14:36 |
mithro | I think that means it | 14:36 |
mithro | I think that means it's failing | 14:36 |
mithro | aps-sids: where do the logs end up? | 14:37 |
aps-sids | wait wait, I start admin with cmd "flumotion-admin" | 14:37 |
mithro | aps-sids: that was the output from flumotion-admin | 14:38 |
aps-sids | mithro: if it fails due to twisted issues, output is like this -- https://bugs.launchpad.net/ubuntu/+source/flumotion/+bug/1200954 | 14:39 |
tpb | Title: Bug #1200954 “Flumotion does not start: AttributeError: 'EPollRe...” : Bugs : “flumotion” package : Ubuntu (at bugs.launchpad.net) | 14:39 |
mithro | aps-sids: that appears in the service.log right? | 14:41 |
aps-sids | I say this listenwith erroor in my console. | 14:42 |
aps-sids | s/say/saw | 14:42 |
aps-sids | try running flumotion-admin -v | 14:42 |
mithro | hrm.... | 14:44 |
mithro | aps-sids: I ended up just running the command it said was failing directly | 14:46 |
mithro | and then saw the error | 14:46 |
aps-sids | oh | 14:46 |
mithro | aps-sids: oh | 14:49 |
mithro | http://lists.fluendo.com/pipermail/flumotion-devel/2014-January/000698.html | 14:49 |
tpb | Title: [flumotion-devel] [PATCH] fixed usage of deprecated functions listenWith and connectWith (at lists.fluendo.com) | 14:49 |
*** CarlFK has joined #timvideos | 14:50 | |
*** ChanServ sets mode: +v CarlFK | 14:50 | |
aps-sids | nice | 14:50 |
mithro | aps-sids: found a couple of other fixes which are needed | 14:59 |
mithro | CarlFK: ping? | 15:18 |
mithro | aps-sids: the stupid package hooks flumotion has are fighting with an absolute import that twisted is trying to use | 15:23 |
mithro | aps-sids: the package hooks should all be ripped out eventually | 15:23 |
aps-sids | Yeah, package hooks have caused me a lot of trouble. | 15:25 |
aps-sids | I'm heading out for dinner, will be back soon. | 15:26 |
mithro | aps-sids: what point did you branch from? | 15:36 |
mithro | CarlFK: poke? | 15:37 |
mithro | CarlFK: tunnel has dropped | 15:41 |
mithro | aps-sids: https://github.com/timvideos/flumotion/tree/modern-twisted-fix | 15:44 |
tpb | Title: timvideos/flumotion at modern-twisted-fix · GitHub (at github.com) | 15:44 |
CarlFK | mithro: at venue... tunnel cmd? | 15:48 |
mithro | CarlFK: can't you just hit "up" and enter? | 15:49 |
mithro | CarlFK: "ssh -v [email protected] -R 0.0.0.0:2222:127.0.0.1:22" | 15:49 |
CarlFK | hmm.. not sure I am getting dhcp now | 15:52 |
CarlFK | not sure how this connection is up | 15:53 |
aps-sids | back | 15:53 |
aps-sids | mithro: I initially started from original flumotion repo (not the timvideos one) and recently merged timvideos master branch with my repo | 15:53 |
*** tpb has joined #timvideos | 15:55 | |
mithro | CarlFK: still nothing? | 15:55 |
*** CarlFK has quit IRC | 15:56 | |
aps-sids | mithro: you have any idea where the flumotion core dump is stored? | 16:13 |
mithro | not really | 16:13 |
mithro | aps-sids: you get a core dump now? | 16:22 |
aps-sids | mithro: getting that when using "Gst.Pad.new_from_template()" | 16:23 |
mithro | aps-sids: you should see if flumotion runs on trusty now | 16:24 |
aps-sids | mithro: the twisted-fix branch? | 16:24 |
mithro | yeah | 16:25 |
mithro | aps-sids: that would give you the new gi | 16:25 |
aps-sids | okay | 16:25 |
mithro | and trusty has gstreamer1.0 in the repo | 16:25 |
mithro | aps-sids: starting on ubuntu precise was always just a temporary measure | 16:30 |
aps-sids | yeah | 16:31 |
mithro | aps-sids: so, if that gets you moving again - probably a good idea | 16:33 |
mithro | aps-sids: I'm heading out | 16:45 |
mithro | aparanetly pyohio has lost internet so no streaming | 16:45 |
mithro | aps-sids: if carlfk does show up, can you get things up and running again? | 16:45 |
aps-sids | mithro: I will setup the stream. not sure if I can stay up till the end though. | 17:12 |
*** CarlFK has joined #timvideos | 17:19 | |
*** ChanServ sets mode: +v CarlFK | 17:19 | |
aps-sids | CarlFK: any luck with tunnel? | 17:20 |
CarlFK | aps-sids: I have wifi to my laptop, but the wired connection to the collectors is still out | 17:20 |
CarlFK | "someone should call within an hour" | 17:20 |
CarlFK | yesterday there was a dhcp server, today there isn't. | 17:21 |
aps-sids | CarlFK: so no streaming? | 17:21 |
CarlFK | right | 17:21 |
*** Niharika_away has quit IRC | 18:17 | |
*** FeltonChris has joined #timvideos | 18:27 | |
*** Niharika has quit IRC | 18:33 | |
*** CarlFK has quit IRC | 18:54 | |
*** CarlFK has joined #timvideos | 19:01 | |
*** ChanServ sets mode: +v CarlFK | 19:01 | |
*** mparuszewski has joined #timvideos | 19:06 | |
*** rohitksingh has joined #timvideos | 19:07 | |
*** CarlFK has quit IRC | 19:22 | |
*** CarlFK has joined #timvideos | 19:23 | |
*** ChanServ sets mode: +v CarlFK | 19:23 | |
CarlFK | aps-sids: I may have the tunnel back in 20 min, are you around to try and get the streams up again? | 19:24 |
aps-sids | CarlFK: yes | 19:28 |
CarlFK | cool. as the current talks end I'll be switching the boxes from static IP back to dhcp... | 19:30 |
CarlFK | or maybe I'll just do the main room | 19:30 |
aps-sids | CarlFK: ping me when you are ready | 19:30 |
*** rohitksingh1 has joined #timvideos | 19:34 | |
CarlFK | aps-sids: do you know the hostnames of the boxes in barbbie_tuttle | 19:35 |
*** rohitksingh has quit IRC | 19:36 | |
aps-sids | CarlFK: not sure what you are referring to. you mean collectors? | 19:37 |
CarlFK | yes | 19:37 |
aps-sids | CarlFK: I did ssh into that yesterday. is the hostname same? | 19:38 |
CarlFK | yes | 19:38 |
aps-sids | CarlFK: I'm not able to ssh into the box | 19:40 |
*** thaytan_ has joined #timvideos | 20:03 | |
*** CarlFK1 has joined #timvideos | 20:08 | |
*** ChanServ sets mode: +v CarlFK1 | 20:08 | |
CarlFK1 | aps-sids: oh.. only cnt3 collector is up | 20:10 |
*** CarlFK has quit IRC | 20:11 | |
*** thaytan has quit IRC | 20:11 | |
aps-sids | CarlFK1: ok, I'm in the box | 20:11 |
aps-sids | CarlFK1: will you be setting up the collectors yourself or I should do that? | 20:15 |
CarlFK1 | aps-sids: what do you mean "setting up the collectors" ? | 20:17 |
aps-sids | CarlFK1: pushconfig | 20:17 |
CarlFK1 | cnt3 is a collector, it is up and running and should be the same as yesterday | 20:17 |
CarlFK1 | it should be feeing the ec2 box that gets played on http://timvideos.us/cartoon1 | 20:18 |
tpb | Title: Streaming for Cartoon 1 (at timvideos.us) | 20:18 |
aps-sids | CarlFK1: where is yesterday's config.private file? | 20:28 |
CarlFK1 | um.. what? | 20:28 |
CarlFK1 | I don't think any config needs changing | 20:28 |
aps-sids | yeah, but its missing and I'm not able to find it. | 20:29 |
CarlFK1 | where should it be? | 20:29 |
aps-sids | In streaming-system directory | 20:29 |
aps-sids | did you do pushconfig.py yesterday or mithro did? | 20:30 |
CarlFK1 | mithro did | 20:30 |
aps-sids | oh | 20:30 |
CarlFK1 | juser@cnt3:~/streaming-system$ ls | 20:30 |
CarlFK1 | config.private.json | 20:30 |
CarlFK1 | that? | 20:30 |
CarlFK1 | again.. all the configs should still be in place | 20:31 |
CarlFK1 | I am guessing you need to start flumotion | 20:31 |
aps-sids | ah yeah, I was looking in hays room | 20:32 |
CarlFK1 | only cartoon 1 is available | 20:39 |
CarlFK1 | it is? | 21:05 |
CarlFK1 | http://timvideos.us/cartoon1 | 21:05 |
tpb | Title: Streaming for Cartoon 1 (at timvideos.us) | 21:05 |
CarlFK1 | i don't see it | 21:05 |
aps-sids | working for me | 21:06 |
aps-sids | try flash mode | 21:06 |
aps-sids | CarlFK1: and I see you there :D | 21:07 |
CarlFK1 | yay! | 21:10 |
CarlFK1 | huh, still nothing.. weird | 21:11 |
aps-sids | tried Flash mode? | 21:11 |
CarlFK1 | works in chrome | 21:12 |
aps-sids | for me flash mode in firefox is working | 21:12 |
CarlFK1 | meh.. as long as data is getting from here to there we are good | 21:17 |
CarlFK1 | I am getting crazy encoding artifacts .. like the lower 1/2 is very pixilated | 21:21 |
aps-sids | haha, loved this magic code talk. | 21:41 |
aps-sids | CarlFK1: I'm almost asleep, so see ya later. and camera is still on :P | 22:41 |
*** CarlFK1 has quit IRC | 23:01 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!