#ubuntu-cloud 2011-06-06
<lool> hey there
<lool> I vaguely remember seeing an Ubuntu Server project parsing the data from uec-images.ubuntu.com in Python to find the latest AMI id
<lool> would someone mind refreshing my memory on where this lives?
<lool> ideally, in packaged python bindings   :-)
<lool> ah maybe testdrive
<daker> lool, http://uec-images.ubuntu.com/query/released.latest.txt
<daker> here is the code used on http://cloud.ubuntu.com/ami http://bazaar.launchpad.net/~kim0/+junk/cloudubuntu/view/head:/amilocator/views.py#L29
<kim0> daker: thanks :)
<daker> yw
<lool> daker: thanks!
<smoser> erichammond, you do not have your debian squeeze amis in your ami table
<smoser> oh wait, now i see they're very old
<erichammond> smoser: I don't think the Alestic squeeze AMIs can be upgraded in place without breaking them, so I removed them from the table.
<erichammond> They were using the old Amazon kernels which caused incompatibilities with modern Debian.
<smoser> do you know http://thecloudmarket.com/search?search_term=debian-6.0-squeeze-base+20110426
<smoser> at all ?
<erichammond> http://groups.google.com/group/ec2debian/search?q=heady&start=0&scoring=d
<erichammond> RightScale has also been working on publishing Debian AMIs.
<erichammond> flaccid: ^^^
<smoser> thanks erichammond
<erichammond> smoser: I haven't seen a clear Debian AMI winner yet, but have posted some of my criteria for judging this here: http://groups.google.com/group/ec2debian/msg/8f12b422f881dbaa
<erichammond> off to the office across town.
<flaccid> erichammond: they were published quite a while ago
<flaccid> erichammond: i have had no time to publicise it or respond to your post
#ubuntu-cloud 2011-06-08
<maahes> is it possible to check out UEC on a thumb drive?
<maahes> ping?
 * flaccid yawns
<maahes> restate question since I got booted: is there like a live usb version of UEC?
<flaccid> maahes: well you can run ubuntu from usb so no need for a diff version
<maahes> flaccid: well what I mean, is I was looking at the documentation for UEC and it said 40gb minimum.
<maahes> and I have her...a 4gb flash drive.
<flaccid> that may not be enough, give it a go..
<whytehorse> Is this the appropriate channel to find help with Ubuntu on Amazon cloud?
<smw> whytehorse, yes.
<smw> whytehorse, although, you were probably looking for a second opinion :-P
<smw> whytehorse, the topic should give you a good idea of the topic of the channel.
<whytehorse> great! I am having a lot of probs with amazon, specifically creating an ami... I tried the instructions from ubuntu but it fails with some error about the kernel is not available
<smw> whytehorse, how are you trying to make the AMI? Are you basing it off a previous AMI?
<whytehorse> I downloaded the image from ubuntu for uec 10.04
<whytehorse> then I bundle it, upload, register, etc
<flaccid> make sure you are specifying the correctiong --region
<flaccid> us-east-1 is default
<whytehorse> my bucket is on us-east-1
<whytehorse> I mean I can complete the process and launch an instance but it crashes because it's loading the worng kernel... so I tried to specify the vmlinuz kernel and amazon doesn't like that
<smw> whytehorse, do you have an error message?
<smw> whytehorse, a link to the instructions you are following?
<whytehorse> yes, libudev: udev_monitor_new_from_netlink: error getting socket: Invalid argument
<whytehorse> mountall:mountall.c:3204: Assertion failed in main: udev_monitor = udev_monitor_new_from_netlink (udev, "udev")
<whytehorse> init: mountall main process (693) killed by ABRT signal
<flaccid> you either use a published AKI or a pvgrub AKI if your AMI is designed for grub boot
<whytehorse> I am concerned that the published aki are old fedora kernels, is that true?
<flaccid> the ones amazon publishes are
<flaccid> fc8 usually
<flaccid> you do know what ubuntu publishes official AMIs ?
<whytehorse> yes, we tried some of those but they have issues with init consuming 300mb ram
<flaccid> ubuntu/cloud has a bug tracker
<whytehorse> the RightImage ones I think
<flaccid> thats RightScale, not official ubuntu/canonical
<smw> whytehorse, cloud.ubuntu.com/ami
<smw> whytehorse, those are official.
<flaccid> whytehorse: what was the AMI id you used for the RightImage? i can see if this is a currently supported image
<whytehorse> RightImage_Ubuntu_10.04_i386_v5.5.9.1_EBS (ami-0c4ca665)
<flaccid> whytehorse: that image is deprecated. for the latest RightImages, please see http://support.rightscale.com/18-Release_Notes/OS_and_Software_Package_Support#RightScale_MultiCloud_Images and http://oss.rightscale.me/
<whytehorse> It WORKED!!! Sweet!
<whytehorse> thank you!!!
<whytehorse> haha I got kernel 2.6.32 :0
<flaccid> using the latest/current images is a general rule of thumb in the cloud
<whytehorse> am I stuck with this kernel forever or can I set up a server which updates the kernel through apt?
<flaccid> if it is pv grub, you can install whatever linux-image and reboot
<flaccid> if its not a pvgrub aki, you can't do any kernel changes
<whytehorse> oic... which one is a pvgrub aki? It doesn't tell me on that site you gave
<flaccid> there are many
<whytehorse> is ubuntu just using the fedora kernel?
<flaccid> no, the latest/natty should be using pvgrub and thus the native kernel
<flaccid> you can check in console output
<flaccid> or just look at the name/desc of the AKI..
<flaccid> and of course uname -a
<whytehorse> ok, so there's something taking up 400MB ram, I believe it's console-kit-daemon
<whytehorse> er 117MB
<whytehorse> and syslog is 127MB
<whytehorse> on a micro instance that only leaves 200mb for other stuff to run on
<flaccid> could just be memory caching
<flaccid> but yeah ubuntu is generally bloaty like that
<whytehorse> hmmm, I do realize memory is cheap but I can't imagine 400MB used up on a command-line server...
<whytehorse> is this a bug in the amd64 server?
<flaccid> probably; ubuntu is pretty buggy
<flaccid> i'd be interested to see how you go on debian with one of these http://support.rightscale.com/21-Community/RightScale_OSS#Debian_GNU.2fLinux_MultiCloud_Images
<whytehorse> weird, I get the same 400MB used on Debian too
<flaccid> probably quite normal. linux kernel takes advantage of memory via caching to maxmise performance from available memory
<whytehorse> looks like the 32 bit version uses only 180MB ram
<flaccid> thats due to address space
<flaccid> not sure why you are still measuring things in this way
<kim0> Morning everyone
<whytehorse> I'm just trying to figure out how much ram to allocate when creating servers
<whytehorse> so it's important to know that 400MB is used by the system
<koolhead11|afk> hi all
<koolhead11> kim0, :D
<kim0> koolhead11: hey man
 * koolhead11 is very happy
<mmarschall> Hi, I try to use the 32-bit ebs AMI in eu-west-1 region (ami-4090a634) with a custom kernel. Adding the generic-pae kernel to /boot/grub/menu.lst and rebooting hangs the machine. I found that the ami is using akiâ4deec439, which is said to be the right one for instance storage and akiâ4deec433 should be used for ebs. Might that be the issue? Thanks...
<kim0> wonder why do you need the custom kernel
<mmarschall> I want to use ksplice uptrack for rebootless kernel upgrades. They do not support ubuntu 10.04 LTS :-(
<kim0> = Start Ensemble cloud meeting -
<kim0> Hi everyone
<kim0> Got a few updates
<kim0> from my side
<kim0> Going quickly .. We now have a tutorial for authoring a formula Yaay "https://ensemble.ubuntu.com/docs/write-formula.html"
<niemeyer> Woohay!
<kim0> Going through this a few bugs were opened and squashed
<kim0> So Ensemble now has much better debug-hooks functionality
<niemeyer> kim0: Yeah, seriously.. thanks a lot for your help feeding the issues back onto the team
<kim0> tmux is now being used instead of screen, things seem to work reliably
<kim0> Also recovering from install hook errors are now handled in a better way
<kim0> On a smaller scale, the mysql example formula was fixed temporarily at least, to offer login details of already created DBs
<kim0> On another note
<kim0> Clint published a very good introductory article on the topic of What is Ensemble
<kim0> http://cloud.ubuntu.com/2011/06/so-what-is-ensemble-anyway/
<kim0> I pushed it to multiple online venues .. it made its way to a few smaller online venues however unfortunately, it didn't get through most of the big ones .. I will retry with different tactics however
<kim0> Other than that .. I've started reaching out to the MediaWiki community
<kim0> since that's the one where we have fairly good formulas
<kim0> posted today on MediaWiki forums and mailing list
<niemeyer> Oh, nice
<kim0> demo'ing quickly what Ensemble is capable of
<niemeyer> kim0: What was the reaction so far?
<kim0> and linking to Clint's article and the main project page
<kim0> well it was a couple of hours back .. only a single reply so far adding a few links
<kim0> I will keep beating the horse however (in a good way)
<kim0> :)
<niemeyer> kim0: Cool :)
<kim0> um .. that's mostly it for me on my side .. Any cool code updates? I see some bugs about resolving deps and ec2 firewall ?
<niemeyer> kim0: Hmmm
<hazmat> kim0, the open/close port work and service-config are ongoing but nearing completion
<kim0> Very cool
<hazmat> kim0, the autoresolving dependency prototype was merged for a historical artifact, but removed pending work on the repository (the prototype was against a local repository directory)
<niemeyer> kim0: Yeah, I think next week will be more exciting from a news perspective
<kim0> a ha
<niemeyer> kim0: Unfortunately the few things we have in progress still haven't landed
<kim0> Ok great
<kim0> One final point I'd like to discuss
<niemeyer> Ok
<kim0> is having a running list of bitesized bugs ..
<kim0> I'll repaste from #ubuntu-ensemble
<kim0> I'll start a campaign to go out and get people interested in contributing to Ensemble. For that, we'd probably need a list of bitesized bugs that we can point people to
<kim0> This has worked well for Unity, so hopefully for us as well
<kim0> so we'd need a tag a few bugs as "bitesized". Or maybe file new bugs if appropriate. This can be easy to fix bugs, or nice to haves that are not too uegent for the team and are low barrier for a newcomer
<kim0> if we can have 10-15 bugs tagged/created, that'd be awesome
<kim0> I'll probably file some new bugs for important formulas I'd like to see written, and I'll pimp them to the respective communities. But where I need the help most, is code bugs (improve test coverage, fix a small bug ..etc)
<kim0> that's it .. what do you guys think
<hazmat> kim0, so effectively a level of effort/difficult tag on the bugs for  bug 'bites'?
<hazmat> s/difficulty
<kim0> hazmat: yes effectively something you can resolve in less than an hour :)
<kim0> it's a learning on-ramp for newcomers
<niemeyer> kim0: That sounds reasonable
<kim0> improving the test suite .. better docs .. added minor functionality ...etc
<kim0> all good targets
<niemeyer> kim0: Yeah, we have quite a few things which are not really big issues at the moment
<niemeyer> kim0: If you find someone who'd be interested, please point us towards the IRC/ML
<niemeyer> kim0: We can easily pin out tasks
<kim0> niemeyer: hmm yeah sure will .. but it'd be great to have the written list of bugs
<kim0> since just viewing them, can make someone say "I can do that"
<niemeyer> kim0: We have a list of bugs:
<niemeyer> http://ensemble.ubuntu.com/kanban/dublin.html
<kim0> yes, we just need to tag the easy ones with bitesized
<kim0> :)
<kim0> so we always have a running list of newcomer friendly bugs
<niemeyer> kim0: No need for tagging at this point..
<kim0> what do you think so
<niemeyer> kim0: E.g.
<niemeyer> "No README"
<niemeyer> kim0: It's there, in the list
<kim0> Ok better deal
<niemeyer> kim0: Test should put zk log to /dev/null or tempfile by default
<niemeyer> ensemble terminate-machines should have an --all-unused option
<kim0> I'll try to tag what I think looks easy to me .. then someone reviews ?
<niemeyer> kim0: Etc..
<niemeyer> kim0: If you find people, we have the bugs ;-)
<kim0> I want to have a list to show off .. that itself helps
<niemeyer> kim0: What I mean is that I don't think a process for this is needed, yet
<niemeyer> kim0: Find the people, and we create a process around it
<niemeyer> kim0: I've just pointed out three bugs above..
<kim0> Yeah, I'm sure you know all of em
<niemeyer> kim0: We all do.. the URL above has the full list
<kim0> the easy ones I meant
<niemeyer> kim0: Ok, hold on
 * kim0 holds on
<niemeyer> kim0: #684573, #781920, #754318, #716401, #769036, #764938
<kim0> oh that's fast!
 * kim0 hugs niemeyer :)
<niemeyer> kim0: Let's get these fixed.. and then we look at a process
<kim0> Awesome that's all I asked for
<kim0> Great stuff .. that should be about everything
<niemeyer> kim0: Cool, that's a deal then :-)
<kim0> Thanks everyone
<kim0> o/
<kim0> enjoy hacking
<niemeyer> kim0: Thank you!
<kim0> = Meeting end =
<kim0> If anyone is around looking at this, not sure what this is about .. ping me immediately :)
<d122> was there an ensemble class?
#ubuntu-cloud 2011-06-09
<koolhead11> hey all
<keekx> .
#ubuntu-cloud 2011-06-10
<ubuntucloud590> hi, is there a pre-made ec2 LAMP stack AMI for ubuntu 10.04? i'm spinning up a server instance for an oDesk programmer and odn't want them touching my primary ec2 instance. Thanks!
<flaccid> ubuntucloud590: there might be or you could just use rightscale
#ubuntu-cloud 2011-06-11
<koolhead17> kim0: ping
<daker> any ensemble ninja here ?
