[Openstack-operators] Using ami on openstack

Abel Lopez alopgeek at gmail.com
Tue Feb 11 08:27:08 UTC 2014


I don't think there is an inherent incompatibility with AMI and
Openstack,you just have to add the kernel first, then the ramdisk,
then the AMI with
metadata option telling glance that you want the three together.

On Thursday, February 6, 2014, Abhishek Lahiri <aviostack at gmail.com> wrote:

> Thanks but I am not really looking to roll my own.  I am looking for steps
> to make an image of existing ec2 instance in ami format and run it on
> openstack. There are tons of references on how to run if you have the
> correct ami,aki and ari images but none that says how to get them from a
> running ec2 instance. I think I had seen a way to basically dd the root
> partition out of the ec2 instance over sash and use the vmlinuz and initrd
> for aki and ari respectively but that doesn't seem to work because
> obviously aws aki and ari images will not be kvm compliant.
>
>
>
> On Feb 6, 2014, at 8:37 AM, Steve Gordon <sgordon at redhat.com<javascript:;>>
> wrote:
>
> > ----- Original Message -----
> >> From: "Abhishek Lahiri" <aviostack at gmail.com <javascript:;>>
> >> To: openstack-operators at lists.openstack.org <javascript:;>
> >> Sent: Thursday, February 6, 2014 10:32:53 AM
> >> Subject: [Openstack-operators] Using ami on openstack
> >>
> >>
> >> Hi,
> >>
> >> Does anyone have concrete examples on how to run RHEL ami's on
> openstack?
> >> Specifically where can I get the RH or centOS ari and ami? How to get
> the
> >> ami from a running instance on AWS? If it is not possible to get an AMI
> then
> >> want is the best image type to build?
> >>
> >> Thanks
> >> Al
> >
> > I can't help with ARI or AMI images specifically, but there is a RHEL
> guest image available for use on OpenStack clouds that use KVM hypervisors
> here (subscriber link only):
> >
> >
> https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=16952
> >
> > There is work under way to make equivalents for CentOS as well but in
> the meantime there is a build of one here:
> >
> >    http://repos.fedorapeople.org/repos/openstack/guest-images/
> >
> > In both cases the image is in QCOW2 format. If you are looking to "roll
> your own" I would refer to the "OpenStack Virtual Machine Image Guide":
> >
> >    http://docs.openstack.org/image-guide/content/
> >
> > Or the following Installation and Configuration Guide:
> >
> >
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/4/html/Installation_and_Configuration_Guide/Building_a_Custom_Disk_Image.html
> >
> > Thanks,
> >
> > Steve
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org <javascript:;>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140211/a1e80526/attachment.html>


More information about the OpenStack-operators mailing list