/srv/irclogs.ubuntu.com/2014/11/14/#cloud-init.txt

Odd_Blokesmoser: I'm scoping out Python 3 changes; would we be talking about supporting Python 2 _and_ 3, or shifting to just Python 3?15:38
Odd_Blokesmoser: If both, is just 2.7 acceptable?15:39
JayFI definately use cloud-init on boxes with only py26 :(16:11
JayF(CentOS 6)16:11
smoserOdd_Bloke, 2 and 316:25
smoserOdd_Bloke, https://code.launchpad.net/~harlowja/cloud-init/py2-3/+merge/22524016:25
smoserthat is harlowja's start. 16:26
Odd_Blokesmoser: Thanks for the pointer.16:41
harlowjasmoser ok back!17:35
=== harlowja is now known as harlowja_away
=== harlowja_away is now known as harlowja
harmw_https://cloud-images.ubuntu.com/utopic/current/utopic-server-cloudimg-armhf-disk1.img 20:23
harmw_smoser: can I just add that to glance?20:23
harmw_you happen to know?20:24
=== harmw_ is now known as harmw
harlowjaharmw u can try my tool @ https://github.com/stackforge/anvil/blob/master/tools/img-uploader.py 20:34
harlowjaif it still works, ha20:34
harlowjahttps://github.com/stackforge/anvil/blob/master/anvil/components/helpers/glance.py is the code that it uses to extract image, upload it...20:34
harlowjashould still work i think (although it may expect an image archive with a kernel and ram disk as well)20:35
harmwharlowja: could you decribe what it tries to do? :) looks like extracting initrd+kernel and adding that to glance, right?20:40
harlowjaya20:41
harmw(im unsure on how to exactly get ARM images in glance)20:41
harlowjapretty much :-P20:41
harlowjalet me look at, forgot what it does, haha20:41
* harlowja wrote it to long ago20:41
harlowjafrom what i remember, it calls into https://github.com/stackforge/anvil/blob/master/anvil/components/helpers/glance.py#L43920:41
harmwok, so, why :p since kernel+ramdisk are often just supplied :p20:41
harlowjawhich then calls into to extract, register, upload @ https://github.com/stackforge/anvil/blob/master/anvil/components/helpers/glance.py#L39120:42
harlowjaharmw mainly u have to associate the ramdisks and crap with the raw image file, although if u just have a single image, i think u can just upload that directly20:43
harmwglance image-create --name 'Ubuntu Utopic ARM' --disk-format raw --container-format bare --property architecture=armv7l --file utopic-server-cloudimg-armhf-disk1.img20:50
harlowjaya, something like that should work also20:55
harmwI'm hopeing it will :p21:03
harmwlibvirtError: internal error: no supported architecture for os type 'hvm'21:45
harmwhm21:45
harlowjahmmm, ya, not sure about that one21:47
harlowjahttps://ask.openstack.org/en/question/7519/instance-error-caused-by-libvirterror-internal-error-no-supported-architecture-for-os-type-hvm/?answer=7520#post-id-7520 21:48
harlowjamaybe 'libvirt_type=qemu'21:48
harlowjain nova.conf21:48
harmwnah, I apparently didn't load kvm - trying to that now21:49
harmw*krnel module21:49
harlowjak21:49
harmwah, yes, I needed the -lpae kernel for that21:53
harmwhmk, well, I can boot a vm from that image - but it doesn't show anything in the console.log22:56
harmwor am I using the wrong hardware thingy here22:57
harlowjaunsure :-P23:00

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!