| Odd_Bloke | smoser: 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_Bloke | smoser: If both, is just 2.7 acceptable? | 15:39 | 
| JayF | I definately use cloud-init on boxes with only py26 :( | 16:11 | 
| JayF | (CentOS 6) | 16:11 | 
| smoser | Odd_Bloke, 2 and 3 | 16:25 | 
| smoser | Odd_Bloke, https://code.launchpad.net/~harlowja/cloud-init/py2-3/+merge/225240 | 16:25 | 
| smoser | that is harlowja's start. | 16:26 | 
| Odd_Bloke | smoser: Thanks for the pointer. | 16:41 | 
| harlowja | smoser 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 | ||
| harlowja | harmw u can try my tool @ https://github.com/stackforge/anvil/blob/master/tools/img-uploader.py | 20:34 | 
| harlowja | if it still works, ha | 20:34 | 
| harlowja | https://github.com/stackforge/anvil/blob/master/anvil/components/helpers/glance.py is the code that it uses to extract image, upload it... | 20:34 | 
| harlowja | should still work i think (although it may expect an image archive with a kernel and ram disk as well) | 20:35 | 
| harmw | harlowja: could you decribe what it tries to do? :) looks like extracting initrd+kernel and adding that to glance, right? | 20:40 | 
| harlowja | ya | 20:41 | 
| harmw | (im unsure on how to exactly get ARM images in glance) | 20:41 | 
| harlowja | pretty much :-P | 20:41 | 
| harlowja | let me look at, forgot what it does, haha | 20:41 | 
| * harlowja wrote it to long ago | 20:41 | |
| harlowja | from what i remember, it calls into https://github.com/stackforge/anvil/blob/master/anvil/components/helpers/glance.py#L439 | 20:41 | 
| harmw | ok, so, why :p since kernel+ramdisk are often just supplied :p | 20:41 | 
| harlowja | which then calls into to extract, register, upload @ https://github.com/stackforge/anvil/blob/master/anvil/components/helpers/glance.py#L391 | 20:42 | 
| harlowja | harmw 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 directly | 20:43 | 
| harmw | glance image-create --name 'Ubuntu Utopic ARM' --disk-format raw --container-format bare --property architecture=armv7l --file utopic-server-cloudimg-armhf-disk1.img | 20:50 | 
| harlowja | ya, something like that should work also | 20:55 | 
| harmw | I'm hopeing it will :p | 21:03 | 
| harmw | libvirtError: internal error: no supported architecture for os type 'hvm' | 21:45 | 
| harmw | hm | 21:45 | 
| harlowja | hmmm, ya, not sure about that one | 21:47 | 
| harlowja | https://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 | 
| harlowja | maybe 'libvirt_type=qemu' | 21:48 | 
| harlowja | in nova.conf | 21:48 | 
| harmw | nah, I apparently didn't load kvm - trying to that now | 21:49 | 
| harmw | *krnel module | 21:49 | 
| harlowja | k | 21:49 | 
| harmw | ah, yes, I needed the -lpae kernel for that | 21:53 | 
| harmw | hmk, well, I can boot a vm from that image - but it doesn't show anything in the console.log | 22:56 | 
| harmw | or am I using the wrong hardware thingy here | 22:57 | 
| harlowja | unsure :-P | 23:00 | 
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!