Eve-ng KVM acceleration not working in Ovirt.

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
robertodg
Posts: 3
Joined: Fri Mar 15, 2019 3:25 pm

Eve-ng KVM acceleration not working in Ovirt.

Post by robertodg » Fri Mar 15, 2019 4:08 pm

Hello everyone!

Actually I'm encountering a huge problem that I'll explain in steps, in order to be clear and discursive :roll: . First of all, I've deployed eve-ng Community Edition 2.0.3-92 on a KVM with those specs:

Server DELL PowerEdge R420
CPU: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz (24 Core total)
RAM: 24GB RAM
HDD: 4x 2TB

All was working fine, KVM virtualization was working well and i was able to deploy qemu images like PaloAlto (PANOS-8.0.5) with qemu-options accell=kvm without any problem.

After an internal company upgrade, i've decided to migrate this tool on a new server with better specs (with Ovirt 4.2 instead of KVM):
SuperMicro Server
CPU: Intel (R) Xeon (R) Platinum 8160T @ 2.10GHz (96 Core Total)
RAM: 256 GB (16x16) DDR4 2666Mhz Samsung M393A2K40BB2-CTD
HDD: x 2 Seagate ST500LM021-1KJ152 SATA 3.0 500GB
SSD: x 2 SSD Samsung SSD 850 PRO 1TB
NVMe: x 4 KXG50ZNV512G TOSHIBA 512GB (RAID0)

Before migration eve-ng had 12 cores, 12 GB RAM and 90 GB HDD. After migration he has now 16 Core, 32GB RAM and RAID0 100GB.

On Ovirt Pass-Through Host CPU is activated on VM, CPU nesting is activated too and after your new release (2.0.5-95) those are eve-info command logs:

root@eve-ng:/opt/unetlab/data/Logs# eve-info
Fri Mar 15 17:00:02 CET 2019
---------------Packages Installed----------------
ii eve-ng 2.0.3-95
ii eve-ng-dynamips 2.0.2-2
ii eve-ng-guacamole 2.0.3-87
ii eve-ng-qemu 2.0.4-34
ii eve-ng-schema 2.0.4-71
ii eve-ng-vpcs 1.0-eve-ng
ii linux-headers-4.9.40-eve-ng-ukms+ 4.9.40-eve-ng-ukms-brctl
ii linux-image-4.9.40-eve-ng-ukms-2+ 4.9.40-eve-ng-ukms-2-brctl

---------------Hostname--------------------------
Static hostname: eve-ng
Virtualization: kvm
Operating System: Ubuntu 16.04.6 LTS
Kernel: Linux 4.9.40-eve-ng-ukms-2+
Architecture: x86-64
---------------Disk Usage------------------------
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 18M 3.2G 1% /run
/dev/mapper/eve--ng--vg-root 48G 35G 11G 78% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/vda1 720M 117M 566M 18% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/0

---------------CPU Info--------------------------
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 16
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Platinum 8160T CPU @ 2.10GHz
Stepping: 4
CPU MHz: 2095.028
BogoMIPS: 4190.05
Virtualization: VT-x
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0-15
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 arat pku ospke

---------------Memory Info-----------------------
total used free shared buff/cache available
Mem: 31G 474M 30G 27M 520M 30G
Swap: 975M 0B 975M

---------------Nic Info--------------------------
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master pnet0 state UP mode DEFAULT group default qlen 1000

---------------IP Info---------------------------
● State: n/a

---------------Bridge Info-----------------------
pnet0 8000.001a4a2119ab no eth0
pnet1 8000.000000000000 no
pnet2 8000.000000000000 no
pnet3 8000.000000000000 no
pnet4 8000.000000000000 no
pnet5 8000.000000000000 no
pnet6 8000.000000000000 no
pnet7 8000.000000000000 no
pnet8 8000.000000000000 no
pnet9 8000.000000000000 no

---------------H/W Accel-------------------------
INFO: /dev/kvm exists
KVM acceleration can be used

---------------Service Info----------------------
-------------------------------------------------
--------------Guacamole--------------------------
● guacd.service - LSB: Guacamole proxy daemon
Loaded: loaded (/etc/init.d/guacd; bad; vendor preset: enabled)
Active: active (running) since Fri 2019-03-15 15:57:24 CET; 1h 2min ago

--------------Tomcat-----------------------------
● tomcat8.service - LSB: Start Tomcat.
Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled)
Active: active (running) since Fri 2019-03-15 15:57:30 CET; 1h 2min ago

--------------Mysql------------------------------
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-03-15 15:57:25 CET; 1h 2min ago

--------------Apache-----------------------------
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) since Fri 2019-03-15 15:57:28 CET; 1h 2min ago

However, after update/migration, i'm not able to deploy qemu images with accell=kvm enabled anymore. With same example PANOS-8.0.5 i'm able to run this qemu image only with this setting removed.
Thinking on a migration problem, i've deployed a new eve-ng VM with same specs but problem is still present.

Have you any idea on what might be the problem? In attachment you'll find VM Ovirt configuration:

Thanks for your support.

Roberto
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Eve-ng KVM acceleration not working in Ovirt.

Post by Uldis (UD) » Fri Mar 15, 2019 9:41 pm

Sorry but Ovirt is not in officially supported list of EVE virtualization..

robertodg
Posts: 3
Joined: Fri Mar 15, 2019 3:25 pm

Re: Eve-ng KVM acceleration not working in Ovirt.

Post by robertodg » Mon Mar 18, 2019 9:33 am

Fine :lol:

Is eve-ng supported by KVM instead? because Ovirt in this case is merely a manager of multiple KVMs..

In case, we're really interesting in buying a license for the professional edition. Is possible to ask eventually a support for make it compatible with our virtualization center?

Thanks for your support.

Roberto

robertodg
Posts: 3
Joined: Fri Mar 15, 2019 3:25 pm

Re: Eve-ng KVM acceleration not working in Ovirt.

Post by robertodg » Fri Mar 22, 2019 1:48 pm

Hi guys?

Any news?

Post Reply