GitHub user tatay188 added a comment to the discussion: CS4.22 GPU Server 
Unable to create a VM

@vishesh92 
I did deployed on the GPU server a regular VM Ubuntu server, with no problem at 
all, the AGENT in debug mode shows several warnings with libvirt:

2025-12-10 12:05:49,735 WARN  [utils.script.Script] (AgentRequest-Handler-3:[]) 
(logid:962fb683) Execution of process [475638] for command [/bin/bash -c 
ovftool --version ] failed.
2025-12-10 12:05:49,735 WARN  [utils.script.Script] (AgentRequest-Handler-3:[]) 
(logid:962fb683) Process [475638] for command [/bin/bash -c ovftool --version ] 
encountered the error: [127].
2025-12-10 12:05:49,796 INFO  [cloud.agent.Agent] (AgentRequest-Handler-4:[]) 
(logid:962fb683) Processing agent ready command, agent id = 75, uuid = 
98715dad-759d-44c7-a633-524e9aa67431, name = ggpu
!
2025-12-10 12:05:49,805 INFO  [cloud.agent.Agent] (AgentRequest-Handler-4:[]) 
(logid:962fb683) Ready command is processed for agent [id: 75, uuid: 
98715dad-759d-44c7-a633-524e9aa67431, name: ggpu]
!
2025-12-10 12:05:49,868 WARN  [utils.script.Script] (AgentRequest-Handler-4:[]) 
(logid:962fb683) Execution of process =[475660] for command **[/bin/bash -c 
virt-v2v --version ] failed.**
!
2025-12-10 12:05:49,869 WARN  [utils.script.Script] (AgentRequest-Handler-4:[]) 
(logid:962fb683) Process [475660] for command **[/bin/bash -c virt-v2v 
--version ] encountered the error: [127]**.
!
2025-12-10 12:05:49,901 WARN  [utils.script.Script] (AgentRequest-Handler-4:[]) 
(logid:962fb683) Execution of process [475680] for command **[/bin/bash -c 
ovftool --version ] failed**.
!
2025-12-10 12:05:49,901 WARN  [utils.script.Script] (AgentRequest-Handler-4:[]) 
(logid:962fb683) Process [475680] for command [/bin/bash -c ovftool --version ] 
encountered the error: [127].
!
2025-12-10 12:06:47,660 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-4:[]) (logid:485a8639) Trying to fetch storage pool 
e76f8956-1a81-3e97-aff6-8dc3f199a48a from libvirt
!
2025-12-10 12:06:47,690 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-4:[]) (logid:485a8639) Asking libvirt to refresh storage 
pool e76f8956-1a81-3e97-aff6-8dc3f199a48a
!
2025-12-10 12:08:46,277 INFO  [kvm.resource.LibvirtComputingResource] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Setting quota=8300, period=10000 
to VM domain 7f7480c0-e908-4d6c-b3f1-0d98ecfc3c39"
!
2025-12-10 12:08:46,317 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Trying to fetch storage pool 
e76f8956-1a81-3e97-aff6-8dc3f199a48a from libvirt
!
2025-12-10 12:08:48,541 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Trying to fetch storage pool 
e76f8956-1a81-3e97-aff6-8dc3f199a48a from libvirt
!
2025-12-10 12:08:48,697 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Trying to fetch storage pool 
e76f8956-1a81-3e97-aff6-8dc3f199a48a from libvirt
!
2025-12-10 12:08:48,727 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Trying to fetch storage pool 
e76f8956-1a81-3e97-aff6-8dc3f199a48a from libvirt
!
2025-12-10 12:08:49,193 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Groovy **script 
'/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not 
available**. Transformations will not be applied.
!
2025-12-10 12:08:49,193 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Shell script 
'/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.sh' is not available. 
Transformations will not be applied.
!
2025-12-10 12:08:49,194 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Groovy scripting engine is not 
initialized. Data transformation skipped.
!
2025-12-10 12:08:51,786 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Groovy script 
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. 
Transformations will not be applied.
!
2025-12-10 12:08:51,787 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Shell script 
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.sh' is not available. 
Transformations will not be applied.
!
2025-12-10 12:08:51,787 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-3:[]) (logid:4384b375) Groovy scripting engine is not 
initialized. Data transformation skipped.
!
And that's it, there is nothing else there. the non GPU VM is running with no 
problems, what do I do to eliminate those errors? as the libvirt QEMU is the 
version as it comes with cloudstack, not sure the hyperversor and libvirt 
versions have a mismatch, but did not want to change anything!

Let me know how you want me to proceed on this lab.

virsh version
Compiled against library: libvirt 8.0.0
Using library: libvirt 8.0.0
Using API: QEMU 8.0.0
Running hypervisor: QEMU 6.2.0

<img width="613" height="23" alt="Image" 
src="https://github.com/user-attachments/assets/24b6e1bd-e9b0-497f-adf0-744fe65fec4d";
 />

GitHub link: 
https://github.com/apache/cloudstack/discussions/12222#discussioncomment-15219753

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to