Hello All, I am using cloudstack 4.15.1 with KVM host. I was playing with changing guest cpu model and tested out host-passthrough and host-model but I was unable to succed. I changed the parameter in the agent config file as documented but I received following error on both hosts: 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not available. Transformations will not be applied. 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is not initialized. Data transformation skipped. 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied. 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is not initialized. Data transformation skipped.
I only changed the option guest.cpu.mode in the agent file of both host. And restarted the agent and libvirtd. The host os is Centos 7. The machine starts sucessfully but the cpu is still set to qemu virtual cpu. Did I miss something during the configuration. Both the KVM host are of same specification. I will be grateful for any help. Thank You.