Migrating from KVM to oVirt

------=_Part_55626332_1610154547.1474060743949 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Our current infrastructure is as follows: KVM managed with NFS exported raw files. We are planning on moving to ovirt, but we want to move our disk images into Ceph via Cinder is this possible and if so, how? Regards, Logan ------=_Part_55626332_1610154547.1474060743949 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div>Our current infrastructure is as follows:<br></div><div><br data-mce-bogus="1"></div><div>KVM managed with NFS exported raw files.</div><div><br data-mce-bogus="1"></div><div>We are planning on moving to ovirt, but we want to move our disk images into Ceph via Cinder is this possible and if so, how?</div><div><br></div><div data-marker="__SIG_PRE__">Regards,<br>Logan</div></div></body></html> ------=_Part_55626332_1610154547.1474060743949--

On Sat, Sep 17, 2016 at 12:19 AM, Logan Kuhn <logank@wolfram.com> wrote:
Our current infrastructure is as follows:
KVM managed with NFS exported raw files.
We are planning on moving to ovirt, but we want to move our disk images into Ceph via Cinder is this possible and if so, how?
Importing vms from kvm is very easy in 4.0, you just import the vm, ovirt will do everything for you in few clicks. We don't support yet copying disks to ceph, only creating new disks. This should work: 1. Create vm with ceph disk 2. Find the ceph disk name in cinder using the disk name in engine 3. Copy the image manually to ceph using ceph command line tools The machine copying the disks should have cephx auth keys deployed. Note that ovirt hosts do not deploy ceph auth keys on the host, we deploy the keys dynamically using libvirt secrets, so only vms that need access to ceph disk can access it. Adding Daniel to add more details on how to find the cinder disk. There are some ceph users on this list, maybe they can add more details. Nir

<div class=3D"gmail_extra"><div class=3D"gmail_quote">On Sat, Sep 17, 2016= at 12:19 AM, Logan Kuhn <span dir=3D"ltr"><<a href=3D"mailto:logank@wol= fram.com" target=3D"_blank">logank@wolfram.com</a>></span> wrote:<br><bl= ockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 .8ex; border-left: 1p= x #ccc solid; padding-left: 1ex;" data-mce-style=3D"margin: 0 0 0 .8ex; bor= der-left: 1px #ccc solid; padding-left: 1ex;"><div><div style=3D"font-famil= y: Arial; font-size: 12pt; color: #000000;" data-mce-style=3D"font-family: = Arial; font-size: 12pt; color: #000000;"><div>Our current infrastructure is= as follows:<br></div><br><div>KVM managed with NFS exported raw files.</di= v><br><div>We are planning on moving to ovirt, but we want to move our disk= images into Ceph via Cinder is this possible and if so, how?</div></div></=
------=_Part_56380996_1367948522.1474303873392 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Thank you. Regards, Logan ----- On Sep 16, 2016, at 6:36 PM, Nir Soffer <nsoffer@redhat.com> wrote: | On Sat, Sep 17, 2016 at 12:19 AM, Logan Kuhn < logank@wolfram.com > wrote: || Our current infrastructure is as follows: || KVM managed with NFS exported raw files. || We are planning on moving to ovirt, but we want to move our disk images into || Ceph via Cinder is this possible and if so, how? | Importing vms from kvm is very easy in 4.0, you just import | the vm, ovirt will do everything for you in few clicks. | We don't support yet copying disks to ceph, only creating new disks. | This should work: | 1. Create vm with ceph disk | 2. Find the ceph disk name in cinder using the disk name in engine | 3. Copy the image manually to ceph using ceph command line tools | The machine copying the disks should have cephx auth keys | deployed. | Note that ovirt hosts do not deploy ceph auth keys on the host, we | deploy the keys dynamically using libvirt secrets, so only vms that | need access to ceph disk can access it. | Adding Daniel to add more details on how to find the cinder disk. | There are some ceph users on this list, maybe they can add more | details. | Nir ------=_Part_56380996_1367948522.1474303873392 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: Arial; font-size: 12pt; color: #0000= 00"><div>Thank you. </div><div><br></div><div data-marker=3D"__SIG_PR= E__">Regards,<br>Logan</div><br><span id=3D"zwchr" data-marker=3D"__DIVIDER= __">----- On Sep 16, 2016, at 6:36 PM, Nir Soffer <nsoffer@redhat.com>= ; wrote:<br></span><div data-marker=3D"__QUOTED_TEXT__"><blockquote style= =3D"border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; co= lor: #000; font-weight: normal; font-style: normal; text-decoration: none; = font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style= =3D"border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; co= lor: #000; font-weight: normal; font-style: normal; text-decoration: none; = font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div dir=3D"ltr"= div></blockquote><br><div>Importing vms from kvm is very easy in 4.0, you j= ust import</div><div>the vm, ovirt will do everything for you in few clicks= .</div><br><div>We don't support yet copying disks to ceph, only creating n= ew disks. </div><br><div>This should work:</div><br><div>1. Create vm = with ceph disk</div><br><div>2. Find the ceph disk name in cinder using the= disk name in engine</div><br><div>3. Copy the image manually to ceph using= ceph command line tools<br></div><div> The machine copying th= e disks should have cephx auth keys</div><div> deployed.  = ;</div><br><div>Note that ovirt hosts do not deploy ceph auth keys on the h= ost, we</div><div>deploy the keys dynamically using libvirt secrets, so onl= y vms that</div><div>need access to ceph disk can access it.</div><br><div>= Adding Daniel to add more details on how to find the cinder disk.</div><br>= <div>There are some ceph users on this list, maybe they can add more</div><= div>details.</div><br><div>Nir</div></div></div></div><br></blockquote></di= v></div></body></html> ------=_Part_56380996_1367948522.1474303873392--
participants (2)
-
Logan Kuhn
-
Nir Soffer