I Did the following: 1. Tail agent log at /var/log/cloudstack/agent/agent.log 2. Set enable.io.uring=true in agent properties 3. Restart Cloudstack-agent 4. Stopped VM and set io.policy=io.uring 5. Set io.policy=io.uring in local primary storage settings for KVM 6. Start VM up again 7. restart cloudstack agent again.
You can find the log of all these steps and what it triggered here: https://we.tl/t-AJdC2bXa4u
And as you requested, this is all I see in the log when I grep "uring" from the log:
grep "uring" /var/log/cloudstack/agent/agent.log2023-07-11 11:59:58,994 INFO [kvm.resource.LibvirtComputingResource] (main:null) (logid:) IO uring driver for Qemu: disabled 2023-07-11 12:04:59,064 INFO [kvm.resource.LibvirtComputingResource] (main:null) (logid:) IO uring driver for Qemu: disabled 2023-07-11 13:16:07,433 INFO [kvm.resource.LibvirtComputingResource] (main:null) (logid:) IO uring driver for Qemu: disabled 2023-07-11 13:17:48,056 INFO [kvm.resource.LibvirtComputingResource] (main:null) (logid:) IO uring driver for Qemu: disabled
That follows with the following error, which you will see in the log:
2023-07-11 13:16:07,520 WARN [kvm.storage.KVMStoragePoolManager] (main:null) (logid:) Duplicate StorageAdaptor type PowerFlex, not loading com.cloud.hypervisor.kvm.storage.ScaleIOStorageAdaptor 2023-07-11 13:16:07,522 INFO [kvm.resource.LibvirtComputingResource] (main:null) (logid:) No libvirt.vif.driver specified. Defaults to BridgeVifDriver. 2023-07-11 13:16:07,725 INFO [cloud.serializer.GsonHelper] (main:null) (logid:) Default Builder inited.
On 7/11/23 13:03, Slavka Peleva wrote:
Can you share the full agent.log with the VM deployment? Also, can you search the agent.log for "IO uring driver for Qemu: .... " and share the whole log message?Best regards, SlavkaOn Tue, Jul 11, 2023 at 1:55 PM Granwille Strauss <granwi...@namhost.com> wrote:Hi Thank you for the feedback, that's exactly what I did earlier, didn't do anything. I also set it in global config and you can also set it for the local primary storage. Nothing happened in the XML dumps. On 7/11/23 12:50, Slavka Peleva wrote:-- Regards / GroeteCan you set it from the VM's settings? The VM has to be stopped. I will check the global config later. image.png On Tue, Jul 11, 2023 at 1:38 PM Granwille Strauss <granwi...@namhost.com> wrote: Hi I am using the latest CS 4.18.0.0 On 7/11/23 12:28, Slavka Peleva wrote:-- Regards / GroeteCan you share the CS version that you're using? There are some differences in enabling the IO policy depending on the version. Best regards, Slavka On Tue, Jul 11, 2023 at 1:05 PM Granwille Strauss<granwi...@namhost.com> <mailto:granwi...@namhost.com> wrote:Nope, didn't work. I added enable.io.uring=true to /etc/cloudstack/agent/agent.properties, restarted cloudstack-agent. Shutdown one VM machine. Set io.policy=io.uring for this VM then start up VM again and XML dump remains the same: virsh dumpxml i-2-182-VM | grep drive <driver name='qemu' type='qcow2' cache='none'/> <driver name='qemu'/> <address type='drive' controller='0' bus='1' target='0' unit='0'/> On 7/11/23 11:53, Slavka Peleva wrote: Hi, Can you check if the `enable.io.uring=true` property in the agent.properties file is set? You have to restart the cloudstack-agent service if you make any changes. Best regards, Slavka -- Regards / Groete <https://www.namhost.com> <https://www.namhost.com> Granwille Strauss // Senior Systems Admin *e:*granwi...@namhost.com *m:* +264 81 323 1260 <+264813231260> *w:*www.namhost.com <http://www.namhost.com> <https://www.facebook.com/namhost> <https://www.facebook.com/namhost> <https://twitter.com/namhost> <https://twitter.com/namhost> <https://www.instagram.com/namhostinternetservices/> <https://www.instagram.com/namhostinternetservices/> <https://www.linkedin.com/company/namhos> <https://www.linkedin.com/company/namhos> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> Namhost Internet Services (Pty) Ltd, 24 Black Eagle Rd, Hermanus, 7210, RSA The content of this message is confidential. If you have received it by mistake, please inform us by email reply and then delete the message. It is forbidden to copy, forward, or in any way reveal the contents of this message to anyone without our explicit consent. The integrity and security of this email cannot be guaranteed over the Internet. Therefore, the sender will not be held liable for any damage caused by the message. For our full privacy policy and disclaimers, please go to https://www.namhost.com/privacy-policy [image: Powered by AdSigner] <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818> <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818><https://www.namhost.com> Granwille Strauss // Senior Systems Admin *e:* granwi...@namhost.com *m:* +264 81 323 1260 <tel:+264813231260> *w:* www.namhost.com <https://www.namhost.com/> <https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> Namhost Internet Services (Pty) Ltd, 24 Black Eagle Rd, Hermanus, 7210, RSA The content of this message is confidential. If you have received it by mistake, please inform us by email reply and then delete the message. It is forbidden to copy, forward, or in any way reveal the contents of this message to anyone without our explicit consent. The integrity and security of this email cannot be guaranteed over the Internet. Therefore, the sender will not be held liable for any damage caused by the message. For our full privacy policy and disclaimers, please go to https://www.namhost.com/privacy-policy Powered by AdSigner <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818><https://www.namhost.com> Granwille Strauss // Senior Systems Admin *e:* granwi...@namhost.com *m:* +264 81 323 1260 <tel:+264813231260> *w:* www.namhost.com <https://www.namhost.com/> <https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> Namhost Internet Services (Pty) Ltd, 24 Black Eagle Rd, Hermanus, 7210, RSA The content of this message is confidential. If you have received it by mistake, please inform us by email reply and then delete the message. It is forbidden to copy, forward, or in any way reveal the contents of this message to anyone without our explicit consent. The integrity and security of this email cannot be guaranteed over the Internet. Therefore, the sender will not be held liable for any damage caused by the message. For our full privacy policy and disclaimers, please go to https://www.namhost.com/privacy-policy Powered by AdSigner <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>
-- Regards / Groete <https://www.namhost.com> Granwille Strauss // Senior Systems Admin *e:* granwi...@namhost.com *m:* +264 81 323 1260 <tel:+264813231260> *w:* www.namhost.com <https://www.namhost.com/> <https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> Namhost Internet Services (Pty) Ltd, 24 Black Eagle Rd, Hermanus, 7210, RSAThe content of this message is confidential. If you have received it by mistake, please inform us by email reply and then delete the message. It is forbidden to copy, forward, or in any way reveal the contents of this message to anyone without our explicit consent. The integrity and security of this email cannot be guaranteed over the Internet. Therefore, the sender will not be held liable for any damage caused by the message. For our full privacy policy and disclaimers, please go to https://www.namhost.com/privacy-policy
Powered by AdSigner <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>
smime.p7s
Description: S/MIME Cryptographic Signature