You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Andrey Smirnov <an...@andreysmirnov.com> on 2022/05/24 14:16:36 UTC
Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Hi,
I do have a working Cloudstack deployment without any major issues until
Rocky 8.6 or Alma 8.6 hit the stage. These point releases upgraded
libvirt from version 6.0.0 to 8.0.0. Everything looked OK after the
upgrade: hosts connected to management servers without any major errors
in logs, nothing specific -- except -- Cloudstack cannot deploy VMs on
upgraded hosts with libvirt 8.0.0 -- not available capacity. Maybe some
configuration changes are required from agent configuration standpoint ?
Sincerely
Andrey
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Nicolas Vazquez <Ni...@shapeblue.com>.
Thanks Wei for providing the patch.
Just wanted to explicitly mention to apply the patch please make sure to backup the original .jar file and replace it with the patch jar keeping the original name (cloud-plugin-hypervisor-kvm-4.16.1.0.jar). This will prevent any issues on future upgrades
Regards,
Nicolas Vazquez
From: Wei ZHOU <us...@gmail.com>
Date: Tuesday, 24 May 2022 at 16:59
To: users <us...@cloudstack.apache.org>
Subject: Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Hi Andrey,
Glad to know it. Thanks for your update.
-Wei
On Tue, 24 May 2022 at 19:34, Andrey Smirnov <an...@andreysmirnov.com>
wrote:
> Wei,
>
> I have just tested your jar file -- and it fixes the issue I described.
> Thank you so much for your help, I really appreciate it.
>
> Sincerely
>
> Andrey
>
> On 5/24/22 1:16 PM, Wei ZHOU wrote:
> > Hi Andrey,
> >
> > 4.17.0.0 will be released in the coming days.
> >
> > I just cherry-picked the commits to 4.16.1.0 release, and created a
> patch.
> > If you want to test it , please check
> > https://github.com/weizhouapache/cloudstack/releases/tag/4.16.1.0-patch1
> >
> > -Wei
> >
> >
> >
> >
> > On Tue, 24 May 2022 at 17:50, Andrey Smirnov <an...@andreysmirnov.com>
> > wrote:
> >
> >> Hi Wei,
> >>
> >> I appreciate your quick response -- but what should I do? -- to wait
> until
> >> next Cloudstack release fixes it and which one does it?
> >> On 5/24/22 11:36 AM, Wei ZHOU wrote:
> >>
> >> Hi Andrey,
> >>
> >> Then it is related to these commits
> >> https://github.com/apache/cloudstack/pull/5012 (root cause)
> >> https://github.com/apache/cloudstack/pull/6253 (fix1)
> >> https://github.com/apache/cloudstack/pull/6399 (fix2)
> >>
> >> -Wei
> >>
>
>
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Wei ZHOU <us...@gmail.com>.
Hi Andrey,
Glad to know it. Thanks for your update.
-Wei
On Tue, 24 May 2022 at 19:34, Andrey Smirnov <an...@andreysmirnov.com>
wrote:
> Wei,
>
> I have just tested your jar file -- and it fixes the issue I described.
> Thank you so much for your help, I really appreciate it.
>
> Sincerely
>
> Andrey
>
> On 5/24/22 1:16 PM, Wei ZHOU wrote:
> > Hi Andrey,
> >
> > 4.17.0.0 will be released in the coming days.
> >
> > I just cherry-picked the commits to 4.16.1.0 release, and created a
> patch.
> > If you want to test it , please check
> > https://github.com/weizhouapache/cloudstack/releases/tag/4.16.1.0-patch1
> >
> > -Wei
> >
> >
> >
> >
> > On Tue, 24 May 2022 at 17:50, Andrey Smirnov <an...@andreysmirnov.com>
> > wrote:
> >
> >> Hi Wei,
> >>
> >> I appreciate your quick response -- but what should I do? -- to wait
> until
> >> next Cloudstack release fixes it and which one does it?
> >> On 5/24/22 11:36 AM, Wei ZHOU wrote:
> >>
> >> Hi Andrey,
> >>
> >> Then it is related to these commits
> >> https://github.com/apache/cloudstack/pull/5012 (root cause)
> >> https://github.com/apache/cloudstack/pull/6253 (fix1)
> >> https://github.com/apache/cloudstack/pull/6399 (fix2)
> >>
> >> -Wei
> >>
>
>
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Andrey Smirnov <an...@andreysmirnov.com>.
Wei,
I have just tested your jar file -- and it fixes the issue I described.
Thank you so much for your help, I really appreciate it.
Sincerely
Andrey
On 5/24/22 1:16 PM, Wei ZHOU wrote:
> Hi Andrey,
>
> 4.17.0.0 will be released in the coming days.
>
> I just cherry-picked the commits to 4.16.1.0 release, and created a patch.
> If you want to test it , please check
> https://github.com/weizhouapache/cloudstack/releases/tag/4.16.1.0-patch1
>
> -Wei
>
>
>
>
> On Tue, 24 May 2022 at 17:50, Andrey Smirnov <an...@andreysmirnov.com>
> wrote:
>
>> Hi Wei,
>>
>> I appreciate your quick response -- but what should I do? -- to wait until
>> next Cloudstack release fixes it and which one does it?
>> On 5/24/22 11:36 AM, Wei ZHOU wrote:
>>
>> Hi Andrey,
>>
>> Then it is related to these commits
>> https://github.com/apache/cloudstack/pull/5012 (root cause)
>> https://github.com/apache/cloudstack/pull/6253 (fix1)
>> https://github.com/apache/cloudstack/pull/6399 (fix2)
>>
>> -Wei
>>
>> On Tue, 24 May 2022 at 17:14, Andrey Smirnov <an...@andreysmirnov.com>
>> wrote:
>>
>>> Thank you -- but it is not related I guess my errors are (until upgrade
>>> everything worked as expected with no issues :
>>>
>>>
>>> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
>>> (agentRequest-Handler-1:null) (logid:3be8672d) Creating volume
>>> da495567-29b9-42e4-b42b-dff2fcccf95d from template
>>> c9d36c44-0688-49e0-9dd2-f273ce218bd1 in pool
>>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 (Filesystem) with size (15.00 GB)
>>> 16106127360
>>> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
>>> (agentRequest-Handler-1:null) (logid:3be8672d) Attempting to create volume
>>> da495567-29b9-42e4-b42b-dff2fcccf95d (Filesystem) in pool
>>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 with size (15.00 GB) 16106127360
>>> 2022-05-24 11:08:25,972 INFO [kvm.storage.LibvirtStorageAdaptor]
>>> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
>>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
>>> 2022-05-24 11:08:25,992 INFO [kvm.storage.LibvirtStorageAdaptor]
>>> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
>>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
>>> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
>>> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy script
>>> '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not
>>> available. Transformations will not be applied.
>>> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
>>> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy scripting engine is
>>> not initialized. Data transformation skipped.
>>> 2022-05-24 11:08:26,073 WARN
>>> [resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-2:null)
>>> (logid:3be8672d) LibvirtException
>>> org.libvirt.LibvirtException: unsupported configuration: io uring is not
>>> supported by this QEMU binary
>>> at org.libvirt.ErrorHandler.processError(Unknown Source)
>>> at org.libvirt.ErrorHandler.processError(Unknown Source)
>>> at org.libvirt.Connect.domainCreateXML(Unknown Source)
>>> at
>>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1736)
>>>
>>> at
>>> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:86)
>>>
>>> at
>>> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:46)
>>>
>>> at
>>> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
>>>
>>> at
>>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1768)
>>>
>>> at com.cloud.agent.Agent.processRequest(Agent.java:661)
>>> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
>>> at com.cloud.utils.nio.Task.call(Task.java:83)
>>> at com.cloud.utils.nio.Task.call(Task.java:29)
>>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>>> at
>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>>
>>> at
>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>>
>>> at java.base/java.lang.Thread.run(Thread.java:829)
>>> 2022-05-24 11:08:26,214 INFO [kvm.storage.LibvirtStorageAdaptor]
>>> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
>>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
>>> 2022-05-24 11:08:26,258 INFO [kvm.resource.LibvirtConnection]
>>> (agentRequest-Handler-3:null) (logid:3be8672d) No existing libvirtd
>>> connection found. Opening a new one
>>> 2022-05-24 11:08:26,260 WARN [kvm.resource.LibvirtConnection]
>>> (agentRequest-Handler-3:null) (logid:3be8672d) Can not find a connection
>>> for Instance i-5-8368-VM. Assuming the default connection.
>>> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
>>> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy script
>>> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
>>> available. Transformations will not be applied.
>>> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
>>> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy scripting engine is
>>> not initialized. Data transformation skipped.
>>>
>>>
>>> On 5/24/22 11:03 AM, Wei ZHOU wrote:
>>>
>>> Hi Andrey,
>>>
>>> I think you are hitting the issue caused by the vnc password change in
>>> libvirt.
>>> please refer tohttps://github.com/apache/cloudstack/pull/6402https://github.com/apache/cloudstack/pull/6404
>>>
>>> Kind regards,
>>> Wei
>>>
>>> On Tue, 24 May 2022 at 16:16, Andrey Smirnov <an...@andreysmirnov.com> <an...@andreysmirnov.com>
>>> wrote:
>>>
>>>
>>> Hi,
>>>
>>> I do have a working Cloudstack deployment without any major issues until
>>> Rocky 8.6 or Alma 8.6 hit the stage. These point releases upgraded
>>> libvirt from version 6.0.0 to 8.0.0. Everything looked OK after the
>>> upgrade: hosts connected to management servers without any major errors
>>> in logs, nothing specific -- except -- Cloudstack cannot deploy VMs on
>>> upgraded hosts with libvirt 8.0.0 -- not available capacity. Maybe some
>>> configuration changes are required from agent configuration standpoint ?
>>>
>>> Sincerely
>>>
>>> Andrey
>>>
>>>
>>>
>>>
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Wei ZHOU <us...@gmail.com>.
Hi Andrey,
4.17.0.0 will be released in the coming days.
I just cherry-picked the commits to 4.16.1.0 release, and created a patch.
If you want to test it , please check
https://github.com/weizhouapache/cloudstack/releases/tag/4.16.1.0-patch1
-Wei
On Tue, 24 May 2022 at 17:50, Andrey Smirnov <an...@andreysmirnov.com>
wrote:
> Hi Wei,
>
> I appreciate your quick response -- but what should I do? -- to wait until
> next Cloudstack release fixes it and which one does it?
> On 5/24/22 11:36 AM, Wei ZHOU wrote:
>
> Hi Andrey,
>
> Then it is related to these commits
> https://github.com/apache/cloudstack/pull/5012 (root cause)
> https://github.com/apache/cloudstack/pull/6253 (fix1)
> https://github.com/apache/cloudstack/pull/6399 (fix2)
>
> -Wei
>
> On Tue, 24 May 2022 at 17:14, Andrey Smirnov <an...@andreysmirnov.com>
> wrote:
>
>> Thank you -- but it is not related I guess my errors are (until upgrade
>> everything worked as expected with no issues :
>>
>>
>> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-1:null) (logid:3be8672d) Creating volume
>> da495567-29b9-42e4-b42b-dff2fcccf95d from template
>> c9d36c44-0688-49e0-9dd2-f273ce218bd1 in pool
>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 (Filesystem) with size (15.00 GB)
>> 16106127360
>> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-1:null) (logid:3be8672d) Attempting to create volume
>> da495567-29b9-42e4-b42b-dff2fcccf95d (Filesystem) in pool
>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 with size (15.00 GB) 16106127360
>> 2022-05-24 11:08:25,972 INFO [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
>> 2022-05-24 11:08:25,992 INFO [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
>> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
>> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy script
>> '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not
>> available. Transformations will not be applied.
>> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
>> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy scripting engine is
>> not initialized. Data transformation skipped.
>> 2022-05-24 11:08:26,073 WARN
>> [resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-2:null)
>> (logid:3be8672d) LibvirtException
>> org.libvirt.LibvirtException: unsupported configuration: io uring is not
>> supported by this QEMU binary
>> at org.libvirt.ErrorHandler.processError(Unknown Source)
>> at org.libvirt.ErrorHandler.processError(Unknown Source)
>> at org.libvirt.Connect.domainCreateXML(Unknown Source)
>> at
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1736)
>>
>> at
>> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:86)
>>
>> at
>> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:46)
>>
>> at
>> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
>>
>> at
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1768)
>>
>> at com.cloud.agent.Agent.processRequest(Agent.java:661)
>> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
>> at com.cloud.utils.nio.Task.call(Task.java:83)
>> at com.cloud.utils.nio.Task.call(Task.java:29)
>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>> at
>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>
>> at
>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>
>> at java.base/java.lang.Thread.run(Thread.java:829)
>> 2022-05-24 11:08:26,214 INFO [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
>> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
>> 2022-05-24 11:08:26,258 INFO [kvm.resource.LibvirtConnection]
>> (agentRequest-Handler-3:null) (logid:3be8672d) No existing libvirtd
>> connection found. Opening a new one
>> 2022-05-24 11:08:26,260 WARN [kvm.resource.LibvirtConnection]
>> (agentRequest-Handler-3:null) (logid:3be8672d) Can not find a connection
>> for Instance i-5-8368-VM. Assuming the default connection.
>> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
>> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy script
>> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
>> available. Transformations will not be applied.
>> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
>> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy scripting engine is
>> not initialized. Data transformation skipped.
>>
>>
>> On 5/24/22 11:03 AM, Wei ZHOU wrote:
>>
>> Hi Andrey,
>>
>> I think you are hitting the issue caused by the vnc password change in
>> libvirt.
>> please refer tohttps://github.com/apache/cloudstack/pull/6402https://github.com/apache/cloudstack/pull/6404
>>
>> Kind regards,
>> Wei
>>
>> On Tue, 24 May 2022 at 16:16, Andrey Smirnov <an...@andreysmirnov.com> <an...@andreysmirnov.com>
>> wrote:
>>
>>
>> Hi,
>>
>> I do have a working Cloudstack deployment without any major issues until
>> Rocky 8.6 or Alma 8.6 hit the stage. These point releases upgraded
>> libvirt from version 6.0.0 to 8.0.0. Everything looked OK after the
>> upgrade: hosts connected to management servers without any major errors
>> in logs, nothing specific -- except -- Cloudstack cannot deploy VMs on
>> upgraded hosts with libvirt 8.0.0 -- not available capacity. Maybe some
>> configuration changes are required from agent configuration standpoint ?
>>
>> Sincerely
>>
>> Andrey
>>
>>
>>
>>
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Andrey Smirnov <an...@andreysmirnov.com>.
Hi Wei,
I appreciate your quick response -- but what should I do? -- to wait
until next Cloudstack release fixes it and which one does it?
On 5/24/22 11:36 AM, Wei ZHOU wrote:
> Hi Andrey,
>
> Then it is related to these commits
> https://github.com/apache/cloudstack/pull/5012 (root cause)
> https://github.com/apache/cloudstack/pull/6253 (fix1)
> https://github.com/apache/cloudstack/pull/6399 (fix2)
>
> -Wei
>
> On Tue, 24 May 2022 at 17:14, Andrey Smirnov
> <an...@andreysmirnov.com> wrote:
>
> Thank you -- but it is not related I guess my errors are (until
> upgrade everything worked as expected with no issues :
>
>
> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:3be8672d) Creating volume
> da495567-29b9-42e4-b42b-dff2fcccf95d from template
> c9d36c44-0688-49e0-9dd2-f273ce218bd1 in pool
> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 (Filesystem) with size (15.00
> GB) 16106127360
> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:3be8672d) Attempting to
> create volume da495567-29b9-42e4-b42b-dff2fcccf95d (Filesystem) in
> pool 5436145d-37cd-4e46-b3b2-bd25184c0cc8 with size (15.00 GB)
> 16106127360
> 2022-05-24 11:08:25,972 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch
> storage pool 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
> 2022-05-24 11:08:25,992 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch
> storage pool 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is
> not available. Transformations will not be applied.
> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy scripting
> engine is not initialized. Data transformation skipped.
> 2022-05-24 11:08:26,073 WARN
> [resource.wrapper.LibvirtStartCommandWrapper]
> (agentRequest-Handler-2:null) (logid:3be8672d) LibvirtException
> org.libvirt.LibvirtException: unsupported configuration: io uring
> is not supported by this QEMU binary
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.Connect.domainCreateXML(Unknown Source)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1736)
>
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:86)
>
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:46)
>
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
>
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1768)
>
> at com.cloud.agent.Agent.processRequest(Agent.java:661)
> at
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
> at com.cloud.utils.nio.Task.call(Task.java:83)
> at com.cloud.utils.nio.Task.call(Task.java:29)
> at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>
> at java.base/java.lang.Thread.run(Thread.java:829)
> 2022-05-24 11:08:26,214 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch
> storage pool 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
> 2022-05-24 11:08:26,258 INFO [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-3:null) (logid:3be8672d) No existing
> libvirtd connection found. Opening a new one
> 2022-05-24 11:08:26,260 WARN [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-3:null) (logid:3be8672d) Can not find a
> connection for Instance i-5-8368-VM. Assuming the default connection.
> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is
> not available. Transformations will not be applied.
> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy scripting
> engine is not initialized. Data transformation skipped.
>
>
> On 5/24/22 11:03 AM, Wei ZHOU wrote:
>> Hi Andrey,
>>
>> I think you are hitting the issue caused by the vnc password change in
>> libvirt.
>> please refer to
>> https://github.com/apache/cloudstack/pull/6402
>> https://github.com/apache/cloudstack/pull/6404
>>
>> Kind regards,
>> Wei
>>
>> On Tue, 24 May 2022 at 16:16, Andrey Smirnov<an...@andreysmirnov.com> <ma...@andreysmirnov.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I do have a working Cloudstack deployment without any major issues until
>>> Rocky 8.6 or Alma 8.6 hit the stage. These point releases upgraded
>>> libvirt from version 6.0.0 to 8.0.0. Everything looked OK after the
>>> upgrade: hosts connected to management servers without any major errors
>>> in logs, nothing specific -- except -- Cloudstack cannot deploy VMs on
>>> upgraded hosts with libvirt 8.0.0 -- not available capacity. Maybe some
>>> configuration changes are required from agent configuration standpoint ?
>>>
>>> Sincerely
>>>
>>> Andrey
>>>
>>>
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Wei ZHOU <us...@gmail.com>.
Hi Andrey,
Then it is related to these commits
https://github.com/apache/cloudstack/pull/5012 (root cause)
https://github.com/apache/cloudstack/pull/6253 (fix1)
https://github.com/apache/cloudstack/pull/6399 (fix2)
-Wei
On Tue, 24 May 2022 at 17:14, Andrey Smirnov <an...@andreysmirnov.com>
wrote:
> Thank you -- but it is not related I guess my errors are (until upgrade
> everything worked as expected with no issues :
>
>
> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:3be8672d) Creating volume
> da495567-29b9-42e4-b42b-dff2fcccf95d from template
> c9d36c44-0688-49e0-9dd2-f273ce218bd1 in pool
> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 (Filesystem) with size (15.00 GB)
> 16106127360
> 2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:3be8672d) Attempting to create volume
> da495567-29b9-42e4-b42b-dff2fcccf95d (Filesystem) in pool
> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 with size (15.00 GB) 16106127360
> 2022-05-24 11:08:25,972 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
> 2022-05-24 11:08:25,992 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not
> available. Transformations will not be applied.
> 2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:3be8672d) Groovy scripting engine is
> not initialized. Data transformation skipped.
> 2022-05-24 11:08:26,073 WARN
> [resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-2:null)
> (logid:3be8672d) LibvirtException
> org.libvirt.LibvirtException: unsupported configuration: io uring is not
> supported by this QEMU binary
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.Connect.domainCreateXML(Unknown Source)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1736)
>
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:86)
>
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:46)
>
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
>
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1768)
>
> at com.cloud.agent.Agent.processRequest(Agent.java:661)
> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
> at com.cloud.utils.nio.Task.call(Task.java:83)
> at com.cloud.utils.nio.Task.call(Task.java:29)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>
> at java.base/java.lang.Thread.run(Thread.java:829)
> 2022-05-24 11:08:26,214 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage pool
> 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
> 2022-05-24 11:08:26,258 INFO [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-3:null) (logid:3be8672d) No existing libvirtd
> connection found. Opening a new one
> 2022-05-24 11:08:26,260 WARN [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-3:null) (logid:3be8672d) Can not find a connection
> for Instance i-5-8368-VM. Assuming the default connection.
> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
> available. Transformations will not be applied.
> 2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-3:null) (logid:3be8672d) Groovy scripting engine is
> not initialized. Data transformation skipped.
>
>
> On 5/24/22 11:03 AM, Wei ZHOU wrote:
>
> Hi Andrey,
>
> I think you are hitting the issue caused by the vnc password change in
> libvirt.
> please refer tohttps://github.com/apache/cloudstack/pull/6402https://github.com/apache/cloudstack/pull/6404
>
> Kind regards,
> Wei
>
> On Tue, 24 May 2022 at 16:16, Andrey Smirnov <an...@andreysmirnov.com> <an...@andreysmirnov.com>
> wrote:
>
>
> Hi,
>
> I do have a working Cloudstack deployment without any major issues until
> Rocky 8.6 or Alma 8.6 hit the stage. These point releases upgraded
> libvirt from version 6.0.0 to 8.0.0. Everything looked OK after the
> upgrade: hosts connected to management servers without any major errors
> in logs, nothing specific -- except -- Cloudstack cannot deploy VMs on
> upgraded hosts with libvirt 8.0.0 -- not available capacity. Maybe some
> configuration changes are required from agent configuration standpoint ?
>
> Sincerely
>
> Andrey
>
>
>
>
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Andrey Smirnov <an...@andreysmirnov.com>.
Thank you -- but it is not related I guess my errors are (until upgrade
everything worked as expected with no issues :
2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-1:null) (logid:3be8672d) Creating volume
da495567-29b9-42e4-b42b-dff2fcccf95d from template
c9d36c44-0688-49e0-9dd2-f273ce218bd1 in pool
5436145d-37cd-4e46-b3b2-bd25184c0cc8 (Filesystem) with size (15.00 GB)
16106127360
2022-05-24 11:08:25,766 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-1:null) (logid:3be8672d) Attempting to create
volume da495567-29b9-42e4-b42b-dff2fcccf95d (Filesystem) in pool
5436145d-37cd-4e46-b3b2-bd25184c0cc8 with size (15.00 GB) 16106127360
2022-05-24 11:08:25,972 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage
pool 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
2022-05-24 11:08:25,992 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage
pool 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-2:null) (logid:3be8672d) Groovy script
'/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not
available. Transformations will not be applied.
2022-05-24 11:08:26,032 WARN [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-2:null) (logid:3be8672d) Groovy scripting engine
is not initialized. Data transformation skipped.
2022-05-24 11:08:26,073 WARN
[resource.wrapper.LibvirtStartCommandWrapper]
(agentRequest-Handler-2:null) (logid:3be8672d) LibvirtException
org.libvirt.LibvirtException: unsupported configuration: io uring is not
supported by this QEMU binary
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.domainCreateXML(Unknown Source)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1736)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:86)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:46)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1768)
at com.cloud.agent.Agent.processRequest(Agent.java:661)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
at com.cloud.utils.nio.Task.call(Task.java:83)
at com.cloud.utils.nio.Task.call(Task.java:29)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2022-05-24 11:08:26,214 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-2:null) (logid:3be8672d) Trying to fetch storage
pool 5436145d-37cd-4e46-b3b2-bd25184c0cc8 from libvirt
2022-05-24 11:08:26,258 INFO [kvm.resource.LibvirtConnection]
(agentRequest-Handler-3:null) (logid:3be8672d) No existing libvirtd
connection found. Opening a new one
2022-05-24 11:08:26,260 WARN [kvm.resource.LibvirtConnection]
(agentRequest-Handler-3:null) (logid:3be8672d) Can not find a connection
for Instance i-5-8368-VM. Assuming the default connection.
2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-3:null) (logid:3be8672d) Groovy script
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
available. Transformations will not be applied.
2022-05-24 11:08:26,417 WARN [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-3:null) (logid:3be8672d) Groovy scripting engine
is not initialized. Data transformation skipped.
On 5/24/22 11:03 AM, Wei ZHOU wrote:
> Hi Andrey,
>
> I think you are hitting the issue caused by the vnc password change in
> libvirt.
> please refer to
> https://github.com/apache/cloudstack/pull/6402
> https://github.com/apache/cloudstack/pull/6404
>
> Kind regards,
> Wei
>
> On Tue, 24 May 2022 at 16:16, Andrey Smirnov<an...@andreysmirnov.com>
> wrote:
>
>> Hi,
>>
>> I do have a working Cloudstack deployment without any major issues until
>> Rocky 8.6 or Alma 8.6 hit the stage. These point releases upgraded
>> libvirt from version 6.0.0 to 8.0.0. Everything looked OK after the
>> upgrade: hosts connected to management servers without any major errors
>> in logs, nothing specific -- except -- Cloudstack cannot deploy VMs on
>> upgraded hosts with libvirt 8.0.0 -- not available capacity. Maybe some
>> configuration changes are required from agent configuration standpoint ?
>>
>> Sincerely
>>
>> Andrey
>>
>>
Re: Cloudstack 4.16.1.0 + Rocky 8.6/Alma 8.6
Posted by Wei ZHOU <us...@gmail.com>.
Hi Andrey,
I think you are hitting the issue caused by the vnc password change in
libvirt.
please refer to
https://github.com/apache/cloudstack/pull/6402
https://github.com/apache/cloudstack/pull/6404
Kind regards,
Wei
On Tue, 24 May 2022 at 16:16, Andrey Smirnov <an...@andreysmirnov.com>
wrote:
> Hi,
>
> I do have a working Cloudstack deployment without any major issues until
> Rocky 8.6 or Alma 8.6 hit the stage. These point releases upgraded
> libvirt from version 6.0.0 to 8.0.0. Everything looked OK after the
> upgrade: hosts connected to management servers without any major errors
> in logs, nothing specific -- except -- Cloudstack cannot deploy VMs on
> upgraded hosts with libvirt 8.0.0 -- not available capacity. Maybe some
> configuration changes are required from agent configuration standpoint ?
>
> Sincerely
>
> Andrey
>
>