[ovirt-users]Re: Disconnecting drive from VM

2020-01-22 Thread Paolo Airaldi
It does not create any issue to the source VM. 


The cloned VM will have missing disk(s) and its behavior will dipend on which 
disk(s) you removed. 


Cheers


Paolo 





 On mer, 22 gen 2020 22:44:46 +0100 anthonyw...@alfatron.com.au wrote 


Hi!
For a Virtual Machine that is already shutdown, does anyone know if I can 
detach a disk from the VM, export the remaining parts of the VM, then reattach 
the disk without causing any problems with the software installed in the VM?
Thanks,
Anthony
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HC7C7LACFQ7WOVPKRSSJZ3ERYC2Q467R/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EA2N6YVBVS6SGMISBBHB4M4QRKFRWHFE/


[ovirt-users] KVM (libvirt) VM Import

2020-01-22 Thread jorgevisentini
Hi all!

I have a Suse KVM and I would like to import all VMs to oVirt. There is a easy 
mode to make it?
I am try to import with Compute -> Virtual Machine -> Import.
I can visualize the VMs but its show me the error when I try import:

"libvirtError: Storage volume not found: no storage vol with matching path 
'/VMs01/VM/disk.qcow2"

Anyone can help-me please?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YE37OHKINCNXODTZPIDOOGB4GRCGSFLE/


[ovirt-users] Re: possible to export a running VM to OVA?

2020-01-22 Thread Jürgen Walch
Shutting down the VM during the export will give you a fully consistent state 
of the VM whereas snapshots without further help from the VM itself will only 
provide "crash consistency", that is provide you with a disk image equivalent 
to one where the power cord was plugged out of the running machine, which is 
usually, but not always consistent enough :)

BTW: As far as I understand the OVA export run from the engines web-gui *is* 
also doing a snapshot.
You can see the snapshot if you have a look at the VM's disks while the export 
is running.

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


[ovirt-users] Re: OVA export to NFS share slow

2020-01-22 Thread Jürgen Walch
➢ I have a very similar setup as you and have just very recently started 
testing OVA exports for backup purposes to NFS attached storage.
➢ I have a three node HCI on GlusterFS (SSD backed) with 10Gbit and my ovirt 
management network is 10Gbit as well.  My NFS storage server is an 8 x 8Tb 7200 
RPM drives in RAID10 running CentOS 8x with 10Gbit link.

Our setups are indeed similar, the main difference being, that my management 
network including the connection to the NFS server is only 1Gbit. Only 
GlusterFS has 10Gbit here.

➢ I haven't done specific measurement yet as I just setup the storage today but 
a test export of a 50Gb VM took just about ~10 minutes start to finish.

Doing the maths this is ~80MiB/s and 20 times faster than in my setup. Lucky 
you  
Much less than your 10Gbit link between NFS Server and nodes could provide, but 
maybe close to the limit of the drives in your NFS server.

The interesting thing is, that when setting up an export domain, stopping the 
VM and doing an export to the *same* NFS server, I'm getting write speeds as 
expected.
Only the OVA export is terribly slow.

The main difference I can see is the use of a loop device when exporting to OVA.
The export to the export domain does something like

/usr/bin/qemu-img convert -p -t none -T none -f raw {source disk on 
GlusterFS} {target disk on NFS server}

whereas the OVA export will do

/usr/bin/qemu-img convert -T none -O qcow2 {source snapshot on 
GlusterFS} /dev/loopX

with /dev/loopX pointing to the NFS OVA target image.

If you have the time and are willing to test, I would be interested in how fast 
your exports to an export domain are

-- 
   
 juergen

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


[ovirt-users] Re: Memory problem

2020-01-22 Thread Strahil Nikolov
On January 22, 2020 9:20:17 PM GMT+02:00, Stefan Wolf  wrote:
>Hi to all,
>
>I ve a memory problem
>I got this error:
>Used memory of host kvm380.durchhalten.intern in cluster Default [96%]
>exceeded defined threshold [95%].
>
>after reviewing the server with top command, I found ovn-controller
>with heavy memory usage:
>
>45055 root  10 -10   46,5g  45,4g   2400 S  51,3 72,4 627:58.60
>ovn-controller
>
>after restarting ovn-controller, every thing is fine again.
>after some days, it uses so much memory again. I ve also tried to wait
>a day or two, after that it seems to restart it self.
>
>is there a solution that ovn-controller does not use so much memory or
>restart automatic?
>
>thx
>
>shb
>___
>Users mailing list -- users@ovirt.org
>To unsubscribe send an email to users-le...@ovirt.org
>Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>oVirt Code of Conduct:
>https://www.ovirt.org/community/about/community-guidelines/
>List Archives:
>https://lists.ovirt.org/archives/list/users@ovirt.org/message/CW4YPJ5PEOR3RQQ7VDBZ7BYQ6A4LKP3Q/

Seems to me as memory leak.
Open a bug about that.

Best Regards,
Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/37BCD4EYAHLPR44BPWMIXJ26GYNURRBH/


[ovirt-users] Re: Hyperconverged solution

2020-01-22 Thread Strahil Nikolov
On January 22, 2020 6:46:39 PM GMT+02:00, Benedetto Vassallo 
 wrote:
>Hello Guys,
>Here at University of Palermo (Italy) we are planning to switch from  
>vmware to ovirt using the hyperconverged solution.
>Our design is a 6 nodes cluster, each node with this configuration:
>
>- 1x Dell PowerEdge R7425 server;
>- 2x AMD EPYC 7301 Processor;
>- 512GB of RAM (8x 64GB LRDIMM, 2666MT/s, Quad Rank);
>- 2x Broadcom 57412 Dual Port 10Gb SFP+ ethernet card;
>- 3x 600GB 10K RPM SAS for the OS (Raid1 + hotspare);
>- 5x 1.2TB 10K RPM SAS for the hosted storage domain (Raid5 +
>hotspare);
>- 11x 2.4TB 10KRPM SAS for the vm data domain (Raid6 + hotspare);
>- 4x 960GB SSD SAS for an additional SSD storage domain (Raid5 +
>hotspare);
>
>Is this configuration supported or I have to change something?
>Thank you and Best Regards.
>  --
>Benedetto Vassallo
>Responsabile U.O. Sviluppo e manutenzione dei sistemi
>Sistema Informativo di Ateneo
>Università degli studi di Palermo
>
>Phone: +3909123860056
>Fax: +3909123860880


Hi,

Recently it was mentioned that there were some issues with the 'too new' EPYC.
For now, you can do :
1. Use some old machines for initial setup of the HostedEngine VM (disable all 
Spectre/Meltdown in advance) -> and then add the new EPYC-based hosts and 
remove the older systems. Sadly, the older  systems cannot be too old :)

2. Host the HostedEngine VM on your current VmWare environment or on a separate 
KVM host. Hosting the HostedEngine on bare metal is also OK

3. Wait (I don't know how long) till EPYC issues are solved.


Best Regards,
Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/U5VB2ZZZA5J2EVGT3N4OPPF6RFL7MSBK/


[ovirt-users] Re: Disconnecting drive from VM

2020-01-22 Thread Jayme
I suppose it would matter how that disk is presented and used by the
operating system. If it’s the boot drive of course it would cause issues.
If it’s just a data disk maybe not.

On Wed, Jan 22, 2020 at 5:45 PM  wrote:

> Hi!
> For a Virtual Machine that is already shutdown, does anyone know if I can
> detach a disk from the VM, export the remaining parts of the VM, then
> reattach the disk without causing any problems with the software installed
> in the VM?
> Thanks,
> Anthony
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/HC7C7LACFQ7WOVPKRSSJZ3ERYC2Q467R/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ECEVZBLEEJQRWGE3Q4F76ZH2KXZN7TYF/


[ovirt-users] Disconnecting drive from VM

2020-01-22 Thread anthonywest
Hi!
For a Virtual Machine that is already shutdown, does anyone know if I can 
detach a disk from the VM, export the remaining parts of the VM, then reattach 
the disk without causing any problems with the software installed in the VM?
Thanks,
Anthony
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HC7C7LACFQ7WOVPKRSSJZ3ERYC2Q467R/


[ovirt-users] Re: oVirt on a Single Server

2020-01-22 Thread Staniforth, Paul
Hello Matt,
   probably the easiest setup to test/evaluate oVirt it to use 
ORB
https://www.ovirt.org/documentation/ovirt-orb/
oVirt Orb | oVirt
oVirt is a free open-source virtualization solution for your entire enterprise
www.ovirt.org
>From version 4.2 you can setup a single node hyper-converged install but it 
>requires more skills and resources.

https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Introduction.html
Introduction | 
oVirt
Chapter: Introduction. Hyperconvergence is a type of infrastructure system with 
a software-centric architecture that tightly integrates compute, storage, 
networking and virtualization resources and other technologies from scratch in 
a commodity hardware box supported by a single vendor[1].
www.ovirt.org

You could also use nested virtualization on KVM and virt-manager, use your host 
to provide NFS, iscsi or gluster and then provide a nested VM for the engine 
and hosts.

Regards,
 Paul S.

From: Matt R 
Sent: 21 January 2020 08:05
To: Tony Brian Albers 
Cc: users@ovirt.org 
Subject: [ovirt-users] Re: oVirt on a Single Server

Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

That was my original configuration, but I found that it wouldn't let me add the 
local machine as a host, and so I thought perhaps I needed to use the 
self-hosted deployment methodology instead.

Would a regular engine be better for my deployment type? If so, I can 
investigate why that isn't working, and start over.

Sent from my iPad

> On Jan 20, 2020, at 11:46 PM, Tony Brian Albers  wrote:
>
>> On Tue, 2020-01-21 at 07:35 +, webma...@hotmail.com wrote:
>> Hello,
>>
>> I can't seem to install the self-hosted engine onto local storage. It
>> gives me glustefs, iscsi, fc, and nfs as the available options. I'm
>> using this in a home-lab scenario, and don't have budget/etc. for
>> building out a dedicated NAS for it, or setting up multiple nodes. I
>> like the look of oVirt, and wanted to try it with a couple disposable
>> vm's (plex, and a docker instance I break often). My current best-
>> thought for how to make it work is to setup NFS on the server, and
>> then point the self-hosted engine at the (local) NFS share. Is there
>> a better way to do this that I might be overlooking?*
>>
>> *Factoring that I don't have the funds to build out a proper storage
>> environment, yet.
>>
>> (and if anyone asks, I did search for a solution to this, but didn't
>> find anything super helpful. Mostly I found 5+ year old articles on a
>> similar but different scenario).
>>
>
> Well, if you can live with a regular engine(not self-hosted), this
> works:
>
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fdocumentation%2Finstall-guide%2Fchap-Installing_oVirt.htmldata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C3bf3ffcd398845e3beda08d79e66be3d%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637152036428633744sdata=JBYBOxBIehI%2FcwVTre9Kex7infgL0M4Do4YYOCX%2B7X4%3Dreserved=0
>
>
> HTH
>
> /tony
>
>
>
>
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C3bf3ffcd398845e3beda08d79e66be3d%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637152036428633744sdata=1aO%2BOrYdzKyLMJ9mSuPuuW8ypfkzwdZrHsiOPe4b%2F74%3Dreserved=0
oVirt Code of Conduct: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C3bf3ffcd398845e3beda08d79e66be3d%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637152036428633744sdata=rSN9nFIMbo2QUF3QpsszsE%2FavRpz3LLZc3IekMZiLRY%3Dreserved=0
List Archives: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FEUSH2CN2XPJ3YOJIBMEX2MF56J6KICRV%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C3bf3ffcd398845e3beda08d79e66be3d%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637152036428633744sdata=5%2B2HgX4RkD69vtM0sQ3mejrg19PHp5BdgKhY2njJAbA%3Dreserved=0
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 

[ovirt-users] Memory problem

2020-01-22 Thread Stefan Wolf
Hi to all,

I ve a memory problem
I got this error:
Used memory of host kvm380.durchhalten.intern in cluster Default [96%] exceeded 
defined threshold [95%].

after reviewing the server with top command, I found ovn-controller with heavy 
memory usage:

45055 root  10 -10   46,5g  45,4g   2400 S  51,3 72,4 627:58.60 
ovn-controller

after restarting ovn-controller, every thing is fine again.
after some days, it uses so much memory again. I ve also tried to wait a day or 
two, after that it seems to restart it self.

is there a solution that ovn-controller does not use so much memory or restart 
automatic?

thx

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


[ovirt-users] Hyperconverged solution

2020-01-22 Thread Benedetto Vassallo

Hello Guys,
Here at University of Palermo (Italy) we are planning to switch from  
vmware to ovirt using the hyperconverged solution.

Our design is a 6 nodes cluster, each node with this configuration:

- 1x Dell PowerEdge R7425 server;
- 2x AMD EPYC 7301 Processor;
- 512GB of RAM (8x 64GB LRDIMM, 2666MT/s, Quad Rank);
- 2x Broadcom 57412 Dual Port 10Gb SFP+ ethernet card;
- 3x 600GB 10K RPM SAS for the OS (Raid1 + hotspare);
- 5x 1.2TB 10K RPM SAS for the hosted storage domain (Raid5 + hotspare);
- 11x 2.4TB 10KRPM SAS for the vm data domain (Raid6 + hotspare);
- 4x 960GB SSD SAS for an additional SSD storage domain (Raid5 + hotspare);

Is this configuration supported or I have to change something?
Thank you and Best Regards.
 --
Benedetto Vassallo
Responsabile U.O. Sviluppo e manutenzione dei sistemi
Sistema Informativo di Ateneo
Università degli studi di Palermo

Phone: +3909123860056
Fax: +3909123860880
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JU7PVYPSNUASWZAU2VG2DRCLSWHK5XRX/


[ovirt-users] ovirt_vm ansible module -- how to wait for ova export to finish

2020-01-22 Thread Jayme
I wrote a simple task that is using the ovirt_vm module
https://docs.ansible.com/ansible/latest/modules/ovirt_vm_module.html -- it
essentially loops over a list of vms and exports them to OVA.

The problem I have is the task is deemed changed once it successfully
submits the export task to oVirt. This means that if I gave it a list of
100 Vms I believe it would start an export task on all of them. I want to
prevent this and have it only export one VM at a time. In order to do this
I believe I will need to find a way for the task to wait and somehow verify
that the export was completed before submitting a task for the next VM
export.

Any ideas?

- name: Export the VM
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ item }}"
state: exported
cluster: default
export_ova:
host: Host0
filename: "{{ item }}"
directory: /backup/
  with_items: "{{ vms }}"
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PXYAQ7YEBQCUWCAQCFAFXB3545LNB23X/


[ovirt-users] Re: OVA export to NFS share slow

2020-01-22 Thread Jayme
Hello,

I have a very similar setup as you and have just very recently started
testing OVA exports for backup purposes to NFS attached storage.

I have a three node HCI on GlusterFS (SSD backed) with 10Gbit and my ovirt
management network is 10Gbit as well.  My NFS storage server is an 8 x 8Tb
7200 RPM drives in RAID10 running CentOS 8x with 10Gbit link.

I haven't done specific measurement yet as I just setup the storage today
but a test export of a 50Gb VM took just about ~10 minutes start to finish.

I will hopefully be doing some further testing over the next few weeks and
am interested to hear how you get along as well. If it's helpful I'd be
happy to run any testing you might be interested in on my equipment to see
how it compares.

- Jayme

On Wed, Jan 22, 2020 at 10:16 AM Jürgen Walch  wrote:

> Hello,
>
> we are using oVirt on a production system with a three node
> hyperconverged-cluster based on GlusterFS with a 10Gbit storage backbone
> network.
> Everything runs smooth except OVA exports.
>
> Each node has a NFS mount mounted on
>
> /data/ova
>
> with custom mount option "soft".
> The NFS server used is a plain vanilla CentOS7 host with /etc/exports
> containing a line
>
> /data/ova *(rw,all_squash,anonuid=36,anongid=36)
>
> When exporting VM's as OVA using the engine web gui, the export is
> terribly slow (~4MiB/s), it succeeds for small disks (up to 20GB),
> exporting larger disks fails with a timeout.
> The network link between oVirt-nodes and NFS server is 1Gbit.
>
> I have done a little testing and looked at the code in
> /usr/share/ovirt-engine/playbooks/roles/ovirt-ova-pack/files/pack_ova.py.
> It seems, the export is done by setting up a loop device /dev/loopX on the
> exporting node linked to a freshly generated sparse file
> /data/ova/{vmname}.tmp on the NFS share and then exporting the disk using
> qemu-img with target /dev/loopX.
> Using iotop on the node doing the export I can see write rates ranging
> from 2-5 Mib/s on the /dev/loopX device.
>
> When copying to the NFS share /data/ova using dd or qemu-img *directly*
> (that is using /data/ova/test.img instead of the loop device as target) I
> am getting write rates of ~100MiB/s which is the expected performance of
> the NFS servers underlying harddisk-system and the network connection. It
> seems that the loop device is the bottleneck.
>
> So far I have been playing with NFS mount options and the options passed
> to qemu-img in
> /usr/share/ovirt-engine/playbooks/roles/ovirt-ova-pack/files/pack_ova.py
> without any success.
>
> Any ideas or anyone with similar problems ? 
>
> --
>
>  juergen walch
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/HZIAYHUKQ5XHGPM3PC4O5GGKHCB52XKU/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SVCUY3KAYUGS5AUN5IHJPJDY7Z2RZPTD/


[ovirt-users] OVA export to NFS share slow

2020-01-22 Thread Jürgen Walch
Hello,

we are using oVirt on a production system with a three node 
hyperconverged-cluster based on GlusterFS with a 10Gbit storage backbone 
network.
Everything runs smooth except OVA exports.

Each node has a NFS mount mounted on

/data/ova

with custom mount option "soft". 
The NFS server used is a plain vanilla CentOS7 host with /etc/exports 
containing a line

/data/ova *(rw,all_squash,anonuid=36,anongid=36)

When exporting VM's as OVA using the engine web gui, the export is terribly 
slow (~4MiB/s), it succeeds for small disks (up to 20GB), exporting larger 
disks fails with a timeout.
The network link between oVirt-nodes and NFS server is 1Gbit.

I have done a little testing and looked at the code in 
/usr/share/ovirt-engine/playbooks/roles/ovirt-ova-pack/files/pack_ova.py.
It seems, the export is done by setting up a loop device /dev/loopX on the 
exporting node linked to a freshly generated sparse file /data/ova/{vmname}.tmp 
on the NFS share and then exporting the disk using qemu-img with target 
/dev/loopX.
Using iotop on the node doing the export I can see write rates ranging from 2-5 
Mib/s on the /dev/loopX device.

When copying to the NFS share /data/ova using dd or qemu-img *directly* (that 
is using /data/ova/test.img instead of the loop device as target) I am getting 
write rates of ~100MiB/s which is the expected performance of the NFS servers 
underlying harddisk-system and the network connection. It seems that the loop 
device is the bottleneck.

So far I have been playing with NFS mount options and the options passed to 
qemu-img in 
/usr/share/ovirt-engine/playbooks/roles/ovirt-ova-pack/files/pack_ova.py 
without any success.

Any ideas or anyone with similar problems ? 

-- 
   
 juergen walch

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


[ovirt-users] Re: oVirt MAC Pool question

2020-01-22 Thread Yedidyah Bar David
On Tue, Jan 21, 2020 at 2:30 PM Vrgotic, Marko
 wrote:
>
> Dear oVirt,
>
>
>
> While investigating and DHCP & DDNS collision issues between two VM servers 
> from different oVirt clusters, I noticed that oVirt assigns same default MAC 
> range for each of it’s managed clusters.

Is this a new 4.3 setup, or upgraded from earlier versions?

See also:

https://bugzilla.redhat.com/show_bug.cgi?id=1516445

Fixed in 4.3 (and backported to 4.2.7), only for new setups. The
default changed several times in versions before these, and upgrades
do not change the stored default.

What's your default mac pool in each engine? You can get it with:

/usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select from_mac,
to_mac from mac_pools, mac_pool_ranges where id=mac_pool_id and
default_pool='t'"

Or by checking admin ui - Administration -> Configure, there "MAC
Address Pools", and double click Default.

>
>
>
> Question1: Does oVirt-Engine keep separate place in DB or … for MAC addresses 
> assigned per cluster or it keeps them all in same place?

By *default*, all in same place, and above bug (and patches linked
from it) describe the current specifics. This changed several times
along the versions before these.

You can manually configure it, including to be per cluster - search
for "MAC Address Pools" here:

https://www.ovirt.org/documentation/admin-guide/chap-Global_Configuration.html

>
>
>
> Question2: Would there be an harming effect on existing VMs if the default 
> mac pool would be changed?

I am pretty certain it's harmless, but didn't try that myself.




>
>
>
>
>
> Additional info:
>
> Self Hosted ovirt-engine – 4.3.4 and 4.3.7
>
>
>
>
>
> -
>
> kind regards/met vriendelijke groeten
>
>
>
> Marko Vrgotic
> ActiveVideo
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TCNZHWSYS2VKGAE24ECMCYKK4YVYYLYL/



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