You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "dfgyuri (via GitHub)" <gi...@apache.org> on 2023/01/27 19:34:56 UTC

[GitHub] [cloudstack] dfgyuri commented on issue #7138: No secondary storage VM for downloading template to image store

dfgyuri commented on issue #7138:
URL: https://github.com/apache/cloudstack/issues/7138#issuecomment-1406986056

   I'm experiencing the exact same issue (also not completely sure if its a networking setup problem as we're using VLANs to route everything). 
   grep -i -E 'exception|unable|fail|invalid|leak|warn|error' /var/log/cloudstack/management/management-server.log returns nothing of note:
   only an error when trying to upload an ISO 
   `
   2023-01-26 19:06:45,246 ERROR [c.c.a.ApiServer] (qtp1418620248-871:ctx-3b21f4b3 ctx-a01fc1f8) (logid:96cdc637) unhandled exception executing api command: [Ljava.lang.String;@6603c580
   com.cloud.utils.exception.CloudRuntimeException: There is no secondary storage VM for downloading template to image store NFS
   `
   and repeated instances of 
   `2023-01-26 19:09:48,806 WARN  [c.c.a.d.ParamGenericValidationWorker] (qtp1418620248-314:ctx-2be6cdaf ctx-3fd5d4d6) (logid:ac566364) Received unknown parameters for command listSystemVms. Unknown parameters : listall`
   
   
   
   Logs of the host agent is below
   
   `2023-01-27 19:02:43,827 ERROR [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:d2aa9210) [Ljava.lang.StackTraceElement;@7ff82f8c
   2023-01-26 19:02:45,268 INFO  [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:eecc7bf1) No existing libvirtd connection found. Opening a new one
   2023-01-26 19:02:45,273 WARN  [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:eecc7bf1) Can not find a connection for Instance s-1-VM. Assuming the default connection.
   2023-01-26 19:02:45,720 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:eecc7bf1) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied.
   2023-01-26 19:02:45,721 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:eecc7bf1) Groovy scripting engine is not initialized. Data transformation skipped.
   2023-01-26 19:02:46,944 WARN  [kvm.resource.LibvirtConnection] (agentRequest-Handler-4:null) (logid:d2aa9210) Can not find a connection for Instance v-2-VM. Assuming the default connection.
   2023-01-26 19:02:47,087 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-4:null) (logid:d2aa9210) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied.
   2023-01-26 19:02:47,088 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-4:null) (logid:d2aa9210) Groovy scripting engine is not initialized. Data transformation skipped.
   2023-01-26 19:03:11,613 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Attempting to create storage pool 4e10bd24-9d7c-3901-a7f6-540e0402f1b8 (NetworkFilesystem) in libvirt
   2023-01-26 19:03:11,635 WARN  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Storage pool 4e10bd24-9d7c-3901-a7f6-540e0402f1b8 was not found running in libvirt. Need to create it.
   2023-01-26 19:03:11,635 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Didn't find an existing storage pool 4e10bd24-9d7c-3901-a7f6-540e0402f1b8 by UUID, checking for pools with duplicate paths
   2023-01-26 19:03:11,768 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Trying to fetch storage pool 4e10bd24-9d7c-3901-a7f6-540e0402f1b8 from libvirt
   2023-01-26 19:03:11,835 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:03:11,877 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:03:41,203 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:8d951be0) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:03:41,244 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:8d951be0) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:03:59,134 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:03:59,161 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Attempting to remove storage pool 4e10bd24-9d7c-3901-a7f6-540e0402f1b8 from libvirt
   2023-01-26 19:03:59,164 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Storage pool 4e10bd24-9d7c-3901-a7f6-540e0402f1b8 has no corresponding secret. Not removing any secret.
   2023-01-26 19:03:59,263 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:eecc7bf1) Storage pool 4e10bd24-9d7c-3901-a7f6-540e0402f1b8 was successfully removed from libvirt.
   2023-01-26 19:03:59,405 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:eecc7bf1) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:03:59,438 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:eecc7bf1) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:03:59,622 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:eecc7bf1) Creating volume 04b86cf7-51cc-44f7-aa38-f99934a3a35d from template 5b284418-9dd3-11ed-9d65-7ad04bea7024 in pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 (RBD) with size (0 bytes) 0
   2023-01-26 19:04:00,810 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:eecc7bf1) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:04:01,216 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:eecc7bf1) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:04:01,302 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-4:null) (logid:eecc7bf1) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not available. Transformations will not be applied.
   2023-01-26 19:04:01,302 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-4:null) (logid:eecc7bf1) Groovy scripting engine is not initialized. Data transformation skipped.
   2023-01-26 19:04:02,635 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-4:null) (logid:eecc7bf1) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied.
   2023-01-26 19:04:02,636 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-4:null) (logid:eecc7bf1) Groovy scripting engine is not initialized. Data transformation skipped.
   2023-01-26 19:04:03,661 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:d2aa9210) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:04:03,706 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:d2aa9210) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:04:03,859 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:d2aa9210) Creating volume 4a93f313-0696-44d6-9b0c-a9d9cafac126 from template 5b284418-9dd3-11ed-9d65-7ad04bea7024 in pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 (RBD) with size (0 bytes) 0
   2023-01-26 19:04:04,469 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:d2aa9210) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:04:04,863 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:d2aa9210) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:04:05,010 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-2:null) (logid:d2aa9210) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not available. Transformations will not be applied.
   2023-01-26 19:04:05,011 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-2:null) (logid:d2aa9210) Groovy scripting engine is not initialized. Data transformation skipped.
   2023-01-26 19:04:06,992 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-2:null) (logid:d2aa9210) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied.
   2023-01-26 19:04:06,993 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-2:null) (logid:d2aa9210) Groovy scripting engine is not initialized. Data transformation skipped.
   2023-01-26 19:04:41,458 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:051f8d54) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:04:41,505 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:051f8d54) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:05:41,790 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:fd6362cb) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:05:41,819 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:fd6362cb) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:06:42,090 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:851536a6) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:06:42,119 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:851536a6) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:07:42,411 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:0b677b18) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:07:42,445 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:0b677b18) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:08:42,766 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:85f0ab70) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:08:42,797 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:85f0ab70) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:09:43,082 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:6bedb78d) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:09:43,112 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:6bedb78d) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:10:06,142 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:05170b16) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:10:06,343 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:05170b16) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:10:43,406 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:dbd59a1f) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:10:43,448 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:dbd59a1f) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:11:43,750 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:0834a446) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:11:43,779 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:0834a446) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:12:44,054 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:4b75e44d) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:12:44,084 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:4b75e44d) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:13:44,395 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:dbd3b3da) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:13:44,423 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:dbd3b3da) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:14:44,738 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:73ec6f1b) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:14:44,768 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:73ec6f1b) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:15:45,062 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:4bc40b96) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:15:45,091 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:4bc40b96) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   2023-01-26 19:16:45,378 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:0eed0e5e) Trying to fetch storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787 from libvirt
   2023-01-26 19:16:45,407 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:0eed0e5e) Asking libvirt to refresh storage pool 30e2ae2c-87a8-3fe4-af7b-84a226b20787
   r`


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org