<div dir="ltr"><div>But i think if you convert from OVA file (How you were) shoud work also because does contain the disk image compacted into OVA file<br><br></div>Regards<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px">
Abs.</p></div></div>
<div dir="ltr"><b style="color:rgb(143,143,143);font-family:Arial">Robson Ramos Barreto</b><font color="#4181c0" face="Arial" size="1"><b><br></b></font></div><div><span style="color:rgb(80,0,80);font-family:Arial;font-size:x-small">IT / INFRASTRUCTURE ANALYST</span></div>
<div dir="ltr"><font color="#4181c0" face="Arial" size="1"><b>Phone:</b></font><font color="#5f5f5f" face="Arial" size="1"> </font><font style="font-family:arial,sans-serif;font-size:13px" color="blue"><u><a value="+5511952393299">+55 11 95239-3299</a></u></font><font color="#4181c0" face="Arial" size="1"><b><br>
E-mail:</b></font><font color="#5f5f5f" face="Arial" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font color="#5f5f5f" face="Arial" size="1"><u>robson.rbarreto@gmail.com</u></font></a><font color="#4181c0" face="Arial" size="1"><b><br>
Skype:</b></font><font color="#5f5f5f" face="Arial" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font color="blue" face="Arial" size="1"><u>robson.rbarreto</u></font></a><font color="#5f5f5f" face="Arial" size="1"> </font><font color="#4181c0" face="Arial" size="1"><b><br>
Find me on:</b></font><font color="#5f5f5f" face="Arial" size="1"> </font><a href="http://br.linkedin.com/in/robsonrbarreto/" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><img src="cid:_2_0E4E0BFC0E4DFE90006C3EE283257CA9" alt="http://br.linkedin.com/in/robsonrbarreto/" style="border:0px solid" height="16" width="16"></a><font color="#5f5f5f" face="Arial" size="1"> <br></font></div></div></div></div>
<br><div class="gmail_quote">2015-05-22 13:17 GMT-03:00 Robson Ramos Barreto <span dir="ltr"><<a href="mailto:robson.rbarreto@gmail.com" target="_blank">robson.rbarreto@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi<br><br>The OVF file is the VM format that contain hardware parameters. So, you should not convert it.<br><br>After you convert the XVA file to qcow2, you should create something like with virt:<br><br># virt-install --virt-type kvm --name centos-6.4 --ram 1024 \<br><b>--disk /tmp/centos-6.4.qcow2,format=qcow2 \</b><br>--network network=default \<br>--graphics vnc,listen=0.0.0.0 --noautoconsole \<br>--os-type=linux --os-variant=rhel6 \<br>--extra-args="console=tty0 console=ttyS0,115200n8 serial" \<br>--location=/data/isos/CentOS-6.4-x86_64-netinstall.iso<br><br>Where the /tmp/centos-6.4.qcow2 file are you qcow2 file converted from XVA<br><br></div>Regards<br><div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif;font-size:12px">
Abs.</p></div></div>
<div dir="ltr"><b style="color:rgb(143,143,143);font-family:Arial">Robson Ramos Barreto</b><font face="Arial" color="#4181c0" size="1"><b><br></b></font></div><div><span style="color:rgb(80,0,80);font-family:Arial;font-size:x-small">IT / INFRASTRUCTURE ANALYST</span></div>
<div dir="ltr"><font face="Arial" color="#4181c0" size="1"><b>Phone:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><font style="font-family:arial,sans-serif;font-size:13px" color="blue"><u><a value="+5511952393299">+55 11 95239-3299</a></u></font><font face="Arial" color="#4181c0" size="1"><b><br>
E-mail:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font face="Arial" color="#5f5f5f" size="1"><u>robson.rbarreto@gmail.com</u></font></a><font face="Arial" color="#4181c0" size="1"><b><br>
Skype:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font face="Arial" color="blue" size="1"><u>robson.rbarreto</u></font></a><font face="Arial" color="#5f5f5f" size="1"> </font><font face="Arial" color="#4181c0" size="1"><b><br>
Find me on:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="http://br.linkedin.com/in/robsonrbarreto/" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><img src="cid:_2_0E4E0BFC0E4DFE90006C3EE283257CA9" alt="http://br.linkedin.com/in/robsonrbarreto/" style="border:0px solid" height="16" width="16"></a><font face="Arial" color="#5f5f5f" size="1"> <br></font></div></div></div></div>
<br></span><div class="gmail_quote">2015-05-22 3:09 GMT-03:00 Girija Sharan <span dir="ltr"><<a href="mailto:girijasharansingh@gmail.com" target="_blank">girijasharansingh@gmail.com</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>You are right Robson.<br></div>I tried to convert XVA to Qcow2, it was successful but when I launched VM on KVM, it was not booting.<br></div>Then I converted OVF/OVA to Qcow2, and this time when I launched it in KVM, it came up successfully.<br><br></div><div>I don't have any clue why it didn't worked with XVA format ?<br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 22, 2015 at 1:13 AM, Robson Ramos Barreto <span dir="ltr"><<a href="mailto:robson.rbarreto@gmail.com" target="_blank">robson.rbarreto@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p>Sure<br></p><p>But, The <span><b>qemu-img convert</b></span> command can do conversion between multiple
formats, including qcow2, QED, raw, VDI (VirtualBox), VHD (Hyper-V), and VMDK (VMware).</p><table rules="all"><caption>Table 7.1. qemu-img format strings</caption><thead><tr>
<th>Image format</th>
<th>Argument to qemu-img</th>
</tr></thead><tbody><tr>
<td>qcow2 (KVM, Xen)</td>
<td><code>qcow2</code></td>
</tr><tr>
<td>QED (KVM)</td>
<td><code>qed</code></td>
</tr><tr>
<td>raw</td>
<td><code>raw</code></td>
</tr><tr>
<td>VDI (VirtualBox)</td>
<td><code>vdi</code></td>
</tr><tr>
<td>VHD (Hyper-V)</td>
<td><code>vpc</code></td>
</tr><tr>
<td>VMDK (VMware)</td>
<td><code>vmdk</code></td>
</tr></tbody></table><div class="gmail_extra"><br><p>This example will convert a VMDK image file to a qcow2 image file:
</p><pre>$ qemu-img convert -f vmdk -O qcow2 centos7.vmdk centos7.qcow2</pre>You just need to change to XenServer format, right ?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards<br clear="all"></div><div class="gmail_extra"><span><div><div><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif;font-size:12px">
Abs.</p></div></div>
<div dir="ltr"><b style="color:rgb(143,143,143);font-family:Arial">Robson Ramos Barreto</b><font face="Arial" color="#4181c0" size="1"><b><br></b></font></div><div><span style="color:rgb(80,0,80);font-family:Arial;font-size:x-small">IT / INFRASTRUCTURE ANALYST</span></div>
<div dir="ltr"><font face="Arial" color="#4181c0" size="1"><b>Phone:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><font style="font-family:arial,sans-serif;font-size:13px" color="blue"><u><a value="+5511952393299">+55 11 95239-3299</a></u></font><font face="Arial" color="#4181c0" size="1"><b><br>
E-mail:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font face="Arial" color="#5f5f5f" size="1"><u>robson.rbarreto@gmail.com</u></font></a><font face="Arial" color="#4181c0" size="1"><b><br>
Skype:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font face="Arial" color="blue" size="1"><u>robson.rbarreto</u></font></a><font face="Arial" color="#5f5f5f" size="1"> </font><font face="Arial" color="#4181c0" size="1"><b><br>
Find me on:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="http://br.linkedin.com/in/robsonrbarreto/" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><img src="cid:_2_0E4E0BFC0E4DFE90006C3EE283257CA9" alt="http://br.linkedin.com/in/robsonrbarreto/" style="border:0px solid" height="16" width="16"></a><font face="Arial" color="#5f5f5f" size="1"> <br></font></div></div></div></div>
<br></span><div class="gmail_quote">2015-05-21 16:14 GMT-03:00 Girija Sharan <span dir="ltr"><<a href="mailto:girijasharansingh@gmail.com" target="_blank">girijasharansingh@gmail.com</a>></span>:<div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">Hi Robson,</p>
<p dir="ltr">Thank you for your pointers, but I have already explored them and this is not what I am looking for.<br>
To convert to qcow2 format using qemu-img convert, I have to have corresponding .img files of each VM. But I have running Xen Server VMs but not their .img files. Because of this how can I convert them to qcow2 format.<br>
I believe the problem is clear to all else let me know if you need more inputs.</p><div><div>
<div class="gmail_quote">On May 22, 2015 12:27 AM, "Robson Ramos Barreto" <<a href="mailto:robson.rbarreto@gmail.com" target="_blank">robson.rbarreto@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Girija,<br><br>I think that you can convert image files from XenServer to KVM (qcow2):<br><a href="http://docs.openstack.org/image-guide/content/ch_converting.html" target="_blank">http://docs.openstack.org/image-guide/content/ch_converting.html</a><br><br>Then you can create the image manually:<br><a href="http://docs.openstack.org/image-guide/content/ch_creating_images_manually.html" target="_blank">http://docs.openstack.org/image-guide/content/ch_creating_images_manually.html</a><br><br>You can also looking at:<br><a href="https://wiki.openstack.org/wiki/XenServer" target="_blank">https://wiki.openstack.org/wiki/XenServer</a><br><br>Hope this help<br><br>Regards<br><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"></span><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"></span><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif;font-size:12px">
Abs.</p></div></div>
<div dir="ltr"><b style="color:rgb(143,143,143);font-family:Arial">Robson Ramos Barreto</b><font face="Arial" color="#4181c0" size="1"><b><br></b></font></div><div><span style="color:rgb(80,0,80);font-family:Arial;font-size:x-small">IT / INFRASTRUCTURE ANALYST</span></div>
<div dir="ltr"><font face="Arial" color="#4181c0" size="1"><b>Phone:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><font style="font-family:arial,sans-serif;font-size:13px" color="blue"><u><a value="+5511952393299">+55 11 95239-3299</a></u></font><font face="Arial" color="#4181c0" size="1"><b><br>
E-mail:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font face="Arial" color="#5f5f5f" size="1"><u>robson.rbarreto@gmail.com</u></font></a><font face="Arial" color="#4181c0" size="1"><b><br>
Skype:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="mailto:robson.rbarreto@gmail.com" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><font face="Arial" color="blue" size="1"><u>robson.rbarreto</u></font></a><font face="Arial" color="#5f5f5f" size="1"> </font><font face="Arial" color="#4181c0" size="1"><b><br>
Find me on:</b></font><font face="Arial" color="#5f5f5f" size="1"> </font><a href="http://br.linkedin.com/in/robsonrbarreto/" style="font-family:arial,sans-serif;font-size:13px" target="_blank"><img src="cid:_2_0E4E0BFC0E4DFE90006C3EE283257CA9" alt="http://br.linkedin.com/in/robsonrbarreto/" style="border:0px solid" height="16" width="16"></a><font face="Arial" color="#5f5f5f" size="1"> <br></font></div></div></div></div>
<br><div class="gmail_quote">2015-05-21 15:17 GMT-03:00 Bob Ball <span dir="ltr"><<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Hi Girija,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">I can’t help with converting XenServer VMs to KVM but can I ask why running XenServer under your OpenStack cloud isn’t considered an
option?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Clearly there are some differences with VM setup (e.g. the VM may be set up to use a specific disk name which won’t be present if you
move to use the virtio interface) that might make it difficult to move an existing VM between any two hypervisors. As such it may well be easier to use XenServer in your OpenStack infrastructure?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">You could also have a mixed-hypervisor environment if that would meet your requirements.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Bob<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US"> Girija Sharan [mailto:<a href="mailto:girijasharansingh@gmail.com" target="_blank">girijasharansingh@gmail.com</a>]
<br>
<b>Sent:</b> 21 May 2015 06:26<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] Running Xen VMs on Openstack<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">HI All,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">It's urgent and a interesting one too.<u></u><u></u></p>
</div>
<p class="MsoNormal">I have to run VMs from Xen Server on Openstack (with KVM).<u></u><u></u></p>
</div>
<p class="MsoNormal">In detail it is like this :<u></u><u></u></p>
</div>
<p class="MsoNormal">1. I have a Xen Server and couple of large VMs (with GBs of data) are running on that.<u></u><u></u></p>
</div>
<p class="MsoNormal">2. I have a Openstack multi-node setup with Nova configured to use KVM-Qemu as a hypervisor.<u></u><u></u></p>
</div>
<p class="MsoNormal">3. Now I have to run those Xen VMs (as it is, without loosing any data) on this Openstack setup.<u></u><u></u></p>
</div>
<p class="MsoNormal">4. I don't want to change Openstack configuration to let Nova use Xen hypervisor instead of KVM.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">5. I tried launching VMs on Openstack using images of VMs running on Xen Server, but that is failing.<u></u><u></u></p>
</div>
<p class="MsoNormal">What is the way to run Xen server's VMs on KVM machine (basically on Openstack) ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">What all I have to do to acheive this?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any quick help or guidance or pointers will be really appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance. Waiting for early replies.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks and Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Girija Sharan Singh<u></u><u></u></p>
</div>
</div>
</div>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div></div>
</blockquote></div><br></div>