*** tpb has joined #timvideos | 00:00 | |
*** rohitksingh has quit IRC | 01:02 | |
*** Guest17434 is now known as puck | 02:13 | |
mithro | shenki: morning | 02:39 |
---|---|---|
mithro | mparuszewski: ping? | 02:42 |
skay | mithro: Carl is having trouble with irc and got me up to let you know that he is going back to the hotel | 02:52 |
mithro | skay: okay | 02:52 |
mithro | skay: did he get my SMSs? | 02:52 |
skay | I haven't been feeling well so I've been offline. | 02:52 |
skay | I'm going back afk now | 02:52 |
skay | he says he got sms | 02:53 |
mithro | skay: 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 hacking | 02:59 |
*** CarlFK has joined #timvideos | 04:20 | |
*** ChanServ sets mode: +v CarlFK | 04:20 | |
CarlFK | mithro: ping | 04:25 |
mithro | CarlFK: pong | 04:26 |
CarlFK | I am back at the hotel now | 04:26 |
CarlFK | show starts in about 8 hours | 04:26 |
mithro | CarlFK: okay | 04:26 |
CarlFK | all setup, all have wired connections | 04:27 |
mithro | CarlFK: can I log into them remotely? | 04:27 |
CarlFK | 9-10 is a plenary, so one person can run it while I do what needs to be done | 04:28 |
CarlFK | not tonight | 04:28 |
mithro | CarlFK: okay | 04:28 |
CarlFK | I considered trying to get a ssh tunnel setup, but long day, too tired. | 04:28 |
CarlFK | we have access to the room at 8, I hope to be there about then | 04:29 |
mithro | CarlFK: okay | 04:37 |
mithro | call me on the phone when you get into the room | 04:37 |
CarlFK | will do | 04:46 |
CarlFK | hmm, cell coverage is crap. even sms has issues .. like "message not sent" | 04:47 |
*** Niharika has joined #timvideos | 04:48 | |
CarlFK | I'll try to ping you as I leave the hotel.. that should be about 15 min before I get there | 04:48 |
mparuszewski | mithro: pong | 05:00 |
mithro | mparuszewski: I'll be back in 30 minutes | 05:17 |
mparuszewski | Ok, I will be available for few hours. | 05:18 |
mparuszewski | I will wait :) | 05:18 |
*** Niharika has quit IRC | 05:43 | |
*** Niharika has joined #timvideos | 05:44 | |
mithro | mparuszewski: I'm on a bus now | 06:10 |
mithro | mparuszewski: should be able to chat in about 20 minutes | 06:10 |
mparuszewski | Great :) | 06:10 |
*** tariq786 has quit IRC | 06:41 | |
mparuszewski | mithro: I will be in 20 minutes back :) | 07:13 |
mithro | mparuszewski: oh crap | 07:13 |
mithro | I arrived about 30 minutes ago | 07:13 |
mithro | mparuszewski: poke me when you are back | 07:13 |
mparuszewski | Ok, I thought that your bus was late, didn't know that you arrived :) | 07:17 |
mithro | I'm at a hacker space now | 07:28 |
*** Niharika1 has joined #timvideos | 07:39 | |
*** Niharika has quit IRC | 07:40 | |
mithro | are you going to be around later tonight? | 07:55 |
mparuszewski | I am back. :) what hour Would you like to talk? | 08:12 |
*** Niharika has joined #timvideos | 08:52 | |
*** Niharika1 has quit IRC | 08:53 | |
*** Niharika has left #timvideos | 09:10 | |
*** Niharika has quit IRC | 09:10 | |
*** CarlFK has quit IRC | 11:03 | |
mithro | mparuszewski: I'm around now if you have time to chat | 12:21 |
mparuszewski | Yes, sure :) | 12:22 |
mithro | mparuszewski: 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 |
mparuszewski | a) to deploy getting started page we need deployed prose | 12:27 |
mparuszewski | We need to deploy gate keeper to heroku or our server, then fork prose.io and deploy it to gh pages branch | 12:28 |
mparuszewski | After 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 commit | 12:29 |
mithro | mparuszewski: so we have the following instructions at -> https://docs.google.com/a/mithis.com/document/d/15MgQzPmFDXaD0V7h0G827fpRtsIgVg0ML0IMye3pyl4/edit | 12:30 |
tpb | Title: TimVideos Getting Started Deployment - Google Docs (at docs.google.com) | 12:30 |
mparuszewski | If you fork a prose io project to timvideos and give me access to that repository I will do that tomorrow. | 12:30 |
mithro | mparuszewski: can you go through that document and resolve all the comments? | 12:31 |
mparuszewski | Yes, we have that file, I did not update it with information about Travis | 12:32 |
mparuszewski | Sure. | 12:33 |
mithro | mparuszewski: please do update it | 12:35 |
mithro | mparuszewski: 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 ask | 12:35 |
mithro | mparuszewski: and also to track the progress | 12:35 |
mithro | mparuszewski: and know where we are stuck | 12:35 |
mparuszewski | Ok, I will do that. | 12:36 |
mparuszewski | b) issues filter has been deployed, it is already on planet | 12:37 |
mithro | mparuszewski: url? | 12:39 |
mparuszewski | c) I am testing feedbook right now, I've just added URL shortener, everything should work now, I've finished tests on Facebook and it works | 12:39 |
mparuszewski | http://planet.timvideos.us/issues/ | 12:39 |
tpb | Title: TimVideos.us Planet - Developers News (at planet.timvideos.us) | 12:39 |
mithro | mparuszewski: that seems to just let me search them? The idea was to provide a nice editor and interface? | 12:40 |
*** Niharika has joined #timvideos | 12:43 | |
mparuszewski | I 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 |
mithro | mparuszewski: the issue filter for helping new developers find was the first step | 12:46 |
mithro | mparuszewski: and this doesn't really fufill that either | 12:46 |
mithro | mparuszewski: it was suppose to be a tool for managing our issues | 12:47 |
mithro | mparuszewski: remember we talked about you using it instead of the other task tracking tool you where using | 12:47 |
mithro | ? | 12:49 |
mparuszewski | Yes, I remember that. | 12:49 |
mparuszewski | Could you tell me what are you requirements for that tool? :) I will try prepare something | 12:50 |
mithro | mparuszewski: make using github issues fast and easy | 12:51 |
mithro | mparuszewski: and tracking things like bugs, progress, who is working on what | 12:52 |
mithro | mparuszewski: updating things | 12:52 |
mithro | like adding / removing tasks quickly and easily | 12:52 |
mithro | mparuszewski: what type of tool would have you liked to have for tracking your issues / progress / etc? | 12:53 |
mparuszewski | Did you try waffle.io, that tool seems to suit your need. :) | 12:53 |
mithro | mparuszewski: that is one idea on how to do it | 12:55 |
mparuszewski | I am experienced with redmine, trello, product rev and tried waffle with github issues, in my opinion it worked perfectyle | 12:55 |
mparuszewski | Perfectly* :) iPhone keyboard drives me crazy | 12:55 |
mithro | mparuszewski: it is closed source | 12:55 |
mithro | mparuszewski: IE we can't run our own waffle.io instance and customize it to our needs | 12:56 |
mparuszewski | That is a big disadvantage | 12:56 |
mithro | mparuszewski: I also talked a lot about us needing to pull / integrate and link multiple github issue repositories | 12:57 |
mparuszewski | I will find tool that provides that, and I will write to waffle about our ideas | 12:59 |
mithro | mparuszewski: I don't think such a tool exists | 12:59 |
mithro | mparuszewski: see the following diagram? -> https://docs.google.com/a/mithis.com/drawings/d/1zYlT69xQqbAjzuJgKj-UhO1vRF5JNLpic8xmPrfNtXM/edit | 13:00 |
tpb | <http://ln-s.net/+wZ3> (at docs.google.com) | 13:00 |
mithro | mparuszewski: we'd like that to be interactive | 13:01 |
*** CarlFK has joined #timvideos | 13:02 | |
*** ChanServ sets mode: +v CarlFK | 13:02 | |
mithro | CarlFK: so, pyohio just started? | 13:02 |
CarlFK | mithro: should have, they are late... me too | 13:02 |
CarlFK | give me an ssh command to run on cnt3 collector so get you a tunnel | 13:03 |
mithro | CarlFK: can you ping 54.191.219.64 ? | 13:04 |
CarlFK | juser@cnt3:~$ ping 54.191.219.64 | 13:04 |
CarlFK | PING 54.191.219.64 (54.191.219.64) 56(84) bytes of data. | 13:04 |
CarlFK | 64 bytes from 54.191.219.64: icmp_req=1 ttl=43 time=86.3 ms | 13:04 |
mparuszewski | I 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 |
mparuszewski | Waffle.io is being developed by team for more than a year and they are still not ready for selling its | 13:05 |
mithro | CarlFK: try ssh [email protected] | 13:05 |
CarlFK | mithro: in | 13:06 |
mithro | mparuszewski: sure, they have more requirements then we do in many ways | 13:06 |
mithro | CarlFK: looking up the forwarding rule now | 13:06 |
mithro | always get it the wrong way around | 13:06 |
*** FeltonChris has quit IRC | 13:10 | |
*** techman83 has quit IRC | 13:13 | |
mparuszewski | I will figure something. :) thanks for talk mithro :) | 13:16 |
mithro | mparuszewski: still got c) to chat about | 13:16 |
CarlFK | mithro: try ssing to p 2222 on the ec2 box | 13:17 |
CarlFK | username juser | 13:17 |
CarlFK | nm,., Warning: remote port forwarding failed for listen port 2222 | 13:18 |
mparuszewski | Github.com/pinoss/feedbook, today I have added readme, Facebook part is working, I have tested it today | 13:19 |
mparuszewski | I did not find any plugin for pushing google plus streams. :) | 13:20 |
mithro | CarlFK: try "ssh -v [email protected] -R 0.0.0.0:2222:127.0.0.1:22" | 13:20 |
CarlFK | debug1: remote forward success for: listen 2222, connect 127.0.0.1:22 | 13:22 |
CarlFK | "ec2 security groupw s - is 2222 alowed?" | 13:23 |
mithro | CarlFK: can you disconnect and try again? | 13:23 |
mithro | CarlFK: needed to fix ssh config | 13:23 |
CarlFK | droped/up | 13:23 |
CarlFK | working! | 13:23 |
CarlFK | I am connected from my rack box | 13:23 |
CarlFK | dvswitch is on pc9e.local | 13:23 |
*** Niharika has quit IRC | 13:24 | |
*** Niharika has joined #timvideos | 13:24 | |
*** Niharika has quit IRC | 13:29 | |
*** Niharika has joined #timvideos | 13:38 | |
mithro | http://timvideos.us/cartoon1 | 13:40 |
tpb | Title: Streaming for Cartoon 1 (at timvideos.us) | 13:40 |
CarlFK | woot | 13:41 |
mithro | CarlFK: are you getting lots of pauses in the stream? | 13:41 |
CarlFK | yeah.. worse than that.. is more like a still every 10 sec | 13:42 |
mithro | CarlFK: what type of upload bandwidth do you have at pyohio? | 13:42 |
CarlFK | du no. I expect pretty good - it is a univerisity | 13:42 |
*** techman83 has joined #timvideos | 13:43 | |
*** ChanServ sets mode: +v techman83 | 13:43 | |
mithro | oh, it looks like the machine might be too slow | 13:44 |
mithro | ec2 encoder | 13:45 |
CarlFK | oh wow | 13:45 |
mithro | I hear CarlFK | 13:47 |
mithro | CarlFK: I chose a smaller machine then I would normally | 13:47 |
mithro | stream will BRB | 13:47 |
CarlFK | k | 13:47 |
CarlFK | heh.. the 1 hour "keynote"y thing hasn't started yet | 13:49 |
aps-sids | CarlFK: How much more time for start of pyohio? | 13:53 |
CarlFK | it kinda started 30 min ago | 13:53 |
*** techman83 has quit IRC | 13:54 | |
mithro | CarlFK: should be back now | 13:54 |
aps-sids | mithro: its back but stopping after 1 sec | 13:54 |
aps-sids | mithro: fine now | 13:55 |
mithro | CarlFK: you need to restart the tunnel | 13:55 |
CarlFK | k | 13:55 |
CarlFK | good enough to tell the public? | 13:57 |
CarlFK | (i'll start small.. like #ps1) | 13:57 |
aps-sids | mithro: there seems a problem in html5 plug, video stops in html5 mode | 13:59 |
mithro | CarlFK: yes go ahead | 13:59 |
mithro | hey it's Chris! | 14:02 |
mithro | yell at him for me :P | 14:03 |
mithro | HI CHRIS! | 14:03 |
CarlFK | I did about 20 min ago :D | 14:03 |
mithro | aps-sids: you going to be around for the next 8 hours? | 14:08 |
*** techman83 has joined #timvideos | 14:11 | |
*** ChanServ sets mode: +v techman83 | 14:11 | |
CarlFK | mithro: are local IPs restricted? | 14:12 |
mithro | CarlFK: if you give me the ip address range I can do that | 14:12 |
CarlFK | no no.. trying to figure out why my display is .. um.. | 14:13 |
mithro | cartoon2 is up? | 14:13 |
CarlFK | kinda.. I can see the dvswithc gui.. not sure what is going on over there | 14:13 |
CarlFK | my cartoon1 stream is .. I just get 1 frame and no audio | 14:15 |
mithro | it's working for me.... | 14:19 |
Niharika | The stream works on Chrome for me, but not on Safari. IE, it works in Flash mode, not HTML5, as aps-sids said. | 14:19 |
CarlFK | k, I'll drop it int #python | 14:19 |
CarlFK | thanks | 14:20 |
mithro | HTML5 is probably not going to work with IE | 14:23 |
mithro | CarlFK: do you have any other dvswitch mixers running? | 14:23 |
*** andi-m has quit IRC | 14:39 | |
*** FeltonChris has joined #timvideos | 14:41 | |
mithro | CarlFK: what is happening in the other rooms? | 14:42 |
mithro | CarlFK: poke? | 14:53 |
*** tvCommitBot has joined #timvideos | 15:06 | |
tvCommitBot | [streaming-system] mithro pushed 1 new commit to master: http://git.io/NULH9A | 15:06 |
tvCommitBot | streaming-system/master 68a8e1f Tim 'mithro' Ansell: Better generate.sh from LCA2014. | 15:06 |
*** tvCommitBot has left #timvideos | 15:06 | |
*** andi-m has joined #timvideos | 15:20 | |
*** tvCommitBot has joined #timvideos | 15:53 | |
tvCommitBot | [streaming-system] mithro pushed 2 new commits to master: http://git.io/rbr4Dg | 15:53 |
tvCommitBot | streaming-system/master 4b759ae Tim 'mithro' Ansell: Watchdog should tells you to run as root. | 15:53 |
tvCommitBot | streaming-system/master 55f0887 Tim 'mithro' Ansell: Watchdog it more agressive at restarting. | 15:53 |
*** tvCommitBot has left #timvideos | 15:53 | |
mithro | CarlFK: poke poke? | 15:57 |
*** tvCommitBot has joined #timvideos | 16:06 | |
tvCommitBot | [streaming-system] mithro pushed 1 new commit to master: http://git.io/gEqC6A | 16:06 |
tvCommitBot | streaming-system/master 2386707 Tim 'mithro' Ansell: Sleep between stop and start. | 16:06 |
*** tvCommitBot has left #timvideos | 16:06 | |
aps-sids | mithro: sorry, was out for dinner. I will be around for 5ish hours. | 16:08 |
mithro | aps-sids: no worries | 16:10 |
mithro | aps-sids: two questions a) do you want to see how the flumotion set up works on the live pyohio system? | 16:10 |
mithro | aps-sids: b) would you be able to baby sit them if I show you how? | 16:10 |
CarlFK | mithro: I think I have time to find someone that can tweet #pyohio live http://timvideos.us ... any other text? like irc can? | 16:12 |
tpb | Title: Unknown stream (at timvideos.us) | 16:12 |
aps-sids | mithro: a) sure b) sure, unless there is internet interruption here | 16:12 |
mithro | do you see the previews at timvideos.us ? | 16:13 |
CarlFK | I do | 16:13 |
mithro | CarlFK: can you mention it's highly experimental and best effort? | 16:13 |
CarlFK | ah right | 16:13 |
CarlFK | #pyohio live http://timvideos.us (beta, mostly works) | 16:14 |
tpb | Title: Unknown stream (at timvideos.us) | 16:14 |
CarlFK | hows that? | 16:14 |
mithro | CarlFK: IRC channel is #pyohio | 16:14 |
CarlFK | #pyohio live http://timvideos.us (beta, mostly works) chat with us #pyohio on irc.freenode.net | 16:15 |
tpb | Title: Unknown stream (at timvideos.us) | 16:15 |
aps-sids | Timvideos title page shouldn't say unknown stream | 16:15 |
aps-sids | page title, I mean. | 16:15 |
CarlFK | lol | 16:15 |
mithro | aps-sids: want to learn how to fix that? :P | 16:15 |
mithro | aps-sids: send me a ssh pub key | 16:15 |
mithro | aps-sids: okay, do you know what tmux/screen is? | 16:19 |
aps-sids | mithro: I know about tmux | 16:20 |
mithro | aps-sids: okay, I make heavy use of tmux | 16:20 |
mithro | aps-sids: you also want to install cluserssh | 16:20 |
aps-sids | mithro: I use guake terminal tabs | 16:21 |
mithro | aps-sids: does that allow you to send the same command to multiple terminals at once? | 16:21 |
CarlFK | break 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-sids | mithro: I guess no. I'll use tmux then. Also, I haven't heard about cluserssh before. | 16:25 |
mithro | aps-sids: clusterssh just brings up like multiple ssh terminals and then sends the same input to each of them | 16:25 |
mithro | aps-sids: so since we have 4 encoder machines, I use clusterssh to send the same thing to each one | 16:26 |
aps-sids | mithro: oh, you had misspelled. :P | 16:26 |
mithro | ? | 16:26 |
mithro | oh yeah | 16:26 |
aps-sids | mithro> aps-sids: you also want to install cluserssh | 16:27 |
mithro | it's just about 2am here :P | 16:27 |
aps-sids | okay, installed it. next step? | 16:27 |
mithro | okay, so the conference has 4 rooms | 16:28 |
mithro | which we have named cartoon1, cartoon2, barbie and hays | 16:28 |
mithro | data in the system goes | 16:28 |
mithro | equipement -> dvswitch -> collector -> encoder -> user | 16:29 |
aps-sids | okay | 16:29 |
mithro | dvswitch and the collectors are in the venue with Carl | 16:29 |
mithro | the encoders are on EC2 | 16:29 |
mithro | they have the dns names roomname.encoder.timvideos.us | 16:29 |
mithro | so you want to set up a cluster ssh config with something like | 16:30 |
mithro | cat > ~/.clusters <<EOF | 16:30 |
mithro | pyohio cartoon1.encoder.timvideos.us cartoon2.encoder.timvideos.us barbie.encoder.timvideos.us hays.encoder.timvideos.us | 16:30 |
mithro | EOF | 16:30 |
aps-sids | okay, this has been done for now right? | 16:31 |
CarlFK | lunch time.. bb in 40.. | 16:32 |
CarlFK | mithro: if you are asleep - good job and thanks it is super cool | 16:32 |
mithro | aps-sids: yes | 16:32 |
mithro | aps-sids: once you have that .clusters file set up | 16:33 |
mithro | aps-sids: you should be able to do a "cssh pyohio" and it'll pop-up like 4 windows | 16:33 |
mithro | CarlFK: something is wrong with cartoon1 | 16:33 |
CarlFK | hmm... might be the rsync.. but wow, dvswitch is stopped | 16:34 |
CarlFK | I am in c1 now... | 16:34 |
mithro | CarlFK: better | 16:35 |
CarlFK | huh, just the main camera - crowd cam is working | 16:35 |
mithro | aps-sids: where you able to do that? | 16:35 |
aps-sids | mithro: cssh windows pops up and says "could not resolve hostname: pyohio" | 16:36 |
mithro | hrm | 16:37 |
mithro | aps-sids: what does your ~/.clusters file look like? | 16:37 |
aps-sids | pyohio cartoon1.encoder.timvideos.us cartoon2.encoder.timvideos.us barbie.encoder.timvideos.us hays.encoder.timvideos.us | 16:37 |
mithro | hrm | 16:38 |
mithro | aps-sids: and you just did "cssh pyohio" | 16:38 |
aps-sids | mithro: yes | 16:39 |
mithro | aps-sids: whats your cssh version? | 16:39 |
aps-sids | Version: 4.00_11 | 16:42 |
mithro | hrm | 16:42 |
mithro | aps-sids: same version as me | 16:42 |
mithro | aps-sids: you sure you spelled pyohio right in both places? | 16:43 |
aps-sids | mithro: yes | 16:43 |
mithro | (the .clusters file and on the command line?) | 16:43 |
mithro | aps-sids: screenshot? | 16:43 |
aps-sids | http://i.imgur.com/rq7bOOm.png | 16:44 |
mithro | ahh figured it out | 16:46 |
aps-sids | mithro: should I ssh into four rooms seperately? | 16:46 |
mithro | you also need a ~/.csshrc | 16:46 |
mithro | $ more ~/.csshrc | 16:46 |
mithro | extra_cluster_file = ~/.clusters | 16:46 |
mithro | aps-sids: that fix it? | 16:48 |
aps-sids | aps-sids: yeah | 16:48 |
aps-sids | mithro: but permission denied | 16:49 |
mithro | oh | 16:49 |
mithro | you want a | 16:49 |
mithro | Host *.timvideos.us | 16:49 |
mithro | User ubuntu | 16:49 |
mithro | in your ~/.ssh/config | 16:50 |
aps-sids | mithro: all four logged in | 16:51 |
mithro | yay! | 16:51 |
mithro | okay, now you want to do a "tmux attach" | 16:51 |
mithro | you should now see a bunch of terminals | 16:52 |
mithro | you can change by using ctrl-a <number> | 16:52 |
aps-sids | mithro: where should I do tmux attach? | 16:52 |
mithro | aps-sids: what do you mean? | 16:52 |
mithro | aps-sids: you type it into the cssh text box and it should appear in every terminal | 16:53 |
aps-sids | mithro: there was lag, so I though its not working | 16:53 |
mithro | aps-sids: if you click on an individual window, typing only goes to that window | 16:54 |
mithro | there is also the "hosts" menu which lets you toggle each one off/on from getting the text from the cssh window | 16:54 |
mithro | aps-sids: where you able to attach? | 16:55 |
aps-sids | no | 16:57 |
aps-sids | Its hung, I'm going to ressh | 16:57 |
mithro | okay | 16:58 |
mithro | any luck? | 17:01 |
aps-sids | nope | 17:01 |
aps-sids | giving screenshot | 17:02 |
aps-sids | http://i.imgur.com/Z4efiqd.png | 17:02 |
mithro | aps-sids: oh | 17:02 |
mithro | I forgot | 17:03 |
mithro | it auto-tmux attaches on those machines | 17:03 |
mithro | so you've attached tmux inside tmux | 17:03 |
aps-sids | ah | 17:04 |
aps-sids | btw do we really need to attach? cssh does the work | 17:05 |
mithro | aps-sids: we use tmux so the commands keep running if the connect drops | 17:06 |
aps-sids | oh | 17:06 |
mithro | aps-sids: on the encoders tmux attach happens as part of the login | 17:06 |
mithro | aps-sids: disconnect and connect again | 17:07 |
mithro | aps-sids: you should be looking at the 4th terminal | 17:09 |
mithro | if you ctrl-a 1 you'll see the watchdog | 17:09 |
mithro | aps-sids: able to see that? | 17:11 |
mithro | it should have some scrolling green text | 17:12 |
mithro | aps-sids: ? | 17:14 |
aps-sids | mithro: I'm at watchdog, but no text | 17:15 |
mithro | producer-src (at 16:57:48) in happy for 1077s (e 0.00%) | 17:15 |
mithro | you should see something like that? | 17:16 |
aps-sids | mithro: yeah, I see now | 17:16 |
mithro | aps-sids: so you've looked at our configs right? | 17:17 |
aps-sids | mithro: yes | 17:17 |
mithro | aps-sids: so you should notice that each one of thoses names matches a flumotion component | 17:17 |
mithro | aps-sids: the watchdog will restart any individual component which goes out of the happy state | 17:17 |
aps-sids | oh | 17:17 |
mithro | aps-sids: it's the same as clicking the start/stop buttons in the flumotion-admin interface | 17:18 |
mithro | aps-sids: if things go poorly, it will restart the whole of flumotion using "service flumotion stop; sleep 5; service flumotion start" | 17:18 |
mithro | and then exit | 17:18 |
mithro | that is why we run the watchdog in a while loop | 17:18 |
aps-sids | okay | 17:19 |
mithro | aps-sids: but sometimes it gets confused | 17:20 |
mithro | aps-sids: so you need to stop it | 17:20 |
mithro | aps-sids: to do that, hit ctrl z, and then kill %1 (or %2) | 17:20 |
mithro | then fg | 17:20 |
mithro | aps-sids: you want to give that a try? | 17:21 |
aps-sids | mithro: sure | 17:21 |
aps-sids | what does fg mean/do? | 17:21 |
mithro | fg brings something you put into the background to the foreground | 17:23 |
mithro | fg == forground | 17:23 |
mithro | after you kill something | 17:23 |
mithro | sometimes you need to bring it back to the foreground for it to finish exiting properly | 17:23 |
mithro | aps-sids: you can type "jobs" to see what is running in the background | 17:25 |
aps-sids | mithro: I killed it using %1 | 17:26 |
mithro | when you background it | 17:26 |
aps-sids | now jobs give nothing | 17:26 |
mithro | it will way something like | 17:26 |
mithro | [1]: xxxxx | 17:26 |
mithro | or [2]: xxxx | 17:26 |
aps-sids | okay | 17:26 |
mithro | it would only do [2] if someone forgot to kill/cleanup a task | 17:26 |
mithro | aps-sids: so now you want to run the manager in a loop | 17:26 |
aps-sids | yeah | 17:27 |
mithro | aps-sids: if you press up a couple of times you'll see the command I used | 17:27 |
aps-sids | okay, so we need fg only if we kill a %2 job? | 17:27 |
mithro | $ jobs | 17:29 |
mithro | [2]- Terminated sleep 10 | 17:29 |
aps-sids | and I see the watchdog cmd | 17:29 |
mithro | see the above | 17:29 |
mithro | means we need to fg the command before it'll go away from jobs | 17:29 |
aps-sids | oh | 17:29 |
mithro | aps-sids: so, just run it and it should start scrolling like the other ones again | 17:30 |
aps-sids | yeah, did | 17:30 |
mithro | aweseome | 17:31 |
mithro | you should be familiar with the the -m xxxxx part of the command line, same thing you give to other flumotion commands | 17:31 |
mithro | aps-sids: so you go to the second window/terminal you'll see the register command | 17:32 |
*** mparuszewski has quit IRC | 17:32 | |
mithro | aps-sids: this is the command which reads from flumotion and sends a ping to the website | 17:32 |
aps-sids | okay | 17:33 |
mithro | aps-sids: it also runs in a loop | 17:33 |
mithro | aps-sids: because if flumotion dies (such as the watchdog restarting it) then the command exits | 17:33 |
mithro | aps-sids: so you should switch them all to the 2nd terminal with "ctrl-a 2" | 17:35 |
aps-sids | yeah, I'm trying that. its not witching | 17:35 |
aps-sids | switching | 17:36 |
mithro | aps-sids: you hit "ctrl a", then lift up, then 2 | 17:37 |
aps-sids | ah | 17:37 |
aps-sids | okay. 0 clients, bitrate <some_value> | 17:38 |
mithro | aps-sids: yeah, nobody is connected at the moment | 17:38 |
mithro | aps-sids: you should have just seen one of the numbers go to 1 | 17:39 |
aps-sids | yeah, cartoon1. I know this functionality from flumotion on my pc. | 17:40 |
mithro | aps-sids: oh? | 17:40 |
mithro | aps-sids: so if a room isn't appearing on the front page of timvideos.us, it means the register command is not running | 17:41 |
mithro | aps-sids: the encoders which are registered with a room can be found at | 17:41 |
mithro | http://timvideos.us/tracker/cartoon1/stream.js | 17:41 |
aps-sids | okay | 17:42 |
mithro | aps-sids: so that is an encoder | 17:42 |
mithro | aps-sids: any questions? | 17:43 |
mithro | aps-sids: oh when you connect a new terminal will be created | 17:43 |
mithro | you can see the <4> terminal from when you connected | 17:43 |
mithro | you can get rid of it by changing to that terminal and doing a ctrl d | 17:43 |
aps-sids | okay. good so for. | 17:44 |
mithro | aps-sids: so carl set up a reverse ssh tunnel so we can access the collectors inside the venue | 17:44 |
aps-sids | s/for/far | 17:44 |
aps-sids | okay | 17:44 |
mithro | aps-sids: so you should be able to ssh to the info I just sent you | 17:46 |
mithro | aps-sids: unlike the encoders, you'll have to do a tmux attach once your sshed in | 17:46 |
aps-sids | I'm in. | 17:46 |
mithro | aps-sids: you see the green bar across the bottom? | 17:48 |
aps-sids | mithro: yes | 17:48 |
mithro | okay | 17:48 |
mithro | so the first terminal is where I have been running the "config pusher" on | 17:48 |
aps-sids | hmm | 17:48 |
mithro | the box you are connected to can push configs to both the encoder and all the other collectors, plus itself | 17:48 |
mithro | the config pusher just takes the templates, substitutes data from the config system and then scp's it to the right machine | 17:49 |
mithro | aps-sids: are you still connected to the encoders? | 17:50 |
aps-sids | yes | 17:50 |
mithro | aps-sids: take a look at cartoon2's watchdog | 17:50 |
aps-sids | mithro: yeah, It's trying to restart components | 17:51 |
mithro | https://www.irccloud.com/pastebin/0chobKs3 | 17:51 |
tpb | Title: Pastebin: 0chobKs3 | IRCCloud (at www.irccloud.com) | 17:51 |
mithro | so it show's you the history for the component | 17:52 |
mithro | so you can see how long it has been in each state | 17:52 |
aps-sids | hmm | 17:52 |
mithro | aps-sids: the component we care about the most on the encoder is the "producer-src" | 17:52 |
mithro | aps-sids: is that component is hungry it means it's not getting data from the collector | 17:53 |
mithro | aps-sids: which we can see here | 17:53 |
mithro | aps-sids: so we need to figure out what is going on with the collector | 17:53 |
mithro | aps-sids: encoders tend to look after themselves pretty well | 17:53 |
mithro | aps-sids: but collectors tend to be less reliable | 17:53 |
mithro | aps-sids: as they are onsite and have to deal with dvswitch and people and such | 17:54 |
aps-sids | okay | 17:54 |
mithro | aps-sids: so, we need to look at the collector | 17:54 |
mithro | aps-sids: but to be annoying, the tmux on the collectors uses ctrl b rather than ctrl a | 17:54 |
mithro | so you should switch to the terminal labeled cartoon2 | 17:55 |
aps-sids | mithro: thanks for telling that, I've been trying to figure out why ctrl-a 2 is not working :P | 17:55 |
mithro | aps-sids: yeah, ctrl-b is the "default" | 17:55 |
mithro | aps-sids: but my config setup uses ctrl-a like screen does | 17:55 |
mithro | aps-sids: notice how there are now two green bars along the bottom? | 17:56 |
aps-sids | its a tmux inside 1st terminal? | 17:56 |
mithro | aps-sids: that is because your connected to a different machine which is also running tmux | 17:56 |
mithro | aps-sids: so to send commands to tmux inside the tmux | 17:56 |
mithro | aps-sids: you do a ctrl-b ctrl-b <command> | 17:57 |
mithro | aps-sids: so you should change to cartoon2 | 17:57 |
aps-sids | okay | 17:57 |
mithro | and you can see that most of the components are hungry and the watchdog hasn't been able to fix it | 17:58 |
aps-sids | yeah | 17:58 |
mithro | aps-sids: so you should kill the watchdog and try restarting flumotion manually | 17:58 |
mithro | aps-sids: same process as on the encoders | 17:58 |
mithro | aps-sids: to restart flumotion; do a "service flumotion stop" then "service flumotion start" | 17:59 |
mithro | aps-sids: then restart the watchdog and see if things are happier | 18:00 |
aps-sids | doing that | 18:00 |
mithro | aps-sids: yeah, I can see :) | 18:01 |
mithro | aps-sids: yay, everything is happy again now | 18:01 |
aps-sids | sleep should be 30? | 18:01 |
mithro | aps-sids: as I've just discovered, 30 is probably too long but we can fix that later | 18:02 |
mithro | aps-sids: killing / starting the watchdog shouldn't have any negative effect on flumotion | 18:02 |
mithro | aps-sids: you should check the stream to see if it's up | 18:02 |
aps-sids | I think there's more lag in ssh for me due to bandwidth issues | 18:02 |
mithro | CarlFK: you need to boost the sound in cartoon2 | 18:03 |
mithro | aps-sids: it probably doesn't help streaming video :P | 18:04 |
CarlFK | mithro: okee dokee | 18:04 |
mithro | aps-sids: if you go and have a look at the encoder, you should see that it restarted itself without any issues | 18:05 |
CarlFK | are you still awake?! | 18:05 |
mithro | CarlFK: I'm teaching aps-sids to replace me :P | 18:05 |
CarlFK | yay! | 18:05 |
CarlFK | audio need boost in c2? | 18:05 |
CarlFK | c1 looks a little low based on dvswitch meeter | 18:06 |
mithro | CarlFK: actually the audio is fairly quiet in most rooms | 18:06 |
mithro | aps-sids: you should watch the talk in hays | 18:06 |
mithro | http://timvideos.us/hays | 18:06 |
tpb | Title: Streaming for Hays Cape (at timvideos.us) | 18:06 |
mithro | Watch your Python script with strace | 18:07 |
mithro | aps-sids: so, there are 2 pieces of the system left | 18:08 |
aps-sids | mithro: yeah, I was looking at that. Recordings will be available for these right? | 18:08 |
mithro | aps-sids: CarlFK will know | 18:08 |
CarlFK | yep | 18:08 |
aps-sids | awesome | 18:09 |
aps-sids | mithro: please continue | 18:09 |
CarlFK | ill go boost everyones volume | 18:09 |
CarlFK | bye! | 18:09 |
mithro | aps-sids: preview.timvideos.us is the next peice | 18:09 |
mithro | aps-sids: it's what provides the images on the frontpage at timvideos.us | 18:09 |
mithro | aps-sids: its just running the script at https://github.com/timvideos/streaming-system/blob/master/tools/preview/generate.sh | 18:10 |
tpb | Title: streaming-system/tools/preview/generate.sh at master · timvideos/streaming-system · GitHub (at github.com) | 18:10 |
mithro | aps-sids: inside tmux | 18:10 |
mithro | aps-sids: occasionally you need to kick it if the images are not being updated | 18:11 |
mithro | aps-sids: just ssh into it | 18:11 |
mithro | aps-sids: then kill it by ctrl-c | 18:11 |
mithro | aps-sids: then just run it again | 18:11 |
aps-sids | roger that | 18:12 |
mithro | aps-sids: it's quite simple | 18:12 |
mithro | aps-sids: the last thing is the actual website itself | 18:13 |
mithro | aps-sids: that is a lot more complicated | 18:13 |
mithro | aps-sids: but the basics is, ~ubuntu/streaming-system is the git repo where things are pulled from | 18:14 |
mithro | ~website/timvideos is the git repo of the website | 18:14 |
mithro | you use "sudo ./website/conf/setup.sh" to install any changes | 18:14 |
mithro | the tricky part is that config.private.json needs to be in ~website/timvideos/ for it to be deployed successfully | 18:15 |
aps-sids | and this should be done in "ssh timvideos.us" ? | 18:16 |
mithro | aps-sids: www.timvideos.us == timvideos.us | 18:16 |
mithro | I use www.timvideos.us to be less confused :) | 18:16 |
aps-sids | okay | 18:16 |
mithro | aps-sids: so the website is getting the title from the config.private.json file | 18:17 |
mithro | aps-sids: so you probably want to scp the file down to your machine | 18:18 |
aps-sids | okay | 18:19 |
mithro | aps-sids: edit it, then upload it again | 18:19 |
mithro | aps-sids: and run that "cd ~website/timvideos; sudo ./website/conf/setup.sh" | 18:19 |
mithro | aps-sids: you can look at my bash history in the tmux session to find interesting things | 18:20 |
mithro | aps-sids: if you check out the streaming-system git repo locally | 18:20 |
mithro | aps-sids: and then put the config.private.json in the top level directory | 18:20 |
mithro | you can run "python config.py" to find the output / merged config | 18:20 |
mithro | aps-sids: so, that was a brain dump on the whole system | 18:22 |
mithro | aps-sids: as you can see a lot of it is quite manual at the moment | 18:22 |
aps-sids | mithro: 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 |
mithro | aps-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 pusher | 18:23 |
mithro | aps-sids: then restart flumotion on each machine | 18:23 |
mithro | a) crtl-a ctrl-d | 18:24 |
mithro | (or ctrl-b ctrl-d) | 18:24 |
aps-sids | ah, c) how would I know that something is wrong with the setup and I need to fix? | 18:25 |
mithro | c) I leave the cssh running in another virtual desktop | 18:25 |
mithro | and just switch to it every now and then | 18:25 |
aps-sids | ok | 18:25 |
mithro | aps-sids: we don't have any alerting or anything | 18:25 |
aps-sids | Okay, so I'm going to try and add the title now | 18:27 |
mithro | aps-sids: http://timvideos.us/monitor is another useful URL | 18:27 |
tpb | Title: Stream Time for Linux.conf.au! (at timvideos.us) | 18:27 |
aps-sids | mithro: website title will go in default right? | 18:39 |
aps-sids | in config.private.json | 18:39 |
mithro | aps-sids: not sure | 18:39 |
aps-sids | okay, I'll look at django code | 18:39 |
aps-sids | mithro: yeah default only | 18:44 |
mithro | aps-sids: just about to push some small fixes | 18:46 |
*** tvCommitBot has joined #timvideos | 18:46 | |
tvCommitBot | [streaming-system] mithro pushed 3 new commits to master: http://git.io/rkkayA | 18:46 |
tvCommitBot | streaming-system/master 0e2dfd5 Tim 'mithro' Ansell: Fixing rss feeds on with pycon2internal | 18:46 |
tvCommitBot | streaming-system/master 8eb080b Tim 'mithro' Ansell: Adding missing imports needed by overall_stats_graphs. | 18:46 |
tvCommitBot | streaming-system/master 682dae9 Tim 'mithro' Ansell: Adding a bit more info to the urls.py | 18:46 |
*** tvCommitBot has left #timvideos | 18:46 | |
aps-sids | mithro: I was just about to mention that graphs should be higher in urls.py :) | 18:47 |
mithro | aps-sids: opps just ran www out of disk space! | 18:48 |
mithro | http://timvideos.us/graphs | 18:49 |
tpb | Title: Graphs (at timvideos.us) | 18:49 |
mithro | no idea why that is only showing 1 graph | 18:51 |
mithro | aps-sids: any questions before I head to bed? | 18:55 |
*** tvCommitBot has joined #timvideos | 18:55 | |
tvCommitBot | [streaming-system] mithro pushed 1 new commit to master: http://git.io/lu0JgQ | 18:55 |
tvCommitBot | streaming-system/master 0058cbf Tim 'mithro' Ansell: Hack to generate bot config lines for IRC channel announcements. | 18:55 |
*** tvCommitBot has left #timvideos | 18:55 | |
aps-sids | mithro: should I upload the updated config file? | 18:55 |
mithro | aps-sids: sure | 18:55 |
aps-sids | and did you make any changes to that now? | 18:56 |
mithro | aps-sids: nope | 18:56 |
mithro | the whole config.private.json thing needs to be shot | 18:56 |
aps-sids | mithro: okay, I'm going to run setup.sh now | 18:59 |
mithro | aps-sids: I'll stick around for this just incase things go poorly | 18:59 |
mithro | aps-sids: did you remeber to copy the config.private.json into the right place? | 18:59 |
*** Niharika has quit IRC | 19:00 | |
mithro | that scp command uploads it to ~ubuntu/streaming-system/ | 19:00 |
mithro | aps-sids: you need to run the command I just showed | 19:00 |
mithro | then do the setup.sh | 19:00 |
mithro | aps-sids fixed the title! | 19:04 |
mithro | CarlFK: ping? | 19:04 |
mithro | aps-sids: might be worth hanging out on the #pyohio channels | 19:06 |
aps-sids | mithro: You should sleep now and I would make notes about this tutorial and learn to use tmux properly. | 19:07 |
mithro | aps-sids: please put your notes somewhere | 19:08 |
mithro | https://github.com/timvideos/streaming-system/wiki | 19:08 |
tpb | <http://ln-s.net/-30s> (at github.com) | 19:08 |
mithro | aps-sids: barbie seems to be a black screen? | 19:10 |
mithro | aps-sids: that might be something to poke CarlFK about | 19:11 |
mithro | okay, I'm going to head to bed | 19:16 |
mithro | CarlFK: aps-sids has been given a tutorial on how to hit things with a stick | 19:17 |
mithro | CarlFK: direct requests at him | 19:17 |
mithro | CarlFK: feel free to advertise it a bit more | 19:17 |
*** CarlFK has quit IRC | 19:29 | |
*** CarlFK has joined #timvideos | 19:53 | |
*** ChanServ sets mode: +v CarlFK | 19:53 | |
aps-sids | CarlFK: barbie went hungry. Is the talk over? | 21:58 |
CarlFK | i think so | 21:58 |
CarlFK | yep - 1 hour of lioghtnitn talks now | 21:58 |
CarlFK | then sleeping | 21:58 |
aps-sids | CarlFK: ok, so should I let the watchdog run and keep trying to restart flumotion or stop it? | 21:59 |
CarlFK | yeah, let it run | 22:00 |
*** CarlFK has quit IRC | 22:23 | |
*** CarlFK has joined #timvideos | 22:23 | |
*** ChanServ sets mode: +v CarlFK | 22:23 | |
CarlFK | aps-sids: cartoon1 should be back up | 22:25 |
CarlFK | it went down, had to reboot he dvswitch box.. all back now | 22:26 |
aps-sids | CarlFK: its still hungry | 22:28 |
CarlFK | hmm... | 22:30 |
CarlFK | do you have an ssh connection to cnt3? | 22:30 |
aps-sids | yeah, I'm fixing that | 22:30 |
aps-sids | CarlFK: fixed | 22:32 |
CarlFK | yay | 22:36 |
aps-sids | CarlFK: Looks like its over for today. Anything else you need me to do before I head for bed? | 23:39 |
CarlFK | nope, thats it. yay | 23:42 |
aps-sids | Cool, good night. See you later. | 23:43 |
CarlFK | see ya | 23:43 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!