[ovirt-users] Re: [External]: Re: Need to transfer a VM from oVirt to vSphere

2022-06-24 Thread Gianluca Cecchi
On Fri, Jun 24, 2022 at 4:38 PM David M. Hornsby 
wrote:

> I have done this before quite a few times. What I did was:
>
>
>1. Export the qcow2 or raw file and convert it: qemu-img convert -f
>qcow2 -O vmdk
>2. Import the vmdk into vsphere storage and convert it to thin with
>vmkfstools
>3. Then create the vm definition.
>4. There will be some minor driver and ethernet type stuff to fix.
>
> This process has worked everytime. You probably could use a tool like virt
> v2v or veeam to accomplish this as well.
>
> David
>
>
Thanks David, I didn't see your e-mail while I was writing my answer.
I confirm I went a similar way (but passing anyway from OVA and then
extracting the disk...)

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/26DBI7PJTXNY4UVOF3INAZGW2TTRBUFT/


[ovirt-users] Re: Need to transfer a VM from oVirt to vSphere

2022-06-24 Thread Gianluca Cecchi
On Fri, Jun 24, 2022 at 4:33 PM Michal Skrivanek 
wrote:

>
>
> > On 24. 6. 2022, at 11:58, Gianluca Cecchi 
> wrote:
> >
> > Hello,
> > I need to transfer a VM from oVirt 4.4 to vSphere.
> > I see that the "Export as OVA" in the GUI exports in a format compatible
> with oVirt but not vSphere.
> > Any hint?
> > Any way to easily convert the oVirt generated OVA to a vSPhere
> compatible one?
>
> not that i know of. it depends on how resilient is vmware's ova import ...
> but if it is a single or a few vms then you can give up on settings and
> just import raw disks?
>
>
>
Ok, in fact I went sort of that way. Simple VM with RH EL 8.5 and only one
10Gb boot disk that worked as the quorum device host of a rhel 8 cluster.
More in detail, if it can be of any help for others:

. Creation on vSphere of a rhel7 VM (no choice of rhel8 because it is
currently on 6.5) without disks and with paravirtual controller

. On the source rhel8 oVirt VM, update of initramfs, adding the vmw_pvscsi
kernel driver
cd /boot
cp -p initramfs-$(uname -r).img initramfs-$(uname -r).img.orig
dracut --force --kver $(uname -r) --add-drivers vmw_pvscsi
/boot/initramfs-$(uname -r).img

. export VM as OVA on oVirt

. extract virtual disk from OVA (tar -xf qdevice.ova)

. convert virtual disk into vmdk format (done on a Fedora36 workstation
with qemu-img-6.2.0-12.fc36.x86_64)
qemu-img convert -O vmdk 3750043c-100c-42e6-8bd5-2cff2f81ee79 qdevice1.vmdk

. upload of qdevice1.vmdk to the ESXi server from vSphere Web Client,
inside the target VM directory of the related datastore

. connect via ssh to ESXi server and further convert the file to a more
"acceptable" vmdk format
cd /vmfs/volumes/vmfslocal-myesxi-2TB/qdevice
vmkfstools -i qdevice1.vmdk qdevice.vmdk
see here: https://kb.vmware.com/s/article/1028943
I got "Unsupported and/or invalid disk type 2" when booting, without this
further conversion step

. removal of qdevice1.vmdk from vSphere Web Client interface

. From vSphere Web Client Add existing disk to the VM, using the newly
converted disk (qdevice.vmdk)

. boot VM (with cluster related services disabled)

. customizations such as network reconfiguration (due to network hw change)
and VMware Tools guest managed install
dnf install open-vm-tools
systemctl enable vmtoolsd --now
In my case I didn't have qemu-guest-agent service enabled in the VM,
otherwise I should have disabled it too
Enablement of cluster related services
systemctl enable corosync-qnetd
systemctl enable pcsd
reboot

. At the end the 2-nodes rhel8 cluster automatically reconnects without
problems to the quorum device host

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E2XZWOW4NULHPMCBBS3CIUDVPKXELYVF/


[ovirt-users] Re: [External]: Re: Need to transfer a VM from oVirt to vSphere

2022-06-24 Thread David M. Hornsby
I have done this before quite a few times. What I did was:


  1.  Export the qcow2 or raw file and convert it: qemu-img convert -f qcow2 -O 
vmdk
  2.  Import the vmdk into vsphere storage and convert it to thin with 
vmkfstools
  3.  Then create the vm definition.
  4.  There will be some minor driver and ethernet type stuff to fix.

This process has worked everytime. You probably could use a tool like virt v2v 
or veeam to accomplish this as well.

David

From: Michal Skrivanek 
Sent: Friday, June 24, 2022 10:33 AM
To: Gianluca Cecchi 
Cc: users 
Subject: [External]: [ovirt-users] Re: Need to transfer a VM from oVirt to 
vSphere

[The sender of this email is external to Mueller Roofing Distributors.]

> On 24. 6. 2022, at 11:58, Gianluca Cecchi  wrote:
>
> Hello,
> I need to transfer a VM from oVirt 4.4 to vSphere.
> I see that the "Export as OVA" in the GUI exports in a format compatible with 
> oVirt but not vSphere.
> Any hint?
> Any way to easily convert the oVirt generated OVA to a vSPhere compatible one?

not that i know of. it depends on how resilient is vmware's ova import ... but 
if it is a single or a few vms then you can give up on settings and just import 
raw disks?

>
> Thanks,
> Gianluca
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PPRS47O346Q3THFPEWYOJFPWEXN6P2R2/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YHMDBEVB6ONHRNYFBJ7KA7JOUQURZLVV/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EBI6VBZ5RCJ3N7VL2D5VGH6OZIKI3OOX/


[ovirt-users] Re: Need to transfer a VM from oVirt to vSphere

2022-06-24 Thread Michal Skrivanek


> On 24. 6. 2022, at 11:58, Gianluca Cecchi  wrote:
> 
> Hello,
> I need to transfer a VM from oVirt 4.4 to vSphere.
> I see that the "Export as OVA" in the GUI exports in a format compatible with 
> oVirt but not vSphere.
> Any hint? 
> Any way to easily convert the oVirt generated OVA to a vSPhere compatible one?

not that i know of. it depends on how resilient is vmware's ova import ... but 
if it is a single or a few vms then you can give up on settings and just import 
raw disks?

> 
> Thanks, 
> Gianluca
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PPRS47O346Q3THFPEWYOJFPWEXN6P2R2/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YHMDBEVB6ONHRNYFBJ7KA7JOUQURZLVV/


[ovirt-users] Re: HCI Upgrade 4.4 to 4.5 Gluster 10

2022-06-24 Thread wodel youchi
Happy to hear that.

Just a question, is the lvm layer used for your gluster is on top of
/dev/sdb directly?
Do you use vdo or encryption or both on your deployment?

Regards.

On Fri, Jun 24, 2022, 05:02  wrote:

> Thanks again Wodel,
>
> lsblk just showed /dev/sdb as a disk.
>
> Commenting out ‘use_devices_file=1’ in lvm.conf and then ran ‘vdsm-tool
> config-lvm-filter’ which said /dev/sdb part of multipath.
>
> Added ‘wwid “*”’ to the blacklist section of multipath.conf and node
> booted properly.
>
> Regards
>
> Simon…
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y4S4VSES3KNC5Y4YHJGEMTDIEPA4YOEG/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZLK2BQAQGQS6H3RKN5BL6HHODWIH4GFN/


[ovirt-users] Need to transfer a VM from oVirt to vSphere

2022-06-24 Thread Gianluca Cecchi
Hello,
I need to transfer a VM from oVirt 4.4 to vSphere.
I see that the "Export as OVA" in the GUI exports in a format compatible
with oVirt but not vSphere.
Any hint?
Any way to easily convert the oVirt generated OVA to a vSPhere compatible
one?

Thanks,
Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PPRS47O346Q3THFPEWYOJFPWEXN6P2R2/


[ovirt-users] Re: gluster heal success but a directory doesn't heal

2022-06-24 Thread Diego Ercolani
Anyone can me address to somewhere where I can read some "in deep" 
throubleshots for Glusterfs? I cannot find a "quick" manual
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DVKNVA7ITKFWHDG2BZAK6PLNTMZODPKZ/


[ovirt-users] Re: Unable to ugprade cluster level to 4.7 for the hosted engine (only)

2022-06-24 Thread Sven Jansen via Users
I updated oVirt Engine to 4.5.1 and i am still unable to upgrade cluster level 
compatibility to 4.7.

Sometimes switching compatiblity settings reset other settings, so i took a 
screenshot from the vm settings of the engine, set compatiblity level from 
nothing/empty to 4.7, then i checked all other VM settings, nothing else got 
changed by changing to 4.7. When i press OK i still get "There was an attempt 
to change Hosted Engine VM values that are locked.".

At some point this will break my ability to upgrade to further oVirt Versions. 
Is there no one who can help me getting the engine to 4.7?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/25TS4TPGBNNYOYNSINHHZBVQWHS34U5J/


[ovirt-users] Re: VMs missing following Import of Storage Domain

2022-06-24 Thread simon
Thanks as always Sandro 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FJGF66PQADLRQGKNLYQ7GXGLKHAAWKZQ/


[ovirt-users] Re: VMs missing following Import of Storage Domain

2022-06-24 Thread Sandro Bonazzola
Il giorno gio 23 giu 2022 alle ore 20:20  ha scritto:

> I heard oVirt was almost dead, but I didn’t realise I would need a séance
> to get a response…
>
> Is there anybody there???
>

Hi, yes, we are here. Just a lot busy.
@Arik Hadas  the issue faced by Simon seems to be in
your area of knowledge, can you please follow up on this thread?

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EWPXGNVRJE2WXGITGIUMA6AP6TOFXNH3/