You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2013/07/13 21:43:48 UTC
[jira] [Created] (CLOUDSTACK-3514) [Automation] Vmware - Failed to
download default template on first in zone
Rayees Namathponnan created CLOUDSTACK-3514:
-----------------------------------------------
Summary: [Automation] Vmware - Failed to download default template on first in zone
Key: CLOUDSTACK-3514
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3514
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Template, VMware
Affects Versions: 4.2.0
Environment: 4.2 branch build
VMware
Reporter: Rayees Namathponnan
Fix For: 4.2.0
Steps to reproduce
Create Vmware advanced zone with 2 zones
Result
2 Zones created sucessfully but failed download default template for first zone
mysql> select name, data_center_name from template_view where hypervisor_type = 'VMware' and state = 'Ready';
+-------------------------------------+------------------+
| name | data_center_name |
+-------------------------------------+------------------+
| SystemVM Template (vSphere) | Adv-VMware-Zone1 |
| SystemVM Template (vSphere) | Adv-VMware-Zone2 |
| CentOS 5.3(64-bit) no GUI (vSphere) | Adv-VMware-Zone2 |
+-------------------------------------+------------------+
3 rows in set (0.00 sec)
Please see the attached catalina.out, seems system vmware (ssv name : v9) created for the second zone (Adv-VMware-Zone2) first then (ssvm name : vm20) second zone (Adv-VMware-Zone1), observed below error in log
also observed below massage, to skip download template
INFO [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) Secondary storage vm s-20-VM is started
INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:) Primary secondary storage is not even started, wait until next turn
INFO [storage.secondary.SecondaryStorageListener] (AgentConnectTaskPool-19:) Received a host startup notification com.cloud.agent.api.StartupSecondaryStorageCommand
INFO [network.security.SecurityGroupListener] (AgentConnectTaskPool-19:) Received a host startup notification
INFO [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-19:) Template Sync found routing-8 already in the image store
INFO [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-19:) Template Sync found 203-14-8d8b9015-3688-3cd7-8970-15ad1b8a1e8a already in the image store
INFO [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-19:) Template Sync found 211-82-e0654140-451e-3a67-bf52-0a4fe4e178ed already in the image store
ERROR [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-19:) Monitor DownloadListener says there is an error in the connect process for 17 due to null
java.lang.NullPointerException
at com.cloud.resourcelimit.ResourceLimitManagerImpl.recalculateAccountResourceCount(ResourceLimitManagerImpl.java:814)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.resourcelimit.ResourceLimitManagerImpl.recalculateResourceCount(ResourceLimitManagerImpl.java:702)
at org.apache.cloudstack.storage.image.TemplateServiceImpl.handleTemplateSync(TemplateServiceImpl.java:342)
at com.cloud.storage.download.DownloadListener.processConnect(DownloadListener.java:307)
at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:586)
at com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1086)
at com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:144)
at com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentManagerImpl.java:1161)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
INFO [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-19:) Host 17 is disconnecting with event AgentDisconnected
Pattern not found (press RETURN)
Attaching DB Dump for your reference
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira