First congratulations on a great setup to allow us clueless ones to pick an ec2 image and launch it directly into the region of our choice.
Very slick!
But...when you do it you get to a dialog where you can choose the kernel to use. The drop down list includes default and a number of AKI's (Amazon Kernel Images??) . How do you find out what the AKI's refer to in Fedora speak, i.e. kernel-3.10.10-100.fc18.x86_64 ?? I googled some of the aki's , but found nothing.
Also, since the F19 ec2 instance only has one partition:
df Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 2032912 1088744 907784 55% / devtmpfs 280236 0 280236 0% /dev tmpfs 302208 0 302208 0% /dev/shm tmpfs 302208 188 302020 1% /run tmpfs 302208 0 302208 0% /sys/fs/cgroup
we should use an hd0 ( and not hd00 ) aki, correct?
But now I have an F19 instance running. Will I need to do some magic to upgrade the kernel, or is yum upgrade sufficient?
sean
The AKI used is a grub AKI which loads the Fedora kernel off of the drive, based on the value in /boot/grub/menu.lst (or maybe grub.conf, I forget).
On Tue, Sep 10, 2013 at 3:25 PM, Sean Darcy seandarcy2@gmail.com wrote:
First congratulations on a great setup to allow us clueless ones to pick an ec2 image and launch it directly into the region of our choice.
Very slick!
But...when you do it you get to a dialog where you can choose the kernel to use. The drop down list includes default and a number of AKI's (Amazon Kernel Images??) . How do you find out what the AKI's refer to in Fedora speak, i.e. kernel-3.10.10-100.fc18.x86_64 ?? I googled some of the aki's , but found nothing.
Also, since the F19 ec2 instance only has one partition:
df Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 2032912 1088744 907784 55% / devtmpfs 280236 0 280236 0% /dev tmpfs 302208 0 302208 0% /dev/shm tmpfs 302208 188 302020 1% /run tmpfs 302208 0 302208 0% /sys/fs/cgroup
we should use an hd0 ( and not hd00 ) aki, correct?
But now I have an F19 instance running. Will I need to do some magic to upgrade the kernel, or is yum upgrade sufficient?
sean
cloud mailing list cloud@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/cloud Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
On Tue, Sep 10, 2013 at 03:25:36PM -0400, Sean Darcy wrote:
But...when you do it you get to a dialog where you can choose the kernel to use. The drop down list includes default and a number of AKI's (Amazon Kernel Images??) . How do you find out what the AKI's refer to in Fedora speak, i.e. kernel-3.10.10-100.fc18.x86_64 ?? I googled some of the aki's , but found nothing.
we should use an hd0 ( and not hd00 ) aki, correct?
Right. Use the pv-grub AKI for an unpartitioned image (the hd0 ones). See http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html#... for more.
This will then use /boot/grub/menu.lst (which symlinks to /boot/grub/grub.conf; implementation detail) to boot a kernel on the image. (Grub isn't actually used on the images, just the config file. Also you may notice that the images contain extlinux; that's because they're identical to the downloadable qcow2 images meant to boot in openstack or other cloud providers without pv-grub).
But now I have an F19 instance running. Will I need to do some magic to upgrade the kernel, or is yum upgrade sufficient?
Yum upgrade and reboot. We've endeavored to make the existing kernel magic just work. Of course, there's a tiny chance that something will go horribly wrong -- if it does, please report. (As a matter of course, make sure you're not storing anything irreplaceable on a cloud instance anyway.)
On 09/10/2013 03:44 PM, Matthew Miller wrote:
On Tue, Sep 10, 2013 at 03:25:36PM -0400, Sean Darcy wrote:
But...when you do it you get to a dialog where you can choose the kernel to use. The drop down list includes default and a number of AKI's (Amazon Kernel Images??) . How do you find out what the AKI's refer to in Fedora speak, i.e. kernel-3.10.10-100.fc18.x86_64 ?? I googled some of the aki's , but found nothing.
we should use an hd0 ( and not hd00 ) aki, correct?
Right. Use the pv-grub AKI for an unpartitioned image (the hd0 ones). See http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html#... for more.
This will then use /boot/grub/menu.lst (which symlinks to /boot/grub/grub.conf; implementation detail) to boot a kernel on the image. (Grub isn't actually used on the images, just the config file. Also you may notice that the images contain extlinux; that's because they're identical to the downloadable qcow2 images meant to boot in openstack or other cloud providers without pv-grub).
But now I have an F19 instance running. Will I need to do some magic to upgrade the kernel, or is yum upgrade sufficient?
Yum upgrade and reboot. We've endeavored to make the existing kernel magic just work. Of course, there's a tiny chance that something will go horribly wrong -- if it does, please report. (As a matter of course, make sure you're not storing anything irreplaceable on a cloud instance anyway.)
Thanks for the quick response.
Is there any easy way to figure out what are aki kernels?
For instance, here are the kernels listed for ec2 region us-east-1:
us-east-1
aki-88aa75e1 pv-grub-hd0_1.03-x86_64.gz
aki-b6aa75df pv-grub-hd0_1.03-i386.gz
aki-b4aa75dd pv-grub-hd00_1.03-x86_64.gz
aki-b2aa75db pv-grub-hd00_1.03-i386.gz
How do you find out how these map to fedora kernels?
I guess as long as yum upgrade works, I really shouldn't care.
Again, thanks for making all this remarkably painless.
sean
On Tue, Sep 10, 2013 at 05:15:38PM -0400, Sean Darcy wrote:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html#...
[...]
Is there any easy way to figure out what are aki kernels?
Yes, you look at the list Amazon provides.
How do you find out how these map to fedora kernels?
They're registered when the AMI is uploaded by Release Engineering. You really don't have to worry about this, but you can see it with euca-describe-instances from the command line or by looking up the AMI on Amazon's web site. (Or you can look at http://thecloudmarket.com/image/ami-b22e5cdb--fedora-x86-64-19-20130627-sda#..., although beware of that site's statistics page, because they're counting _images_, not usage.)
I guess as long as yum upgrade works, I really shouldn't care.
That is definitely the goal.
Again, thanks for making all this remarkably painless.
You're welcome. We appreciate the feedback!
On Tue, Sep 10, 2013 at 05:47:54PM -0400, Matthew Miller wrote:
On Tue, Sep 10, 2013 at 05:15:38PM -0400, Sean Darcy wrote:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html#...
[...]
Is there any easy way to figure out what are aki kernels?
Yes, you look at the list Amazon provides.
That line was mean to be read with a smiley face, by the way -- not meant to be snarky. That's really all there is to it -- they're just some special images that Amazon provides, but they don't give them special memorable names.