Libvirt exception on live migrate

2021-11-24 Thread Peter Stine
Good afternoon everyone, I have gotten my cloudstack running, but I am unable to live migrate any of my VMs. I get an error like this: "Exception during migrate: org.libvirt.LibvirtException: Cannot get interface MTU on 'brenp3s0f0-3128': No such device" I have tried using an L2, isolated, and

RE: [!!Mass Mail]io uring is not supported by this QEMU binary

2021-11-24 Thread Piotr Pisz
Hi! Gabriel, could you suggest how to disable io_uring with agent.properties? In the second lab, I turned off advanced virtualization repo and downgrade qemu to native for CentOS 8 and everything works fine. Generally, I use a lot of nested virtualization and I need the latest version of qe

Re: [!!Mass Mail]io uring is not supported by this QEMU binary

2021-11-24 Thread Gabriel Bräscher
Hi Piotr, Unfortunately, the current implementation does not allow to customize the driver via the agent.properties. Instead, it evaluates Libvirt and Qemu versions in order to assess if it is supported. I considered the libvirt & qemu documentation where address support for io_uring and release

Re: Libvirt exception on live migrate

2021-11-24 Thread Wei ZHOU
Hi Peter, The information you provided is not enough to find out the root cause. Could you share more information ? cloudstack version os distribution and version network device name on source host and destination host output of `brctl show` or `bridge link` on source host and destination host lo

RE: [!!Mass Mail]io uring is not supported by this QEMU binary

2021-11-24 Thread Piotr Pisz
Hi, Thank you Gabriel for the explanations, being able to set up IO_Driver via agent.properties is a good direction. I will try to check why it is not supported in CentOS8 SIG Virtualization. Regards, Piotr From: Gabriel Bräscher Sent: Wednesday, November 24, 2021 10:02 AM To: p

Re: [!!Mass Mail]io uring is not supported by this QEMU binary

2021-11-24 Thread Wei ZHOU
Agree with Gabriel's proposal. -Wei On Wed, 24 Nov 2021 at 10:02, Gabriel Bräscher wrote: > Hi Piotr, > > Unfortunately, the current implementation does not allow to customize the > driver via the agent.properties. > Instead, it evaluates Libvirt and Qemu versions in order to assess if it is >

How to use @Configuration annotation

2021-11-24 Thread Rakesh Venkatesh
Hello devs I am trying to integrate third party library into cloudstack but the library supports @Configuration and @Enable* annotations to use it and not with xml files. I tried adding that annotation on a config file, built a new package but the cloudstack wont boot. It is stuck at below line

Re: Libvirt exception on live migrate

2021-11-24 Thread Peter Stine
Sure. Cloudstack version is 4.15.2 All of my systems are running Ubuntu server 20.04 (My hypervisor is KVM) Yes, the network device names are different on the hosts (see below). this is part of the issue, the virtual router does not seem to connect to the cloudbr1 or cloudbr0. Host 1 interface t

RE: How to control resource limits when account is linked to LDAP?

2021-11-24 Thread Jorge Luiz Correa
I've found the problem, it wasn't a bug. It was a configuration issue. I'm using 2 management servers with 2 database servers (HA) and HAProxy to load balance access. My second management server was configured with an error so it couldn't connect correctly with the database. When I created some vi

Re: Libvirt exception on live migrate

2021-11-24 Thread Peter Stine
Here are the agents' properties: https://gist.github.com/PeterS-gd/230c6e2b843901b71feb54c39270a4a8 Cloudstack can migrate a VM after I shutdown the VM, so it can recognize it in some way at least, but it cannot live migrate. Traffic labels: Management: cloudbr1 Guest: cloudbr0 Public: cloudbr0

Re: Configure Out-of-band Management?

2021-11-24 Thread James Steele
Thanks for the guidance Gabriel, it is much appreciated. Thanks, Jim

Re: [!!Mass Mail]io uring is not supported by this QEMU binary

2021-11-24 Thread Mauro Ferraro - G2K Hosting
Hi, We were try to deploy io_uring, but is supported since kernel 5.1 and CentOS 8 has Kernel 4.8. There is a backport request at redhat but is still in progress since april. https://access.redhat.com/solutions/4723221 I tnink redhat will include this when the updates the kernel version. We

Re: Libvirt exception on live migrate

2021-11-24 Thread Peter Stine
Hi Wei, I modified the qemu file on both hosts (and restarted the services just to be on the safe side), but am still running into the same error. Host 1 log (source): https://gist.github.com/PeterS-gd/f47652b744e1d6fb03bc1043136f9176 Host 2 log (destination): https://gist.github.com/PeterS-gd/

Re: Libvirt exception on live migrate

2021-11-24 Thread Peter Stine
Hi Wei, Hmm... that's a little frustrating, since not all of the hardware I'm working with is all the same. Sure. Here's the github link: https://github.com/apache/cloudstack/issues/5717 ~Peter From: "Wei ZHOU" Sent: 11/24/21 2:23 PM To: peter.st...@gr

Re: Libvirt exception on live migrate

2021-11-24 Thread Peter Stine
Wei, Yes, both hosts have /etc/libvirt/hooks/qemu and python3 installed. In this case, they both have the same names for their interfaces (enp3s0f0 and enp3s0f1), but host 1 is using enp3s0f0 and host 2 is using enp3s0f1. ~Peter From: "Wei ZHOU" Sent: 1