=== dendro-afk is now known as dendrobates [01:55] Im interested in ubuntu cloud, but it seems almost as if there isn't basic information availible about how it works. I imagine UEC takes the place of say VMWare? But what about storage clustering, does it do that sort of stuff too, or do you need a SAN? is there anywhere i can read up on the basics? [01:56] is there a v-motion sort of feature for high availability? [02:47] tsarles: check out walrus [02:47] I'm super new to cloud as well, but it seems like walrus takes care of that side [03:04] ok, so firing up elastic fox to try to connect to my cloud, I'm unable to add the cluster controller [03:04] looking in cloud-error.log I've got NoAcceptingPipelineException [03:04] do I need to set up / start some sort of service on the cloud side to handle the WS interface? [03:21] hmm, on another angle that's possibly related, I am trying to run these things on a network that already has a DHCP server that I have no access to [03:22] from what I can tell (euca-describe-instances) it's trying to do something with 179.19.1.2 however nothing on the network has that IP address [03:22] I notice the CC has 179.19.1.1 on its interface [03:22] so I'm guessing that's something to do with the --addressing private that the instructions told me to use [03:52] hi all... i'm having trouble creating a volume with euca-create-volume... it returns "creating", but after i run euca-describe-volumes see "Failed" the first time, then "Deleted" [03:56] I get this each time in /var/log/eucalyptus/cloud-error.log: 03:53:54 [BlockStorage:pool-10-thread-2] ERROR com.eucalyptus.util.EucalyptusCloudException: Could not export AoE device /dev/vg-EnZbTA../lv-hkAQIA.. iface: eth0 pid: 3181 returnValue: [03:59] nm, i noticed the error said eth0; i've configured the network using eth1.. i changed it in the web interface under configuration and it works perfectly now :) [04:02] so if I'm running my cloud behind a proxy, is there any way for the "store" tab on the web interface to work? [04:02] like for downloading images etc? [05:47] I should be able to ssh into a VM instance running within the cloud from outside the cloud shouldn't I [05:47] it seems I can ping it from the cluster controller but not from another computer on the same network [09:49] theTrav: configure security groups correctly for the instance === Kiall|AFK is now known as kiall === TeTeT_ is now known as TeTeT === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [13:42] smoser: I just pushed a post on the ec2 ebs migration tool we talked about http://foss-boss.blogspot.com/2011/01/hack-on-ubuntu-cloud-utils.html [14:07] superxgl: Hi .. did you just email ubuntu-cloud mailing list asking to join ? [14:08] superxgl: You can join using https://lists.ubuntu.com/mailman/listinfo/Ubuntu-cloud === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [15:20] cool, and ubuntu-cloud channel [15:22] gtaylor: hey :) [15:22] I've been hanging out in ubuntu-server, for lack of a better idea [15:22] gtaylor: i.e. you didn't know this existed ? [15:22] kim0: Correct [15:23] hi people [15:23] hmm .. ok .. I need to spam at more places then :) [15:23] gsa1: howdy [15:23] kim0: Which is bad, because I've been building a fairly complicated piece of software on top of Ubuntu's EC2 image :) [15:23] kim0: Hi Ahmed [15:23] gtaylor: Yeah, someone like you ought to have heard about this channel [15:24] gsa1: hey there [15:24] gsa1: did we meet before ? [15:24] kim0: A link here would be helpful: https://help.ubuntu.com/community/EC2StartersGuide [15:24] kim0: Today I sent you a mail about contributions and so (with Pharo :) ) [15:25] gsa1: a ha .. Welcome German [15:25] gtaylor: Are you working on the guide itself ?! [15:25] kim0: No, just suggesting that as a place to add an IRC link [15:25] Thanks! [15:25] ah got it [15:32] gsa1: ping .. I'm trying to pm you [15:33] kim0: sorry, just was responding your mail [15:33] no problemo === gtaylor_ is now known as gtaylor === andreserl is now known as RoAkSoAx === nwl2110 is now known as sark2110 === sark2110 is now known as sark [18:04] gtaylor: Hi there [18:04] You mentioned you were working on a major project involving Ubuntu and the cloud [18:04] kim0: Hello [18:04] kim0: Yes, an open source distributed encoding system. [18:04] I'm interested to learn more about that ? [18:04] kim0: Cloud-init is/was a critical part of that. [18:05] I'm even more interested now :) [18:05] encoding as in video encoding? [18:06] kim0: Video encoding is the first target, but there's no reason it couldn't do audio support with the addition of a class for that. [18:06] kim0: http://duointeractive.github.com/media-nommer/ [18:07] It's "working" already, but it's in the early going and I'm in doc writing and testing mode. [18:08] gtaylor: so encoding a "movie" works (at least sometimes) ? [18:08] kim0: Sure [18:08] huh [18:08] that sounds awesome! [18:08] kim0: It's just ffmpeg [18:08] I know .. but all the magic is in the glue :) [18:08] kim0: Though you can use other encoders if you wanted. [18:09] Yeah, it's been a really interesting project [18:09] It's basically re-implementing something like encoding.com [18:09] (without having to pay their markups) [18:10] can I implement various workload handlers (mogrify for images, pdf2ps for pdf ...) ? [18:10] kim0: Yep, they're called "Nommers" :) [18:11] To give you an idea, here's the FFmpeg nommer: https://github.com/duointeractive/media-nommer/blob/master/media_nommer/ec2nommerd/nommers/ec2_ffmpeg/nommer.py [18:11] Most of that is just assembling command line options. It has very little front-facing complexity there. [18:11] * kim0 reading [18:12] Base class does the file-like object shuffling: https://github.com/duointeractive/media-nommer/blob/master/media_nommer/ec2nommerd/nommers/base_nommer.py [18:14] I was about to start a similar project [18:14] was gonna call it cloud-crunch [18:14] It's quite the undertaking [18:14] it's quite cool :) [18:14] It'd be easier if I had a bunch of local hardware, I'd just use something like celery. But we don't want to deal with our own hardware anymore. [18:15] And Amazon AWS is really starting to kick its way into awesomeness [18:16] any reason why you'd want to use celery over SQS [18:17] We've had great success with it in the past. It's a great way to distribute tasks and track task state over an arbitrarily sized pool of workers. And it's fast and Python :) [18:17] But in this usage case, we were bent on using EC2 to have a very large amount of scalability. We also didn't want the master daemon and the encoder daemons talking directly, which ruled out celery. [18:18] Didn't want to have to open firewall holes on either side. [18:18] Didn't want to tunnel or VPN. [18:18] So Amazon SQS + SimpleDB it is :) [18:19] why couldn't you run your master daemon with celery on ec2 as well ? === dendrobates is now known as dendro-afk [18:19] Our web app wouldn't be able to query the master daemon without opening a hole on the EC2 side [18:20] Right now, I can run the master daemon on our existing hardware and our web apps can send things to media-nommer's JSON web API [18:20] Plus we didn't want $15/month to go down the hole for us and our users just for running a daemon that doesn't even come close to utilizing a full EC2 instance (even a micro) === dendro-afk is now known as dendrobates [18:21] ah makes sense [18:21] Makes things slightly more complicated, but it's also a _lot_ more failure tolerant now. [18:22] If your master daemon goes down, any current jobs are still on Amazon and are still encoded. Work will continue until the queue is emptied, and after that the EC2 instances will terminate themselves automatically after a period of inactivity. [18:22] cronjob ? [18:22] for what? [18:22] auto-terminating they self :) [18:22] thy* [18:23] Each EC2 instance runs a daemon that handles picking jobs off the queue, and "contemplating further existence" [18:23] a ha [18:23] So the daemon will run a configurable number of encoding processes at a time, and only persist up until a configurable point of idle time. [18:23] I have them defaulting to 15 minutes of activity results in termination right now, IIRC. [18:24] sounds great [18:25] gtaylor: you're building this system for an online commercial website right [18:25] kim0: We've got two clients that need it, both of them very different. [18:26] gtaylor: I'm interested why did you choose ubuntu as a platform :) did you consider others [18:27] kim0: We use it extensively in our work, and I really liked cloud-init. I didn't want any users of media-nommer having to set up their own AMI if they don't want to. Configuration right now involves setting three config values and starting a daemon, that's all. [18:27] We created an AMI from Ubuntu's EC2 ones, customized it very lightly, and gave it a way to update itself and stat encoding on boot. Users can use our public AMI without modification because of cloud-init. [18:28] I wonder you had to create a custom AMI .. why not everything thru cloud-init [18:28] My cloud-init chops aren't that great yet. [18:29] I sure would love it, and it's not a difficult thing to add down the line if a cloud-init rockstar came along and did so, I just didn't have the time budgeted to figure it out. Made a weak attempt but failed. [18:30] what things would cloud-init need to do in that case [18:31] install supervisor or an upstart job for the master process, automatically use a virtualenv and pip to update media-nommer if restarted, and automatically set the correct AWS credentials on instantiation (already does that). I also mounted /tmp as ephemeral storage, and needed to chmod 777 /tmp on each reboot, for some reason. [18:31] Nothing overly complex, but the order in which things run is important. [18:32] yeah .. you know with cloud-init you can just run an arbitrary shell script [18:32] yep [18:33] gtaylor: Would you mind if I turn that chat into an interview article with yourself [18:33] kim0: Not at all, go for it [18:34] sounds good! [18:34] kim0: What site are you with? [18:34] gtaylor: can u pm me your email so I can share a google doc with you [18:35] gtaylor: I'm working with canonical caring for the ubuntu cloud community [18:35] Very cool, I keep an eye on the Ubuntu Cloud Blog [18:36] Might wanna follow planet ubuntu cloud [18:36] http://cloud.ubuntu.com/planet/ [18:36] Ah, I missed that one [18:40] gtaylor: thanks for all the info man .. I'll share some doc with you, and perhaps asking for some missing pieces [18:40] kim0: Sure, feel free to email or ping me on here if there's anything else. [18:40] gtaylor: actually, I have a last question. Since you were contracted for this work, why did you decide to open source it [18:42] kim0: I work for a very small contracting company with some great clients. Our philosophy is we're working on a general purpose tool that we don't anticipate to directly profit from, it might as well be open sourced so others may use it, and hopefully contribute back to make it better for all. [18:42] We've got a decent public portfolio in the works on GitHub: https://github.com/duointeractive [18:43] does look good indeed :) [18:43] congrats [18:44] Thanks, it's a pleasure to be able to blend hobby and work with open source software. [18:44] yep, you're lucky hehe [18:45] Stark contrast to the corporate environment I came from. [18:45] Are you saying corp devs hate their code :) [18:46] Well, my former employer was starkly opposed to distributing or using open source. Which is a bummer for someone who really gets his jollies from writing and improving open source software :) [18:46] "If it's Open Source, it must be buggy and of inferior quality!" [18:47] "Instead, we'll pay some contractors to re-invent the wheel for thousands of dollars. Even though we could just use something that already exists." [18:47] hehhe :( [18:47] sigh .. I've seen a couple of those [18:47] I get the impression that many other experience similar problems with their management. But it does sound like things are slowly improving. [18:48] The funny thing is/was, one of the managers was a complete Apple fanboy. Never mind the fact that his Mac has tons of great software with roots or involvement in open source. [18:49] CUPS, gcc, their X.org port, bash, python, ruby, lots more [18:53] gtaylor: but if it runs on Steves boxes, it all becomes shiny man [18:53] heh, yes indeed [18:53] hehe :) === gtaylor is now known as gtaylor_afk === gtaylor_afk is now known as gtaylor === kiall is now known as kiall|AFK [20:22] hi, I have a bit of a noob question... [20:22] I have an Ubuntu instance on EC2 [20:24] I don't like running with as the ubuntu user so I added my own user, but I can't use my EC2 keypair with the new user after copying the authorized_keys from the ubuntu user's homedir to my users .ssh/authorized_keys file and setting the perms [20:24] nor can I use my own regular SSH key which is on my laptop [20:25] just get Permission denied (publickey) in each case [20:25] can anybody tell me what is stopping it working, I can't find anything in /etc/sshd_config which is different from any other Ubuntu/Debian install [20:26] adamsweet: shooting in the dark .. but could you add your new user to the same groups as user ubuntu (id -a ubuntu) ? [20:28] kim0: group memberships for my user and the ubuntu user are the same except for the primary group, but I can try adding my user to the ubuntu groups as a shot in the dark [20:29] I did also enable password logins but I still get the above error when attempting to SSH as my own user without specifying a keyfile [20:30] hmm [20:30] kim0, no adding user to ubuntu group didn't help [20:30] :) [20:30] adamsweet: can you try visudo and adding the new user [20:31] I suspect I might misunderstand what the .pem file is and how it is used maybe [20:31] adamsweet: yeah! [20:31] I hope you didn't just add that [20:31] new user is has already been set up for sudo [20:32] are you with putty on windows [20:32] no [20:33] gnome-terminal on Ubuntu [20:33] what is the pem you mention [20:33] I'm a competent Linux user but a bit of a cloud novice [20:33] my keypair generated in the ec2 interface [20:35] could you su to the new user. And paste the output of ls -ld ~/.ssh ; ls -l ~/.ssh ; cat ~/.ssh/authorized_keys [20:38] there's obviously a bit of config somewhere which says 'Don't let anyone log in using SSH unless it's the ubuntu user and they have they this keyfile' [20:39] drwx------ 2 adam adam 4096 2011-01-19 20:08 /home/adam/.ssh [20:39] total 0 [20:39] -rw------- 1 adam adam 0 2011-01-19 20:08 authorized_keys [20:39] um, well paste doesn't really paste right here :) next time please use paste.ubuntu.com [20:39] really mean* [20:40] ahh ok [20:40] but I kinda halfway fixed the problem [20:41] cool .. what did you find [20:42] the ownerships on the authorized_keys file were root:root so I fixed that, must have been a leftover from some messing around I did while trying to figure it out [20:42] but my own personal SSH key still wouldn't work so I catted ubuntu's authorized_keys file into my own and now I can SSH in using the amazon generated keypair [20:43] so I'm halfway there [20:43] aha [20:43] the ideal scenario is that individual users would be able to SSH in using their own keys, but I guess that's only a step away from here [20:43] it should work [20:44] adamsweet: I mean if it works with one key .. it should work with the other [20:44] thanks, sometimes somebody else's brain cycles expose mistakes that I overlooked [20:44] yeah, it's always the simple stuff first :) [20:45] aha, and I'm in using my own key [20:45] woohoo [20:45] forgot to restart ssh :( [20:45] am rusty :) [20:46] and stupid [20:46] do you actually need to do that for adding a new user! [20:46] thanks man [20:46] no but I was testing ssh-copy-id [20:46] you enabled password logins ? [20:46] I can turn them off now [20:46] yeah [20:47] done [20:47] well now I know what I was doing wrong in the first place (authorized_keys ownerships) I can just paste my public key into place [20:47] thanks :) [20:48] yipee [20:48] np [20:49] I thought there was some config somewhere which was refusing logins without the ec2 generated key but couldn't find it [20:49] note to self: check the simple things first [20:51] yeah hehe === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [22:41] ok, so I've found SQS on amazon [22:41] I'm wondering if the ubuntu enterprise cloud has an equivalent [22:53] theTrav: don't think so === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [23:30] flaccid: thanks [23:30] from reading the wiki page it looks like it's a bit to laggy anyway (2-10 seconds per message wtf?) === dendrobates is now known as dendro-afk