[15:12] <progre55> hey guys. I was setting up a node from a server installation cd, but after a restart falls to (initramfs) saying "Gave up waiting for root device. Common problems: .... etc"
[15:12] <progre55> any suggestions, please?
[16:31] <progre55> hi guys. when running an instance, I get these exceptions (http://pastie.org/1160744) on the node logs, and it terminates. Any suggestions please?
[16:33] <progre55> brb
[17:36] <veenenen> Are there any tools built into cloud-utils to unboot an image for pushing it to ec2?
[17:40] <smoser> veenenen, no.
[17:40] <smoser> as much as i hate un-booting, i'd be open to such a thing
[17:40] <smoser> if you wanted to contribute :)
[17:41] <veenenen> Once I get this all working, I'd be happy to contribute it back
[18:43] <Ankit> hello all
[18:44] <Ankit> guys can u just provide me a full documentation of ubuntu cloud so that i can understand it fully
[18:44] <Ankit> plz help me...
[18:47] <Crazy> hello everone
[18:48] <Crazy> I am using ubuntu cloud for setting up the cloud at my college... but didnt knw hw to move further...
[18:48] <Crazy> i have just installed the server...
[18:49] <Crazy> plz help me this is my project... plz help
[18:51] <smoser> Crazy, did you think people were just ignoring you because of your name ? :)
[18:51] <smoser> have you looked at https://help.ubuntu.com/community/UEC ?
[18:51] <smoser> the easiest way to get up and running is to do the uec install from the cd
[18:51] <Crazy> hmm ya bro i have looked at it
[18:52] <Crazy> ya i have installed that succesfully
[18:52] <smoser> so what do you need?
[18:52] <Crazy> bt pbm is how i put my software in the cloud
[18:52] <Crazy> suppose i have to put adobe photoshop there
[18:53] <smoser> well, it all starts by getting an AMI (amazon machine image) (or emi) up
[18:54] <Crazy> how smoser?
[18:54] <smoser> the easiest way to get one is probably from the UEC store (i think there is a store tab in the UEC ui)
[18:54] <smoser> install the lucid ubuntu ami
[18:54] <smoser> alternatively
[18:55] <smoser> download from http://uec-images.ubuntu.com/releases/lucid/release/
[18:55] <smoser> and use 'uec-publish-tarball' on ubuntu-10.04-server-uec-amd64.tar.gz  or ubuntu-10.04-server-uec-i386.tar.gz
[18:55] <Crazy> ok thanks... but do you have any proper documantation so that i can learn from my own
[18:57] <Crazy> plz smoser u look to me the most helping person here...
[18:58] <Crazy> should i really change my name, does people here help by seeing there names
[18:59] <smoser> https://help.ubuntu.com/community/UEC/CDInstall steps you through most of that.
[18:59] <smoser> up to getting an image
[18:59] <smoser> (i was only joking. you were here as Ankit and then left and came back as Crazy)
[19:04] <Crazy> hmmm okz bro...
[19:04] <Crazy> ya bro may i discuss further wd you
[19:04] <Crazy> what i have done till yet
[19:04] <Crazy> srry for my poor grammar
[19:06] <smoser> i'm sorry, but i really can't spend much time trouble shooting here today.
[19:07] <Crazy> ok smoser thanks for helping me... i will download that image and come back if any pbm will be there, thanks... bro it was my first time on IRC so dnt knw hw to go on...
[19:07] <Crazy> bye
[19:49] <veenenen> It worked! Local kvm vm to live ec2 vm.
[20:34] <smoser> veenenen, wow!
[20:34] <smoser> dude!
[20:34] <smoser> that rocks
[20:34] <smoser> you used the maverick stuff i pointed you at ?
[20:35] <smoser> i'm very interested in details
[21:00] <veenenen> After I stopped trying to get fancy, all I had to do was start up the original image, add my ssh key and turn off text passwords. Then just did a standard shutdown. After that I mounted the img to the host and changed the fstab to the regular ec2 fstab. Used ec2-bundle-image (I had to remember to use the ext4 friendly kernel), ec2-upload-bundle, and ec2-register to wrap up the image and push it to ec2. After that, I just launched it and tada it worked
[21:04] <smoser> so why, then, did you ahve to boot it at all ?
[21:04] <smoser> and i dont know that you would have had to change fstab
[21:04] <smoser> this is if you started from a  maverick image
[21:05] <veenenen> I just wanted to make sure it could be booted on kvm
[21:06] <veenenen> Ideally, I'd run the run the server locally to test it, and then when everything is working right, I'd shut it down and push it out.
[21:06] <veenenen> So, while I didn't need to start it up now, I will in the future.
[21:06] <smoser> right. i understand your general interest.
[21:06] <smoser> ok.
[21:06] <smoser> you shouldn't have to mount the image in the host to change the fstab though
[21:06] <smoser> you were using maverick ?
[21:07] <veenenen> yeah
[21:07] <smoser> in general, you'll always want to use the same kernel that the registered image on ec2 works with
[21:07] <smoser> for maverick images, that "kernel" is pv-grub
[21:07] <veenenen> I'm using the one that's currently being used by the 32bit maverick ami
[21:08] <veenenen> I'll have to switch it out tomorrow after the kernel updates are done.
[21:09] <veenenen> Most of the time I'll have the image running, so I just want the fstab switched out when I'm pushing it. I'm just going to make the mount part of the push script.
[21:13] <smoser> veenenen, so the maverick amis wont change
[21:13] <smoser> the kernel is loaded from inside the image
[21:13] <veenenen> oh, sweet
[21:13] <smoser> via pv-grub on ec2, and via that floppy on your local boot
[21:13] <veenenen> that's perfect
[21:13] <smoser> (and it can be done via a floppy based loader on 10.10 UEC)
[21:13] <smoser> what did you change in the /etc/fstab ?
[21:14] <smoser> (you should still look at what aki was used for a given ami, but it is not going to change each time there is a new ubuntu kernel, it would only change if amazon released a new pv-grub, and we needed that)
[21:15] <veenenen> http://paste.ubuntu.com/494395/
[21:16] <veenenen> I just grabbed the fstab of one of my instances on ec2
[21:16] <smoser> you shouldn't need to do that.
[21:17] <smoser> cloud-init will write those ephemeral entries to fstab for you
[21:17] <smoser> in fact, you *dont want* to do that
[21:17] <smoser> lest you run into a bug like bug 634102
[21:18] <_mup_> Bug #634102: t1.micro EC2 instances hang on reboot <server-mrs> <cloud-init (Ubuntu):Fix Released by smoser> <cloud-init (Ubuntu Lucid):Triaged> <cloud-init (Ubuntu Maverick):Fix Released by smoser> <https://launchpad.net/bugs/634102>
[21:18] <_mup_> Bug #634102: t1.micro EC2 instances hang on reboot <server-mrs> <cloud-init (Ubuntu):Fix Released by smoser> <cloud-init (Ubuntu Lucid):Triaged> <cloud-init (Ubuntu Maverick):Fix Released by smoser> <https://launchpad.net/bugs/634102>
[21:18] <_mup_> Bug #634102: t1.micro EC2 instances hang on reboot <server-mrs> <cloud-init (Ubuntu):Fix Released by smoser> <cloud-init (Ubuntu Lucid):Triaged> <cloud-init (Ubuntu Maverick):Fix Released by smoser> <https://launchpad.net/bugs/634102>
[21:18] <_mup_> Bug #634102: t1.micro EC2 instances hang on reboot <server-mrs> <cloud-init (Ubuntu):Fix Released by smoser> <cloud-init (Ubuntu Lucid):Triaged> <cloud-init (Ubuntu Maverick):Fix Released by smoser> <https://launchpad.net/bugs/634102>
[21:18] <smoser> _mup_, uvirtbot, FIGHT!
[21:18] <smoser> someone needs to stop that
[21:18] <veenenen> haha
[21:19] <veenenen> do I run cloud-init on the img from the host before I start pushing the image to amazon?
[21:19] <veenenen> or when the guest is shutting down should it already be adding those?
[21:20] <veenenen> I just know the image wasn't booting on amazon until I changed the fstab
[21:21] <veenenen> and the error said something about sda1
[21:22] <smoser> cloud-init runs "once per instance" based on the instance-id
[21:22] <smoser> hm..
[21:22] <smoser> hm..
[21:22] <smoser> you'r eprobalby right....
[21:23] <smoser> but uncloud-init or cloud-init should not modify /etc/fstab like that
[21:23] <smoser> oh wait, maybe... you might have more luck with a newer image. i made a fix for that bug recently in maverick (monday or so)
[21:24] <veenenen> I grabbed the image today
[21:24] <veenenen> What's cloud-init written in?
[21:24] <veenenen> programming language-wise
[21:28] <smoser> python
[21:29] <smoser> uncloud-init is even more hacky, its written in shell
[21:43] <veenenen> Alright, I'll dig in and see what's going wrong sometime this week.
[21:47] <smoser> veenenen, thanks.
[21:47] <smoser> and i am very interested in your findings.
[21:47] <smoser> i really would like to have a generally functional "download image, boot in kvm, customize, push to ec2" path