[01:03] hmm [01:03] where does write-mime-multipart come from [01:03] don't see it in the cloud-init repo, cloud-utils or cloud-init package [01:03] on 10.04 or 10.10 [01:03] though i do see it on the filesystem of an ec2 image [01:48] on 10.04 and 10.10 it might not be packaged at all [01:48] in 11.04 it is in cloud-utils [01:49] if you see it in the filesystem of the ec2-image, dpkg -S /path/to/file [01:49] ah -s! [01:49] didn't think of that [01:50] it is cloud-init if it is there in 10.10 [01:50] and you probaly dont want to isntall cloud-init on your laptop [01:50] (or other non-cloud instance) [01:50] which is why it moved to cloud-utils [01:50] its stand alone, though, you can jsut grab it from cloud-utils bzr [01:50] i have to go [01:51] later [01:53] oh good call === 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 === dendrobates is now known as dendro-afk === angeldaker is now known as daker [13:15] what would be the best way to give cloud credentials to an instance? [13:23] TeTeT: credentials for what, exactly? [13:23] semiosis: credentials for S3, so the instance can store data there [13:26] TeTeT: from what i've seen it depends on the tool you're using. for example, euca2ools would read /etc/euca2ools/eucarc, but another tool (or suite) may look elsewhere [13:26] semiosis: yeah, but how to transfer the eucarc and cert files to the instance? Using user data? [13:26] TeTeT: i use puppet but you could very easily do it with cloud-config [13:27] TeTeT: ...and a little shell script [13:27] semiosis: right, I will consider cloud-config. I want to leave out puppet for now [13:27] even though it's very useful for configuring instances [13:29] TeTeT: couple things you may be interested in: storing the file or script in s3 & just pulling it with cloud-config (using a presigned S3 url), and also using IAM to create an access key with limited rights to put on the instance [13:30] semiosis: I don't know about presigned s3 urls and IAM, can you clarify or point me to some docs? [13:33] semiosis: nevermind, googled http://docs.amazonwebservices.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/GeneratePresignedUrlRequest.html [13:34] right on [13:40] semiosis: I fear both are not available on UEC yet :( [13:40] semiosis: but thanks for your help, learned something new! [13:40] yw [14:52] hggdh: hi, a first result from the runs of my scheduler script, bug 728018. Does it look familiar to you? e.g. is this a usual failure or something extraordinary? in the past I thought my script for capturing the ip was bad, but now it's using boto directly [14:52] Launchpad bug 728018 in eucalyptus "10.04 LTS: Failure to start instance due to network address failure" [Undecided,New] https://launchpad.net/bugs/728018 [14:54] TeTeT, looking [14:56] TeTeT, I do not remember this error on 10.04 (when I tested it) [14:56] TeTeT, so I would say you hit a new one... [14:59] hggdh: ok, wonder if it's also in 10.10 or 11.04. Unfortunately I cannot upgrade the training cloud, as I lose the ability to reset it then and IS has to intervene [15:01] hggdh: i thought it was quite rare, after launching hundreds of instances, but just a few mins ago it failed after 29 instances, so seems to be quite random, though rare [15:02] TeTeT, I ran a lot of thousands of instances on 10.10, and did not see it. I am not sure we had a similar setup, though [15:03] hggdh: hmm, ok [15:03] TeTeT, but it is something to try now, on 11.04 [15:10] hggdh: you've got a testing cloud with 11.04? [15:11] TeTeT, yes. but euca is right now broken on DHCP [15:11] hggdh: oh, ok, so no point for me to upgrade my cloud at home yet and try to test [15:11] TeTeT, no, not right now [15:12] TeTeT, I can ping you when euca is workable on 11.04, if you wish [15:14] hggdh: yes, would be nice. FYI I've added a basic hadoop workload to the scheduler script, now on to others [15:16] cool! [15:18] hggdh: I also moved the branch on lp to lp:~canonical-pse/+junk/uec-scheduler if you want to peek at it. It's now python/boto and cloud-init shell scripts [15:20] TeTeT, pulling it now ;-) === dendro-afk is now known as dendrobates [15:21] hggdh: he he, don't be afraid of bad code ;) [15:29] TeTeT, I am not, I write them all the time ;-) [15:29] hggdh: I'm just writing down some setup script [15:29] hggdh: errr, doc [15:36] hggdh: pushed, though it's untested :) Have to run an errand now but will be back later === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === crazed_ is now known as crazed [17:54] Is there a micro instance available for ec2 asia? === daker is now known as angeldaker === tubadaz_ is now known as tubadaz === crazed_ is now known as crazed === gtaylor_ is now known as gtaylor === zul_ is now known as zul [21:01] smoser: around? [21:01] yes sir [21:01] hey - time for a bit of help with cloud-init? [21:02] gladly [21:03] OK; so I've been working on expanding the test cases for ec2 testing. [21:03] And I've started to look at the User Data tests..... [21:04] originally I had put a test execution into the cloud-config part; however this gets executed before all of the user data scripts [21:04] so that did not work great when I wanted to test that they all ran OK. [21:05] question is: can I imply an order in which the user data scripts/data/parts will be executed (I want to run the tests at the end)? [21:06] where di you put it in the cloud-config part ? [21:06] in runcmd ? [21:07] yes [21:08] runcmd is run in the same way as user-data scripts [21:09] it gets put into a directory and run with run-parts [21:09] so you can manipulate the ffilename of the other user-scripts to cause it to run last (make them named earlier in order) [21:10] ah - right - I see - let me try that out [21:10] *or* you could run those scripts as a upstart job that runs after stopped-cloud-init-final.. or something. [21:10] the way i ran tests inside the instance was to ssy after the instance was up [21:11] as , if you're testing user-data, you can't really be sure that cloud-nit is going to run the stuff that you put in there. [21:17] smoser: thanks for you help - that worked just great! [21:18] read ^ [21:18] i suggest though not running those things via cloud-init [21:19] That would be another way around it; would pickup a break in cloud-init better. [21:19] At the moment my test would time out after 5 minutes of waiting for the test results to appear === mrjazzcat is now known as mrjazzcat-lunch [23:16] does anyone have experience using a 10gbit ethernet card on ubuntu lucid ? I just want to know if there are drivers on ubuntu for it . I'm looking at the Intel X520 line. [23:16] I'd hate to purchase new dell gear and some 10 GB nics only to find out that they don't work together. [23:17] hm, this is weird, i just noticed that maverick on ec2 doesn't have /proc/xen/* [23:17] anyone know what's up with that? im particularly interested in the xen clock stuff .. and how it appears to be mia [23:21] smoser, am i crazy or is the xen independent wallclock not in maverick ec2? should be in /proc/sys/xen/independent_wallclock [23:27] lotreck: this is ubuntu-cloud. you might want to check driver support for the chipset. === mrjazzcat-lunch is now known as mrjazzcat