We were able to get vmware images running in cloudstack with kvm hypervisor using qemu-img, but we also had to add the step of going in using a recovery image to switch all the disk lables from sdx to vdx since that's how they were being referenced once we switched hypervisors.
> Date: Mon, 15 Jul 2013 09:14:02 -0700 > From: jason.pa...@oracle.com > To: da...@gnsa.us > CC: users@cloudstack.apache.org > Subject: Re: How to migrate instances of OpenStack to Cloudstack. > > 1 out of 3 qemu-img or vhd-util conversions usually produce a vm that is > corrupt or won't boot or that requires a ton of work to fix up. This is > at least my experience. > > > On 7/15/2013 9:08 AM, David Nalley wrote: > > I agree with this statement. Configuration of EL6 or Ubuntu or even > > Windows image should be trivial given configuration management. > > > > That said, I understand there are some situations where it isn't > > practical, or config management isn't in use. The technical answer is: > > > > For converting to/from KVM to to/from raw formats or VMDK qemu-img is > > your friend. > > For converting to/from VHD for xen, vhd-util is your friend, though > > there are several other apps out there. > > I have been in places where I had to use qemu-img to do conversions > > rather than 'doing it the right way' and it's worked well. If I had > > the option though, I think I'd have preferred to put config management > > in place and do it in that manner. > > > > --David > > > > > > On Mon, Jul 15, 2013 at 12:04 PM, Kirk Jantzer <kirk.jant...@gmail.com> > > wrote: > >> It is my belief that the cloud is the IaaS and that the applications that > >> run on the cloud should be built for failure of the IaaS: they > >> (instances/applications) should be rapidly deployable. So, it shouldn't > >> matter what cloud product (openstack/cloudstack/vmware/aws/etc...) you > >> provide to your customers, they should be able to redeploy their > >> application whereever they go or are given for IaaS. > >> > >> > >> On Mon, Jul 15, 2013 at 11:57 AM, Jason Pavao > >> <jason.pa...@oracle.com>wrote: > >> > >>> This is a VERY high level of the steps, dealing with different > >>> Hyper-visors will produce varying results. > >>> > >>> Is there a low level guide to importing/exporting imagery between kvm, xen > >>> and vmware? > >>> > >>> Something concise enough to work well with any cloud? > >>> > >>> -jason > >>> > >>> > >>> On 7/14/2013 12:18 AM, Nils Vogels wrote: > >>> > >>>> Hi Tao Lin, > >>>> > >>>> Currently, the only way known to me is > >>>> > >>>> 1) Stop the instance in OpenStack > >>>> 2) Import the instance as a template > >>>> 3) Create a new instance, based on that template > >>>> 4) Run the new instance in CloudStack > >>>> 5) Discard the OpenStack instance > >>>> > >>>> HTH & HAND. > >>>> > >>>> Nils > >>>> > >>>> > >>>> On Sun, Jul 14, 2013 at 7:50 AM, Tao Lin <linba...@gmail.com> wrote: > >>>> > >>>> Hi,all: > >>>>> Is there any method to move instances from Openstack to Cloudstack? > >>>>> Both > >>>>> OS and CS are using KVM as hypervisor. > >>>>> > >>>>> > >>>>> Best regards. > >>>>> > >>>>> > >>>> > >>> -- > >>> Thanks. > >>> -Jason > >>> > >>> > >> > >> -- > >> Regards, > >> > >> Kirk Jantzer > >> c: (678) 561-5475 > >> http://about.met/kirkjantzer > > -- > Thanks. > -Jason >