GutoVeronezi commented on PR #8254:
URL: https://github.com/apache/cloudstack/pull/8254#issuecomment-1843576122

   Hello guys
   
   I did some basic tests with the feature:
   - without the configuration, the Agent took the default URI; with that, I 
successfully created a VM, migrated it, and scaled it;
     ```
     [...]
     2023-12-06 19:32:19,539 DEBUG 
[agent.properties.AgentPropertiesFileHandler] (agentRequest-Handler-2:null) 
(logid:7626c82c) Property [hypervisor.uri] has empty or null value. Using 
default value [null].
     2023-12-06 19:32:19,539 DEBUG [kvm.resource.LibvirtConnection] 
(agentRequest-Handler-2:null) (logid:7626c82c) Looking for libvirtd connection 
at: qemu:///system
     [...]
     2023-12-06 19:32:19,566 DEBUG 
[resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-2:null) 
(logid:7626c82c) starting i-2-9-VM: <domain type='kvm'>
     [...]
     2023-12-06 19:32:20,961 DEBUG [cloud.agent.Agent] 
(agentRequest-Handler-2:null) (logid:7626c82c) Seq 4-6525434385083138169:  { 
Ans: , MgmtId: 262659038986676, via: 4, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":"9","name":"i-2-9-VM","state":"Starting","type":"User","cpus":"2","minSpeed":"1560","maxSpeed":"1560","minRam":"(1.00
 GB) 1073741824","maxRam":"(4.00 GB) 4294967296","arch":"x86_64","os":"Other 
(64-bit)","platformEmulator":"Other","bootArgs":"","enableHA":"false","limitCpuUse":"false","enableDynamicallyScaleVm":"
     [...]
     ```
   
   - with the configuration, the Agent took the URI I set; with that, I 
successfully created a VM, migrated it, and scaled it;
     ```
     [...]
     2023-12-06 19:37:23,206 DEBUG 
[agent.properties.AgentPropertiesFileHandler] (agentRequest-Handler-5:null) 
(logid:951c7230) Property [hypervisor.uri] was altered. Now using the value 
[qemu+tcp://192.168.123.173/system].
     2023-12-06 19:37:23,206 DEBUG [kvm.resource.LibvirtConnection] 
(agentRequest-Handler-5:null) (logid:951c7230) Looking for libvirtd connection 
at: qemu+tcp://192.168.123.173/system
     [...]
     2023-12-06 19:37:23,248 DEBUG 
[resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-5:null) 
(logid:951c7230) starting i-2-9-VM: <domain type='kvm'>
     [...]
     2023-12-06 19:37:24,280 DEBUG [cloud.agent.Agent] 
(agentRequest-Handler-5:null) (logid:951c7230) Seq 4-5190117095567785998:  { 
Ans: , MgmtId: 262659038986676, via: 4, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":"9","name":"i-2-9-VM","state":"Starting","type":"User","cpus":"2","minSpeed":"1560","maxSpeed":"1560","minRam":"(1.00
 GB) 1073741824","maxRam":"(4.00 GB) 4294967296","arch":"x86_64","os":"Other 
(64-bit)","platformEmulator":"Other","bootArgs":"","enableHA":"false","limitCpuUse":"false","enableDynamicallyScaleVm":"
     ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to