[ovirt-users] Re: Attaching LVM logical volume to VM

2021-11-28 Thread th3penguinwhisperer
Thanks for your reply. Greatly appreciated. > The oVirt way is to create a block storage domain, and create a raw > preallocated disk. > This will attach a logical volume to the VM. Problem is that I already have an existing LV that was used before. But I guess if I mount that LV on the host I

[ovirt-users] Attaching LVM logical volume to VM

2021-11-28 Thread th3penguinwhisperer
Hi, I've just migrated from Libvirt/kvm to oVirt. In libvirt I had a VM that had an LVM logical volume that was attached to a guest as a disk. However in oVirt I can't immediately find such a capability. I understand that this would "pin" my VM to this host but that's perfectly fine. Any

[ovirt-users] Re: Attaching LVM logical volume to VM

2021-11-28 Thread Nir Soffer
On Sun, Nov 28, 2021 at 2:06 PM wrote: > > Thanks for your reply. Greatly appreciated. > > > The oVirt way is to create a block storage domain, and create a raw > > preallocated disk. > > This will attach a logical volume to the VM. > > Problem is that I already have an existing LV that was used

[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-28 Thread Gianluca Cecchi
On Sun, Nov 28, 2021 at 3:44 AM Sina Owolabi wrote: > > - name: Print vm attributes > ovirt.ovirt.ovirt_vm_info: > auth: "{{ ovirt_auth }}" > pattern: name="{{ vm_fqdn }}" > register: vm_info > - debug: > msg: "{{ vm_info.ovirt_vms[0] }}" > > here

[ovirt-users] Re: Attaching LVM logical volume to VM

2021-11-28 Thread Strahil Nikolov via Users
Usually in oVirt you are want your VMs to be on a shared storage, so they can live migrate between the hosts. Such shared storages are: iSCSI, SAN, NFS & GlusterFS (CEPH is still "experimental") or any other POSIX Filesystem. If you wish to use local storage, previously (I'm not sure if this is

[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-28 Thread Strahil Nikolov via Users
I would put that code in vm_create.yml and then you can: - name: Create VMs  include_tasks: vm_create.yml  loop:    - VM1    - VM2  loop_control:    loop_var: vm_name Then inside your vm_create.yml you will use "{{ vm_name }}" as the name of the VM. Best Regards,Strahil Nikolov On Sun,

[ovirt-users] hosted engine vm not present

2021-11-28 Thread Nathanaël Blanchet
Hello I successfully migrated from HE 4.3.10 to HE 4.4.9, but I think I commited a mistake: The HostedEngine vm was running on the host (haboob) where I deployed the upgrade path. Everything was ok except that I deployed it on the wrong host (haboob). So I live migrated the HostedEngine

[ovirt-users] Re: Attaching LVM logical volume to VM

2021-11-28 Thread Nir Soffer
On Sun, Nov 28, 2021 at 12:37 PM wrote: > > Hi, > > I've just migrated from Libvirt/kvm to oVirt. > In libvirt I had a VM that had an LVM logical volume that was attached to a > guest as a disk. > > However in oVirt I can't immediately find such a capability. I understand > that this would

[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-28 Thread Sina Owolabi
Amazing. Thanks! Works! No to figure out how to create multiple vms at a time! On Sun, Nov 28, 2021 at 2:32 PM Gianluca Cecchi wrote: > > On Sun, Nov 28, 2021 at 3:44 AM Sina Owolabi wrote: >> >> >> - name: Print vm attributes >> ovirt.ovirt.ovirt_vm_info: >> auth: "{{

[ovirt-users] Re: Hosted Engine Deploy Failure

2021-11-28 Thread Gary Pedretty
Resolved there were two engine VMs competing with each other. Destroyed one and no more problems. Gary > On Nov 27, 2021, at 9:37 PM, Yedidyah Bar David wrote: > > Looks similar to this one: > > https://bugzilla.redhat.com/show_bug.cgi?id=1778087 >

[ovirt-users] Re: hosted engine vm not present

2021-11-28 Thread Yedidyah Bar David
On Sun, Nov 28, 2021 at 8:46 PM Nathanaël Blanchet wrote: > > Hello > > I successfully migrated from HE 4.3.10 to HE 4.4.9, but I think I commited a > mistake: > > The HostedEngine vm was running on the host (haboob) where I deployed the > upgrade path. > > Everything was ok except that I

[ovirt-users] Re: Updating hosted-engine from 4.4.5 to latest(4.4.9) fail with "DNF name '_get_key_for_package' is not defined"

2021-11-28 Thread Rene Jr Purcell
Hi, thanks a lot for taking time to help, here's the snippet I took from ovirt-engine-setup-20211126111800-qsadme.log, I think it might contain important info: https://pastebin.com/kmKCCX48 I'm not sure I can/should send the complete file on the list so I'm sending it directly to your email in

[ovirt-users] Re: Updating hosted-engine from 4.4.5 to latest(4.4.9) fail with "DNF name '_get_key_for_package' is not defined"

2021-11-28 Thread Yedidyah Bar David
On Mon, Nov 29, 2021 at 6:06 AM Rene Jr Purcell wrote: > > Allright after reading the bug report you've shared and looking again at the > logs I felt you were right on it, so I tried to update dnf to the latest > version, put hosted-engine in global maintenance and then rerun engine-setup. >

[ovirt-users] Re: Updating hosted-engine from 4.4.5 to latest(4.4.9) fail with "DNF name '_get_key_for_package' is not defined"

2021-11-28 Thread Rene Jr Purcell
Allright after reading the bug report you've shared and looking again at the logs I felt you were right on it, so I tried to update dnf to the latest version, put hosted-engine in global maintenance and then rerun engine-setup. It looks like the problem is fixed, thanks a lot again!! [ INFO ]

[ovirt-users] Re: Updating hosted-engine from 4.4.5 to latest(4.4.9) fail with "DNF name '_get_key_for_package' is not defined"

2021-11-28 Thread Rene Jr Purcell
Sorry, I forgot about the dnf.. here it is: # rpm -q dnf dnf-4.2.23-4.el8.noarch On Sun, Nov 28, 2021 at 1:31 AM Yedidyah Bar David wrote: > On Sat, Nov 27, 2021 at 2:01 AM wrote: > > > > Hi! I'm having issue updating my nodes, normally I just clicked on them > and update each of them without