Saturday, 2014-07-26

*** tpb has joined #timvideos00:00
*** rohitksingh has quit IRC01:02
*** Guest17434 is now known as puck02:13
mithroshenki: morning02:39
mithromparuszewski: ping?02:42
skaymithro: Carl is having trouble with irc and got me up to let you know that he is going back to the hotel02:52
mithroskay: okay02:52
mithroskay: did he get my SMSs?02:52
skayI haven't been feeling well so I've been offline.02:52
skayI'm going back afk now02:52
skayhe says he got sms02:53
mithroskay: I'm a little annoyed he didn't end up calling me last night - I'd really like to get streaming working for tomorrow sessions as I spent quite a bit of time getting it all working when I should have been spending it on HDMI2USB hacking02:59
*** CarlFK has joined #timvideos04:20
*** ChanServ sets mode: +v CarlFK04:20
CarlFKmithro: ping04:25
mithroCarlFK: pong04:26
CarlFKI am back at the hotel now04:26
CarlFKshow starts in about 8 hours04:26
mithroCarlFK: okay04:26
CarlFKall setup, all have wired connections04:27
mithroCarlFK: can I log into them remotely?04:27
CarlFK9-10 is a plenary, so one person can run it while I do what needs to be done04:28
CarlFKnot tonight04:28
mithroCarlFK: okay04:28
CarlFKI considered trying to get a ssh tunnel setup, but long day, too tired.04:28
CarlFKwe have access to the room at 8, I hope to be there about then04:29
mithroCarlFK: okay04:37
mithrocall me on the phone when you get into the room04:37
CarlFKwill do04:46
CarlFKhmm, cell coverage is crap.  even sms has issues .. like "message not sent"04:47
*** Niharika has joined #timvideos04:48
CarlFKI'll try to ping you as I leave the hotel.. that should be about 15 min before I get there04:48
mparuszewskimithro: pong05:00
mithromparuszewski: I'll be back in 30 minutes05:17
mparuszewskiOk, I will be available for few hours.05:18
mparuszewskiI will wait :)05:18
*** Niharika has quit IRC05:43
*** Niharika has joined #timvideos05:44
mithromparuszewski: I'm on a bus now06:10
mithromparuszewski: should be able to chat in about 20 minutes06:10
mparuszewskiGreat :)06:10
*** tariq786 has quit IRC06:41
mparuszewskimithro: I will be in 20 minutes back :)07:13
mithromparuszewski: oh crap07:13
mithroI arrived about 30 minutes ago07:13
mithromparuszewski: poke me when you are back07:13
mparuszewskiOk, I thought that your bus was late, didn't know that you arrived :)07:17
mithroI'm at a hacker space now07:28
*** Niharika1 has joined #timvideos07:39
*** Niharika has quit IRC07:40
mithroare you going to be around later tonight?07:55
mparuszewskiI am back. :) what hour Would you like to talk?08:12
*** Niharika has joined #timvideos08:52
*** Niharika1 has quit IRC08:53
*** Niharika has left #timvideos09:10
*** Niharika has quit IRC09:10
*** CarlFK has quit IRC11:03
mithromparuszewski: I'm around now if you have time to chat12:21
mparuszewskiYes, sure :)12:22
mithromparuszewski: three things, a) what do we need to do to get your stuff deployed?, b) what is happening regarding the github issue editor / interface thing?, c) what is happening regarding your push to social thing?12:24
mparuszewskia) to deploy getting started page we need deployed prose12:27
mparuszewskiWe need to deploy gate keeper to heroku or our server, then fork prose.io and deploy it to gh pages branch12:28
mparuszewskiAfter that we need to merge my fork of getting started to timvideos, change URL in configuration yaml to code.timvideos.us and enable Travis for that repository to make builds automatically after commit12:29
mithromparuszewski: so we have the following instructions at -> https://docs.google.com/a/mithis.com/document/d/15MgQzPmFDXaD0V7h0G827fpRtsIgVg0ML0IMye3pyl4/edit12:30
tpbTitle: TimVideos Getting Started Deployment - Google Docs (at docs.google.com)12:30
mparuszewskiIf you fork a prose io project to timvideos and give me access to that repository I will do that tomorrow.12:30
mithromparuszewski: can you go through that document and resolve all the comments?12:31
mparuszewskiYes, we have that file, I did not update it with information about Travis12:32
mparuszewskiSure.12:33
mithromparuszewski: please do update it12:35
mithromparuszewski: the point of that document is to have a set of instructions so you don't need to redescribe what we need to do each time I ask12:35
mithromparuszewski: and also to track the progress12:35
mithromparuszewski: and know where we are stuck12:35
mparuszewskiOk, I will do that.12:36
mparuszewskib) issues filter has been deployed, it is already on planet12:37
mithromparuszewski: url?12:39
mparuszewskic) I am testing feedbook right now, I've just added URL shortener, everything should work now, I've finished tests on Facebook and it works12:39
mparuszewskihttp://planet.timvideos.us/issues/12:39
tpbTitle: TimVideos.us Planet - Developers News (at planet.timvideos.us)12:39
mithromparuszewski: that seems to just let me search them? The idea was to provide a nice editor and interface?12:40
*** Niharika has joined #timvideos12:43
mparuszewskiI am not sure. As far as I remember (as mentioned in issue #20 in getting started, my proposal and from our talks, we did not talk about edit interface, but about issues filter to help new developers finding tasks to do. :)12:45
mithromparuszewski: the issue filter for helping new developers find was the first step12:46
mithromparuszewski: and this doesn't really fufill that either12:46
mithromparuszewski: it was suppose to be a tool for managing our issues12:47
mithromparuszewski: remember we talked about you using it instead of the other task tracking tool you where using12:47
mithro?12:49
mparuszewskiYes, I remember that.12:49
mparuszewskiCould you tell me what are you requirements for that tool? :) I will try prepare something12:50
mithromparuszewski: make using github issues fast and easy12:51
mithromparuszewski: and tracking things like bugs, progress, who is working on what12:52
mithromparuszewski: updating things12:52
mithrolike adding / removing tasks quickly and easily12:52
mithromparuszewski: what type of tool would have you liked to have for tracking your issues / progress / etc?12:53
mparuszewskiDid you try waffle.io, that tool seems to suit your need. :)12:53
mithromparuszewski: that is one idea on how to do it12:55
mparuszewskiI am experienced with redmine, trello, product rev and tried waffle with github issues, in my opinion it worked perfectyle12:55
mparuszewskiPerfectly* :) iPhone keyboard drives me crazy12:55
mithromparuszewski: it is closed source12:55
mithromparuszewski: IE we can't run our own waffle.io instance and customize it to our needs12:56
mparuszewskiThat is a big disadvantage12:56
mithromparuszewski: I also talked a lot about us needing to pull / integrate and link multiple github issue repositories12:57
mparuszewskiI will find tool that provides that, and I will write to waffle about our ideas12:59
mithromparuszewski: I don't think such a tool exists12:59
mithromparuszewski: see the following diagram? -> https://docs.google.com/a/mithis.com/drawings/d/1zYlT69xQqbAjzuJgKj-UhO1vRF5JNLpic8xmPrfNtXM/edit13:00
tpb<http://ln-s.net/+wZ3> (at docs.google.com)13:00
mithromparuszewski: we'd like that to be interactive13:01
*** CarlFK has joined #timvideos13:02
*** ChanServ sets mode: +v CarlFK13:02
mithroCarlFK: so, pyohio just started?13:02
CarlFKmithro:   should have, they are late... me too13:02
CarlFKgive me an ssh command to run on cnt3 collector so get you a tunnel13:03
mithroCarlFK: can you ping 54.191.219.64 ?13:04
CarlFK[email protected]:~$ ping 54.191.219.6413:04
CarlFKPING 54.191.219.64 (54.191.219.64) 56(84) bytes of data.13:04
CarlFK64 bytes from 54.191.219.64: icmp_req=1 ttl=43 time=86.3 ms13:04
mparuszewskiI understand, I will add that diagram to planet to make it easier to find issues, and I will find tool for issues and extend it, if that tool exists. If not I will try to write it, but that can be difficult. :)13:04
mparuszewskiWaffle.io is being developed by team for more than a year and they are still not ready for selling its13:05
mithroCarlFK: try ssh [email protected]13:05
CarlFKmithro: in13:06
mithromparuszewski: sure, they have more requirements then we do in many ways13:06
mithroCarlFK: looking up the forwarding rule now13:06
mithroalways get it the wrong way around13:06
*** FeltonChris has quit IRC13:10
*** techman83 has quit IRC13:13
mparuszewskiI will figure something. :) thanks for talk mithro :)13:16
mithromparuszewski: still got c) to chat about13:16
CarlFKmithro: try ssing to p 2222 on the ec2 box13:17
CarlFKusername juser13:17
CarlFKnm,., Warning: remote port forwarding failed for listen port 222213:18
mparuszewskiGithub.com/pinoss/feedbook, today I have added readme, Facebook part is working, I have tested it today13:19
mparuszewskiI did not find any plugin for pushing google plus streams. :)13:20
mithroCarlFK: try  "ssh -v [email protected] -R 0.0.0.0:2222:127.0.0.1:22"13:20
CarlFKdebug1: remote forward success for: listen 2222, connect 127.0.0.1:2213:22
CarlFK"ec2 security groupw s - is 2222 alowed?"13:23
mithroCarlFK: can you disconnect and try again?13:23
mithroCarlFK: needed to fix ssh config13:23
CarlFKdroped/up13:23
CarlFKworking!13:23
CarlFKI am connected from my rack box13:23
CarlFKdvswitch is on pc9e.local13:23
*** Niharika has quit IRC13:24
*** Niharika has joined #timvideos13:24
*** Niharika has quit IRC13:29
*** Niharika has joined #timvideos13:38
mithrohttp://timvideos.us/cartoon113:40
tpbTitle: Streaming for Cartoon 1 (at timvideos.us)13:40
CarlFKwoot13:41
mithroCarlFK: are you getting lots of pauses in the stream?13:41
CarlFKyeah.. worse than that.. is more like a still every 10 sec13:42
mithroCarlFK: what type of upload bandwidth do you have at pyohio?13:42
CarlFKdu no.  I expect pretty good  - it is a univerisity13:42
*** techman83 has joined #timvideos13:43
*** ChanServ sets mode: +v techman8313:43
mithrooh, it looks like the machine might be too slow13:44
mithroec2 encoder13:45
CarlFKoh wow13:45
mithroI hear CarlFK13:47
mithroCarlFK: I chose a smaller machine then I would normally13:47
mithrostream will BRB13:47
CarlFKk13:47
CarlFKheh.. the 1 hour "keynote"y thing hasn't started yet13:49
aps-sidsCarlFK: How much more time for start of pyohio?13:53
CarlFKit kinda started 30 min ago13:53
*** techman83 has quit IRC13:54
mithroCarlFK: should be back now13:54
aps-sidsmithro: its back but stopping after 1 sec13:54
aps-sidsmithro: fine now13:55
mithroCarlFK: you need to restart the tunnel13:55
CarlFKk13:55
CarlFKgood enough to tell the public?13:57
CarlFK(i'll start small.. like #ps1)13:57
aps-sidsmithro: there seems a problem in html5 plug, video stops in html5 mode13:59
mithroCarlFK: yes go ahead13:59
mithrohey it's Chris!14:02
mithroyell at him for me :P14:03
mithroHI CHRIS!14:03
CarlFKI did about 20 min ago :D14:03
mithroaps-sids: you going to be around for the next 8 hours?14:08
*** techman83 has joined #timvideos14:11
*** ChanServ sets mode: +v techman8314:11
CarlFKmithro: are local IPs restricted?14:12
mithroCarlFK: if you give me the ip address range I can do that14:12
CarlFKno no.. trying to figure out why my display is .. um..14:13
mithrocartoon2 is up?14:13
CarlFKkinda.. I can see the dvswithc gui.. not sure what is going on over there14:13
CarlFKmy cartoon1 stream is .. I just get 1 frame and no audio14:15
mithroit's working for me....14:19
NiharikaThe stream works on Chrome for me, but not on Safari. IE, it works in Flash mode, not HTML5, as aps-sids said.14:19
CarlFKk, I'll drop it int #python14:19
CarlFKthanks14:20
mithroHTML5 is probably not going to work with IE14:23
mithroCarlFK: do you have any other dvswitch mixers running?14:23
*** andi-m has quit IRC14:39
*** FeltonChris has joined #timvideos14:41
mithroCarlFK: what is happening in the other rooms?14:42
mithroCarlFK: poke?14:53
*** tvCommitBot has joined #timvideos15:06
tvCommitBot[streaming-system] mithro pushed 1 new commit to master: http://git.io/NULH9A15:06
tvCommitBotstreaming-system/master 68a8e1f Tim 'mithro' Ansell: Better generate.sh from LCA2014.15:06
*** tvCommitBot has left #timvideos15:06
*** andi-m has joined #timvideos15:20
*** tvCommitBot has joined #timvideos15:53
tvCommitBot[streaming-system] mithro pushed 2 new commits to master: http://git.io/rbr4Dg15:53
tvCommitBotstreaming-system/master 4b759ae Tim 'mithro' Ansell: Watchdog should tells you to run as root.15:53
tvCommitBotstreaming-system/master 55f0887 Tim 'mithro' Ansell: Watchdog it more agressive at restarting.15:53
*** tvCommitBot has left #timvideos15:53
mithroCarlFK: poke poke?15:57
*** tvCommitBot has joined #timvideos16:06
tvCommitBot[streaming-system] mithro pushed 1 new commit to master: http://git.io/gEqC6A16:06
tvCommitBotstreaming-system/master 2386707 Tim 'mithro' Ansell: Sleep between stop and start.16:06
*** tvCommitBot has left #timvideos16:06
aps-sidsmithro: sorry, was out for dinner. I will be around for 5ish hours.16:08
mithroaps-sids: no worries16:10
mithroaps-sids: two questions a) do you want to see how the flumotion set up works on the live pyohio system?16:10
mithroaps-sids: b) would you be able to baby sit them if I show you how?16:10
CarlFKmithro: I think I have time to find someone that can tweet #pyohio live http://timvideos.us ... any other text?  like irc can?16:12
tpbTitle: Unknown stream (at timvideos.us)16:12
aps-sidsmithro: a) sure b) sure, unless there is internet interruption here16:12
mithrodo you see the previews at timvideos.us ?16:13
CarlFKI do16:13
mithroCarlFK: can you mention it's highly experimental and best effort?16:13
CarlFKah right16:13
CarlFK#pyohio live http://timvideos.us (beta, mostly works)16:14
tpbTitle: Unknown stream (at timvideos.us)16:14
CarlFKhows that?16:14
mithroCarlFK: IRC channel is #pyohio16:14
CarlFK#pyohio live http://timvideos.us (beta, mostly works) chat with us #pyohio on irc.freenode.net16:15
tpbTitle: Unknown stream (at timvideos.us)16:15
aps-sidsTimvideos title page shouldn't say unknown stream16:15
aps-sidspage title, I mean.16:15
CarlFKlol16:15
mithroaps-sids: want to learn how to fix that? :P16:15
mithroaps-sids: send me a ssh pub key16:15
mithroaps-sids: okay, do you know what tmux/screen is?16:19
aps-sidsmithro: I know about tmux16:20
mithroaps-sids: okay, I make heavy use of tmux16:20
mithroaps-sids: you also want to install cluserssh16:20
aps-sidsmithro: I use guake terminal tabs16:21
mithroaps-sids: does that allow you to send the same command to multiple terminals at once?16:21
CarlFKbreak time.  I am going to rsync cartoon1 mixer files to a local usb drive..  it may soak up the cpu... will know soon.16:22
aps-sidsmithro: I guess no. I'll use tmux then. Also, I haven't heard about cluserssh before.16:25
mithroaps-sids: clusterssh just brings up like multiple ssh terminals and then sends the same input to each of them16:25
mithroaps-sids: so since we have 4 encoder machines, I use clusterssh to send the same thing to each one16:26
aps-sidsmithro: oh, you had misspelled. :P16:26
mithro?16:26
mithrooh yeah16:26
aps-sidsmithro> aps-sids: you also want to install cluserssh16:27
mithroit's just about 2am here :P16:27
aps-sidsokay, installed it. next step?16:27
mithrookay, so the conference has 4 rooms16:28
mithrowhich we have named cartoon1, cartoon2, barbie and hays16:28
mithrodata in the system goes16:28
mithroequipement -> dvswitch -> collector -> encoder -> user16:29
aps-sidsokay16:29
mithrodvswitch and the collectors are in the venue with Carl16:29
mithrothe encoders are on EC216:29
mithrothey have the dns names roomname.encoder.timvideos.us16:29
mithroso you want to set up a cluster ssh config with something like16:30
mithrocat > ~/.clusters <<EOF16:30
mithropyohio cartoon1.encoder.timvideos.us cartoon2.encoder.timvideos.us barbie.encoder.timvideos.us hays.encoder.timvideos.us16:30
mithroEOF16:30
aps-sidsokay, this has been done for now right?16:31
CarlFKlunch time.. bb in 40..16:32
CarlFKmithro: if you are asleep - good job and thanks it is super cool16:32
mithroaps-sids: yes16:32
mithroaps-sids: once you have that .clusters file set up16:33
mithroaps-sids: you should be able to do a "cssh pyohio" and it'll pop-up like 4 windows16:33
mithroCarlFK: something is wrong with cartoon116:33
CarlFKhmm... might be the rsync.. but wow, dvswitch is stopped16:34
CarlFKI am in c1 now...16:34
mithroCarlFK: better16:35
CarlFKhuh, just the main camera - crowd cam is working16:35
mithroaps-sids: where you able to do that?16:35
aps-sidsmithro: cssh windows pops up and says "could not resolve hostname: pyohio"16:36
mithrohrm16:37
mithroaps-sids: what does your ~/.clusters file look like?16:37
aps-sidspyohio cartoon1.encoder.timvideos.us cartoon2.encoder.timvideos.us barbie.encoder.timvideos.us hays.encoder.timvideos.us16:37
mithrohrm16:38
mithroaps-sids: and you just did "cssh pyohio"16:38
aps-sidsmithro: yes16:39
mithroaps-sids: whats your cssh version?16:39
aps-sidsVersion: 4.00_1116:42
mithrohrm16:42
mithroaps-sids: same version as me16:42
mithroaps-sids: you sure you spelled pyohio right in both places?16:43
aps-sidsmithro: yes16:43
mithro(the .clusters file and on the command line?)16:43
mithroaps-sids: screenshot?16:43
aps-sidshttp://i.imgur.com/rq7bOOm.png16:44
mithroahh figured it out16:46
aps-sidsmithro: should I ssh into four rooms seperately?16:46
mithroyou also need a ~/.csshrc16:46
mithro$ more ~/.csshrc16:46
mithroextra_cluster_file = ~/.clusters16:46
mithroaps-sids: that fix it?16:48
aps-sidsaps-sids: yeah16:48
aps-sidsmithro: but permission denied16:49
mithrooh16:49
mithroyou want a16:49
mithroHost *.timvideos.us16:49
mithroUser ubuntu16:49
mithroin your ~/.ssh/config16:50
aps-sidsmithro: all four logged in16:51
mithroyay!16:51
mithrookay, now you want to do a "tmux attach"16:51
mithroyou should now see a bunch of terminals16:52
mithroyou can change by using ctrl-a <number>16:52
aps-sidsmithro: where should I do tmux attach?16:52
mithroaps-sids: what do you mean?16:52
mithroaps-sids: you type it into the cssh text box and it should appear in every terminal16:53
aps-sidsmithro: there was lag, so I though its not working16:53
mithroaps-sids: if you click on an individual window, typing only goes to that window16:54
mithrothere is also the "hosts" menu which lets you toggle each one off/on from getting the text from the cssh window16:54
mithroaps-sids: where you able to attach?16:55
aps-sidsno16:57
aps-sidsIts hung, I'm going to ressh16:57
mithrookay16:58
mithroany luck?17:01
aps-sidsnope17:01
aps-sidsgiving screenshot17:02
aps-sidshttp://i.imgur.com/Z4efiqd.png17:02
mithroaps-sids: oh17:02
mithroI forgot17:03
mithroit auto-tmux attaches on those machines17:03
mithroso you've attached tmux inside tmux17:03
aps-sidsah17:04
aps-sidsbtw do we really need to attach? cssh does the work17:05
mithroaps-sids: we use tmux so the commands keep running if the connect drops17:06
aps-sidsoh17:06
mithroaps-sids: on the encoders tmux attach happens as part of the login17:06
mithroaps-sids: disconnect and connect again17:07
mithroaps-sids: you should be looking at the 4th terminal17:09
mithroif you ctrl-a 1 you'll see the watchdog17:09
mithroaps-sids: able to see that?17:11
mithroit should have some scrolling green text17:12
mithroaps-sids: ?17:14
aps-sidsmithro: I'm at watchdog, but no text17:15
mithro                producer-src (at 16:57:48) in    happy for 1077s (e  0.00%)17:15
mithroyou should see something like that?17:16
aps-sidsmithro: yeah, I see now17:16
mithroaps-sids: so you've looked at our configs right?17:17
aps-sidsmithro: yes17:17
mithroaps-sids: so you should notice that each one of thoses names matches a flumotion component17:17
mithroaps-sids: the watchdog will restart any individual component which goes out of the happy state17:17
aps-sidsoh17:17
mithroaps-sids: it's the same as clicking the start/stop buttons in the flumotion-admin interface17:18
mithroaps-sids: if things go poorly, it will restart the whole of flumotion using "service flumotion stop; sleep 5; service flumotion start"17:18
mithroand then exit17:18
mithrothat is why we run the watchdog in a while loop17:18
aps-sidsokay17:19
mithroaps-sids: but sometimes it gets confused17:20
mithroaps-sids: so you need to stop it17:20
mithroaps-sids: to do that, hit ctrl z, and then kill %1 (or %2)17:20
mithrothen fg17:20
mithroaps-sids: you want to give that a try?17:21
aps-sidsmithro: sure17:21
aps-sidswhat does fg mean/do?17:21
mithrofg brings something you put into the background to the foreground17:23
mithrofg == forground17:23
mithroafter you kill something17:23
mithrosometimes you need to bring it back to the foreground for it to finish exiting properly17:23
mithroaps-sids: you can type "jobs" to see what is running in the background17:25
aps-sidsmithro: I killed it using %117:26
mithrowhen you background it17:26
aps-sidsnow jobs give nothing17:26
mithroit will way something like17:26
mithro[1]: xxxxx17:26
mithroor [2]: xxxx17:26
aps-sidsokay17:26
mithroit would only do [2] if someone forgot to kill/cleanup a task17:26
mithroaps-sids: so now you want to run the manager in a loop17:26
aps-sidsyeah17:27
mithroaps-sids: if you press up a couple of times you'll see the command I used17:27
aps-sidsokay, so we need fg only if we kill a %2 job?17:27
mithro$ jobs17:29
mithro[2]-  Terminated              sleep 1017:29
aps-sidsand I see the watchdog cmd17:29
mithrosee the above17:29
mithromeans we need to fg the command before it'll go away from jobs17:29
aps-sidsoh17:29
mithroaps-sids: so, just run it and it should start scrolling like the other ones again17:30
aps-sidsyeah, did17:30
mithroaweseome17:31
mithroyou should be familiar with the the -m xxxxx part of the command line, same thing you give to other flumotion commands17:31
mithroaps-sids: so you go to the second window/terminal you'll see the register command17:32
*** mparuszewski has quit IRC17:32
mithroaps-sids: this is the command which reads from flumotion and sends a ping to the website17:32
aps-sidsokay17:33
mithroaps-sids: it also runs in a loop17:33
mithroaps-sids: because if flumotion dies (such as the watchdog restarting it) then the command exits17:33
mithroaps-sids: so you should switch them all to the 2nd terminal with "ctrl-a 2"17:35
aps-sidsyeah, I'm trying that. its not witching17:35
aps-sidsswitching17:36
mithroaps-sids: you hit "ctrl a", then lift up, then 217:37
aps-sidsah17:37
aps-sidsokay. 0 clients, bitrate <some_value>17:38
mithroaps-sids: yeah, nobody is connected at the moment17:38
mithroaps-sids: you should have just seen one of the numbers go to 117:39
aps-sidsyeah, cartoon1. I know this functionality from flumotion on my pc.17:40
mithroaps-sids: oh?17:40
mithroaps-sids: so if a room isn't appearing on the front page of timvideos.us, it means the register command is not running17:41
mithroaps-sids: the encoders which are registered with a room can be found at17:41
mithrohttp://timvideos.us/tracker/cartoon1/stream.js17:41
aps-sidsokay17:42
mithroaps-sids: so that is an encoder17:42
mithroaps-sids: any questions?17:43
mithroaps-sids: oh when you connect a new terminal will be created17:43
mithroyou can see the <4> terminal from when you connected17:43
mithroyou can get rid of it by changing to that terminal and doing a ctrl d17:43
aps-sidsokay. good so for.17:44
mithroaps-sids: so carl set up a reverse ssh tunnel so we can access the collectors inside the venue17:44
aps-sidss/for/far17:44
aps-sidsokay17:44
mithroaps-sids: so you should be able to ssh to the info I just sent you17:46
mithroaps-sids: unlike the encoders, you'll have to do a tmux attach once your sshed in17:46
aps-sidsI'm in.17:46
mithroaps-sids: you see the green bar across the bottom?17:48
aps-sidsmithro: yes17:48
mithrookay17:48
mithroso the first terminal is where I have been running the "config pusher" on17:48
aps-sidshmm17:48
mithrothe box you are connected to can push configs to both the encoder and all the other collectors, plus itself17:48
mithrothe config pusher just takes the templates, substitutes data from the config system and then scp's it to the right machine17:49
mithroaps-sids: are you still connected to the encoders?17:50
aps-sidsyes17:50
mithroaps-sids: take a look at cartoon2's watchdog17:50
aps-sidsmithro: yeah, It's trying to restart components17:51
mithrohttps://www.irccloud.com/pastebin/0chobKs317:51
tpbTitle: Pastebin: 0chobKs3 | IRCCloud (at www.irccloud.com)17:51
mithroso it show's you the history for the component17:52
mithroso you can see how long it has been in each state17:52
aps-sidshmm17:52
mithroaps-sids: the component we care about the most on the encoder is the "producer-src"17:52
mithroaps-sids: is that component is hungry it means it's not getting data from the collector17:53
mithroaps-sids: which we can see here17:53
mithroaps-sids: so we need to figure out what is going on with the collector17:53
mithroaps-sids: encoders tend to look after themselves pretty well17:53
mithroaps-sids: but collectors tend to be less reliable17:53
mithroaps-sids: as they are onsite and have to deal with dvswitch and people and such17:54
aps-sidsokay17:54
mithroaps-sids: so, we need to look at the collector17:54
mithroaps-sids: but to be annoying, the tmux on the collectors uses ctrl b rather than ctrl a17:54
mithroso you should switch to the terminal labeled cartoon217:55
aps-sidsmithro: thanks for telling that, I've been trying to figure out why ctrl-a 2 is not working :P17:55
mithroaps-sids: yeah, ctrl-b is the "default"17:55
mithroaps-sids: but my config setup uses ctrl-a like screen does17:55
mithroaps-sids: notice how there are now two green bars along the bottom?17:56
aps-sidsits a tmux inside 1st terminal?17:56
mithroaps-sids: that is because your connected to a different machine which is also running tmux17:56
mithroaps-sids: so to send commands to tmux inside the tmux17:56
mithroaps-sids: you do a ctrl-b ctrl-b <command>17:57
mithroaps-sids: so you should change to cartoon217:57
aps-sidsokay17:57
mithroand you can see that most of the components are hungry and the watchdog hasn't been able to fix it17:58
aps-sidsyeah17:58
mithroaps-sids: so you should kill the watchdog and try restarting flumotion manually17:58
mithroaps-sids: same process as on the encoders17:58
mithroaps-sids: to restart flumotion; do a "service flumotion stop" then "service flumotion start"17:59
mithroaps-sids: then restart the watchdog and see if things are happier18:00
aps-sidsdoing that18:00
mithroaps-sids: yeah, I can see :)18:01
mithroaps-sids: yay, everything is happy again now18:01
aps-sidssleep should be 30?18:01
mithroaps-sids: as I've just discovered, 30 is probably too long but we can fix that later18:02
mithroaps-sids: killing / starting the watchdog shouldn't have any negative effect on flumotion18:02
mithroaps-sids: you should check the stream to see if it's up18:02
aps-sidsI think there's more lag in ssh for me due to bandwidth issues18:02
mithroCarlFK: you need to boost the sound in cartoon218:03
mithroaps-sids: it probably doesn't help streaming video :P18:04
CarlFKmithro: okee dokee18:04
mithroaps-sids: if you go and have a look at the encoder, you should see that it restarted itself without any issues18:05
CarlFKare you still awake?!18:05
mithroCarlFK: I'm teaching aps-sids to replace me :P18:05
CarlFKyay!18:05
CarlFKaudio need boost in c2?18:05
CarlFKc1 looks a little low based on dvswitch meeter18:06
mithroCarlFK: actually the audio is fairly quiet in most rooms18:06
mithroaps-sids: you should watch the talk in hays18:06
mithrohttp://timvideos.us/hays18:06
tpbTitle: Streaming for Hays Cape (at timvideos.us)18:06
mithroWatch your Python script with strace18:07
mithroaps-sids: so, there are 2 pieces of the system left18:08
aps-sidsmithro: yeah, I was looking at that. Recordings will be available for these right?18:08
mithroaps-sids: CarlFK will know18:08
CarlFKyep18:08
aps-sidsawesome18:09
aps-sidsmithro: please continue18:09
CarlFKill go boost everyones volume18:09
CarlFKbye!18:09
mithroaps-sids: preview.timvideos.us is the next peice18:09
mithroaps-sids: it's what provides the images on the frontpage at timvideos.us18:09
mithroaps-sids: its just running the script at https://github.com/timvideos/streaming-system/blob/master/tools/preview/generate.sh18:10
tpbTitle: streaming-system/tools/preview/generate.sh at master · timvideos/streaming-system · GitHub (at github.com)18:10
mithroaps-sids: inside tmux18:10
mithroaps-sids: occasionally you need to kick it if the images are not being updated18:11
mithroaps-sids: just ssh into it18:11
mithroaps-sids: then kill it by ctrl-c18:11
mithroaps-sids: then just run it again18:11
aps-sidsroger that18:12
mithroaps-sids: it's quite simple18:12
mithroaps-sids: the last thing is the actual website itself18:13
mithroaps-sids: that is a lot more complicated18:13
mithroaps-sids: but the basics is, ~ubuntu/streaming-system is the git repo where things are pulled from18:14
mithro~website/timvideos is the git repo of the website18:14
mithroyou use "sudo ./website/conf/setup.sh" to install any changes18:14
mithrothe tricky part is that config.private.json needs to be in ~website/timvideos/ for it to be deployed successfully18:15
aps-sidsand this should be done in "ssh timvideos.us" ?18:16
mithroaps-sids: www.timvideos.us == timvideos.us18:16
mithroI use www.timvideos.us to be less confused :)18:16
aps-sidsokay18:16
mithroaps-sids: so the website is getting the title from the config.private.json file18:17
mithroaps-sids: so you probably want to scp the file down to your machine18:18
aps-sidsokay18:19
mithroaps-sids: edit it, then upload it again18:19
mithroaps-sids: and run that "cd ~website/timvideos; sudo ./website/conf/setup.sh"18:19
mithroaps-sids: you can look at my bash history in the tmux session to find interesting things18:20
mithroaps-sids: if you check out the streaming-system git repo locally18:20
mithroaps-sids: and then put the config.private.json in the top level directory18:20
mithroyou can run "python config.py" to find the output / merged config18:20
mithroaps-sids: so, that was a brain dump on the whole system18:22
mithroaps-sids: as you can see a lot of it is quite manual at the moment18:22
aps-sidsmithro: okay some (silly) questions.  a) how to exit ssh without disturbing remote system. b) can you give me exact scp commands to run? b) how would I something went bad?18:23
mithroaps-sids: if you change anything in the config.private.json which would effect the output flumotion config, you'll need to scp the config.private.json to the gateway and then run the pusher18:23
mithroaps-sids: then restart flumotion on each machine18:23
mithroa) crtl-a ctrl-d18:24
mithro(or ctrl-b ctrl-d)18:24
aps-sidsah, c) how would I know that something is wrong with the setup and I need to fix?18:25
mithroc) I leave the cssh running in another virtual desktop18:25
mithroand just switch to it every now and then18:25
aps-sidsok18:25
mithroaps-sids: we don't have any alerting or anything18:25
aps-sidsOkay, so I'm going to try and add the title now18:27
mithroaps-sids: http://timvideos.us/monitor is another useful URL18:27
tpbTitle: Stream Time for Linux.conf.au! (at timvideos.us)18:27
aps-sidsmithro: website title will go in default right?18:39
aps-sidsin config.private.json18:39
mithroaps-sids: not sure18:39
aps-sidsokay, I'll look at django code18:39
aps-sidsmithro: yeah default only18:44
mithroaps-sids: just about to push some small fixes18:46
*** tvCommitBot has joined #timvideos18:46
tvCommitBot[streaming-system] mithro pushed 3 new commits to master: http://git.io/rkkayA18:46
tvCommitBotstreaming-system/master 0e2dfd5 Tim 'mithro' Ansell: Fixing rss feeds on with pycon2internal18:46
tvCommitBotstreaming-system/master 8eb080b Tim 'mithro' Ansell: Adding missing imports needed by overall_stats_graphs.18:46
tvCommitBotstreaming-system/master 682dae9 Tim 'mithro' Ansell: Adding a bit more info to the urls.py18:46
*** tvCommitBot has left #timvideos18:46
aps-sidsmithro: I was just about to mention that graphs should be higher in urls.py :)18:47
mithroaps-sids: opps just ran www out of disk space!18:48
mithrohttp://timvideos.us/graphs18:49
tpbTitle: Graphs (at timvideos.us)18:49
mithrono idea why that is only showing 1 graph18:51
mithroaps-sids: any questions before I head to bed?18:55
*** tvCommitBot has joined #timvideos18:55
tvCommitBot[streaming-system] mithro pushed 1 new commit to master: http://git.io/lu0JgQ18:55
tvCommitBotstreaming-system/master 0058cbf Tim 'mithro' Ansell: Hack to generate bot config lines for IRC channel announcements.18:55
*** tvCommitBot has left #timvideos18:55
aps-sidsmithro: should I upload the updated config file?18:55
mithroaps-sids: sure18:55
aps-sidsand did you make any changes to that now?18:56
mithroaps-sids: nope18:56
mithrothe whole config.private.json thing needs to be shot18:56
aps-sidsmithro: okay, I'm going to run setup.sh now18:59
mithroaps-sids: I'll stick around for this just incase things go poorly18:59
mithroaps-sids: did you remeber to copy the config.private.json into the right place?18:59
*** Niharika has quit IRC19:00
mithrothat scp command uploads it to ~ubuntu/streaming-system/19:00
mithroaps-sids: you need to run the command I just showed19:00
mithrothen do the setup.sh19:00
mithroaps-sids fixed the title!19:04
mithroCarlFK: ping?19:04
mithroaps-sids: might be worth hanging out on the #pyohio channels19:06
aps-sidsmithro: You should sleep now and I would make notes about this tutorial and learn to use tmux properly.19:07
mithroaps-sids: please put your notes somewhere19:08
mithrohttps://github.com/timvideos/streaming-system/wiki19:08
tpb<http://ln-s.net/-30s> (at github.com)19:08
mithroaps-sids: barbie seems to be a black screen?19:10
mithroaps-sids: that might be something to poke CarlFK about19:11
mithrookay, I'm going to head to bed19:16
mithroCarlFK: aps-sids has been given a tutorial on how to hit things with a stick19:17
mithroCarlFK: direct requests at him19:17
mithroCarlFK: feel free to advertise it a bit more19:17
*** CarlFK has quit IRC19:29
*** CarlFK has joined #timvideos19:53
*** ChanServ sets mode: +v CarlFK19:53
aps-sidsCarlFK: barbie went hungry. Is the talk over?21:58
CarlFKi think so21:58
CarlFKyep - 1 hour of lioghtnitn talks now21:58
CarlFKthen sleeping21:58
aps-sidsCarlFK: ok, so should I let the watchdog run and keep trying to restart flumotion or stop it?21:59
CarlFKyeah, let it run22:00
*** CarlFK has quit IRC22:23
*** CarlFK has joined #timvideos22:23
*** ChanServ sets mode: +v CarlFK22:23
CarlFKaps-sids: cartoon1 should be back up22:25
CarlFKit went down, had to reboot he dvswitch box.. all back now22:26
aps-sidsCarlFK: its still hungry22:28
CarlFKhmm...22:30
CarlFKdo you have an ssh connection to cnt3?22:30
aps-sidsyeah, I'm fixing that22:30
aps-sidsCarlFK: fixed22:32
CarlFKyay22:36
aps-sidsCarlFK: Looks like its over for today. Anything else you need me to do before I head for bed?23:39
CarlFKnope, thats it.  yay23:42
aps-sidsCool, good night. See you later.23:43
CarlFKsee ya23:43

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