Re: Groovy Script error while changing guest cpu model.

2021-09-15 Thread Abishek
Thank You Wei. Now its working but I did only change the value not the option on the default agent file. So, I didnot notice the option I was only looking the value. I wonder something I might have missed out. Silly error from my end. I am very grateful for you Help. Thank You. On 2021/09/14

Re: Groovy Script error while changing guest cpu model.

2021-09-14 Thread Wei ZHOU
Hi, There is a typo. you should use 'guest.cpu.mode' not 'guest.cpu.model'. -Wei On Tue, 14 Sept 2021 at 10:40, avi wrote: > Hello Wei, > > I have the following agent properties on both the host: > > cluster=1 > pod=1 > resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource >

Re: Groovy Script error while changing guest cpu model.

2021-09-14 Thread avi
Hello Wei, I have the following agent properties on both the host: cluster=1 pod=1 resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource private.network.device=cloudbr0 domr.scripts.dir=scripts/network/domr/kvm router.aggregation.command.each.timeout=600

Re: Groovy Script error while changing guest cpu model.

2021-09-13 Thread Ivan Kudryavtsev
guest.cpu.mode=host-passthrough should work like a charm if it doesn't work, this means the regression is in the CloudStack code and it prevents setting the property. Make sure you have set the correct line end character in UNIX format. On Mon, Sep 13, 2021 at 7:00 PM Wei ZHOU wrote: > Hi

Re: Groovy Script error while changing guest cpu model.

2021-09-13 Thread Wei ZHOU
Hi Abishek, It is better to share your agent.properties -Wei On Mon, 13 Sept 2021 at 13:39, avi wrote: > Hello Ivan, > > But I am still getting qemu virtual cpu in guest VM's(Windows). Did > everything as documented. I want the VM's to have same CPU as the host > machines Will it be possible?

Re: Groovy Script error while changing guest cpu model.

2021-09-13 Thread Ivan Kudryavtsev
Hi, this means that you used wrong cpu specification in the config. These hooks do nothing about that, especially because they are not present. пн, 13 сент. 2021 г., 18:40 avi : > Hello Ivan, > > But I am still getting qemu virtual cpu in guest VM's(Windows). Did > everything as documented. I

Re: Groovy Script error while changing guest cpu model.

2021-09-13 Thread avi
Hello Ivan, But I am still getting qemu virtual cpu in guest VM's(Windows). Did everything as documented. I want the VM's to have same CPU as the host machines Will it be possible? Thank You. On 2021/09/13 07:55:39, Ivan Kudryavtsev wrote: > That is just fine. Go ahead, it's not an error. >

Re: Groovy Script error while changing guest cpu model.

2021-09-13 Thread Abishek
Hello Ivan, But the VM's (Windows) just keep showing the qemu virtual cpu. I want to have the actual CPU parameters available for the VM's and I could not achieve it. Thank You. On 2021/09/13 07:55:39, Ivan Kudryavtsev wrote: > That is just fine. Go ahead, it's not an error. > > On Mon,

Re: Groovy Script error while changing guest cpu model.

2021-09-13 Thread Ivan Kudryavtsev
That is just fine. Go ahead, it's not an error. On Mon, Sep 13, 2021 at 2:24 PM avi wrote: > 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 >

Groovy Script error while changing guest cpu model.

2021-09-13 Thread avi
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: