xuanyuanaosheng edited a comment on issue #6169:
URL: https://github.com/apache/cloudstack/issues/6169#issuecomment-1080402721


   @rohityadavcloud  
   1.  The primary and secondary storage is OK.
   2.   The  zone is enabled and the host is Up.
   
![image](https://user-images.githubusercontent.com/4197714/160367461-4823403a-e27b-4033-8719-868ad8d3b83d.png)
   3.  The systemvmtemplate state is OK.
   
![image](https://user-images.githubusercontent.com/4197714/160367697-e90ed364-8788-4d2a-8c3f-d7ffb8f3dc1d.png)
   
   
   The cloudstack agent error logs is
   ```
   2022-03-28 17:37:08,609 DEBUG [kvm.resource.LibvirtConnection] 
(UgentTask-5:null) (logid:) Looking for libvirtd connection at: qemu:///system
   2022-03-28 17:37:08,627 DEBUG [cloud.agent.Agent] (UgentTask-5:null) 
(logid:) Sending ping: Seq 30-14:  { Cmd , MgmtId: -1, via: 30, Ver: v1, Flags: 
11, 
[{"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"_hostVmStateReport":{"s-25790-VM":{"state":"PowerOn","host":"whdckvm004.cn.prod"},"v-25789-VM":{"state":"PowerOn","host":"whdckvm004.cn.prod"}},"_gatewayAccessible":"true","_vnetAccessible":"true","hostType":"Routing","hostId":"30","wait":"0","bypassHostMaintenance":"false"}}]
 }
   2022-03-28 17:37:08,835 DEBUG [cloud.agent.Agent] (Agent-Handler-3:null) 
(logid:) Received response: Seq 30-14:  { Ans: , MgmtId: 345052215515, via: 30, 
Ver: v1, Flags: 100010, 
[{"com.cloud.agent.api.PingAnswer":{"_command":{"hostType":"Routing","hostId":"30","wait":"0","bypassHostMaintenance":"false"},"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
 }
   2022-03-28 17:37:36,571 WARN  [kvm.resource.LibvirtComputingResource] 
(Script-3:null) (logid:) Interrupting script.
   2022-03-28 17:37:36,573 WARN  [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-4:null) (logid:32001972) Timed out: 
/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh -n s-25790-VM 
-c  template=domP type=secstorage host=10.25.2.173 port=8250 name=s-25790-VM 
zone=6 pod=5 guid=s-25790-VM workers=5 
resource=com.cloud.storage.resource.PremiumSecondaryStorageResource 
instance=SecStorage sslcopy=false role=templateProcessor mtu=1500 
eth2ip=10.26.13.58 eth2mask=255.255.255.0 gateway=10.26.13.254 
eth0ip=169.254.168.107 eth0mask=255.255.0.0 eth1ip=10.26.246.66 
eth1mask=255.255.255.0 mgmtcidr=10.25.2.0/24 localgw=10.26.246.254 
private.network.device=eth1 eth3ip=10.26.246.14 eth3mask=255.255.255.0 
storageip=10.26.246.14 storagenetmask=255.255.255.0 
storagegateway=10.26.246.254 internaldns1=10.67.9.201 internaldns2=10.25.9.22 
dns1=10.25.9.21 dns2=10.67.230.8 nfsVersion=null .  Output is: 
   2022-03-28 17:37:36,574 ERROR [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-4:null) (logid:32001972) Passing cmdline failed:timeout
   2022-03-28 17:37:36,574 DEBUG [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-4:null) (logid:32001972) Executing: 
/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh -n s-25790-VM 
-c  template=domP type=secstorage host=10.25.2.173 port=8250 name=s-25790-VM 
zone=6 pod=5 guid=s-25790-VM workers=5 
resource=com.cloud.storage.resource.PremiumSecondaryStorageResource 
instance=SecStorage sslcopy=false role=templateProcessor mtu=1500 
eth2ip=10.26.13.58 eth2mask=255.255.255.0 gateway=10.26.13.254 
eth0ip=169.254.168.107 eth0mask=255.255.0.0 eth1ip=10.26.246.66 
eth1mask=255.255.255.0 mgmtcidr=10.25.2.0/24 localgw=10.26.246.254 
private.network.device=eth1 eth3ip=10.26.246.14 eth3mask=255.255.255.0 
storageip=10.26.246.14 storagenetmask=255.255.255.0 
storagegateway=10.26.246.254 internaldns1=10.67.9.201 internaldns2=10.25.9.22 
dns1=10.25.9.21 dns2=10.67.230.8 nfsVersion=null 
   2022-03-28 17:37:36,576 DEBUG [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-4:null) (logid:32001972) Executing while with timeout : 
300000
   2022-03-28 17:37:36,576 DEBUG [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-4:null) (logid:32001972) We are interrupted but it's not 
a timeout, just continue
   2022-03-28 17:37:36,576 DEBUG [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-4:null) (logid:32001972) Executing while with timeout : 
300000
   2022-03-28 17:37:42,026 DEBUG [cloud.agent.Agent] 
(agentRequest-Handler-2:null) (logid:733569db) Processing command: 
com.cloud.agent.api.GetStorageStatsCommand
   2022-03-28 17:37:42,027 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:733569db) Trying to fetch storage pool 
8b051a3e-2a52-3f22-8840-85f235a75f40 from libvirt
   
   ```
   [agent.log](https://github.com/apache/cloudstack/files/8361501/agent.log)
   
   @rohityadavcloud  Could you please give some advices?
   


-- 
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