[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chip Childers resolved CLOUDSTACK-2554.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.0
         Assignee: Prasanna Santhanam

Committed fix to 4.1:

commit 8ea1601bd3a9ad04f6f0a6c03be540303d05fef8
Author: Prasanna Santhanam <[email protected]>
Date:   Sat May 18 11:46:12 2013 +0530

    CLOUDSTACK-2554: CloudStack fails to load XCP 1.6 hypervisors
    
    Missing default constructor fails the agent manager reloading the XCP
    resource on reboot of management server. This is fixed by using the
    default constructor as do other Xen resources and include a new resource
    ala XenServers for XCP1.6.
    
    Signed-off-by: Prasanna Santhanam <[email protected]>
    (cherry picked from commit 806aeb990d28179ff532e97dbf64f87cd3d5ca34)
    
    Conflicts:
        
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpServerResource.java
    
    Signed-off-by: Prasanna Santhanam <[email protected]>
                
> java.lang.NoSuchMethodException: 
> com.cloud.hypervisor.xen.resource.XcpServerResource.<init>()
> ---------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2554
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2554
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.1.0
>         Environment: Debian, cloudstack builded from git, branch 4.1
> host XCP 1.6
>            Reporter: Andrew Artemyev
>            Assignee: Prasanna Santhanam
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> CloudStack first start normaly.
> I start zone with systemvm`s on local storage
> instances work perfectly
> but then i reboot management server XCP host switch to disconnected state
> in managment server logs i see 
> 2013-05-17 14:09:41,758 DEBUG 
> [network.router.VirtualNetworkApplianceManagerImpl] 
> (RouterStatusMonitor-1:null) Found 1 routers to update status. 
> 2013-05-17 14:09:41,761 DEBUG 
> [network.router.VirtualNetworkApplianceManagerImpl] 
> (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. 
> 2013-05-17 14:09:41,851 DEBUG 
> [network.router.VirtualNetworkApplianceManagerImpl] 
> (RouterStatusMonitor-1:null) Found 1 routers to update status. 
> 2013-05-17 14:09:41,854 DEBUG 
> [network.router.VirtualNetworkApplianceManagerImpl] 
> (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. 
> 2013-05-17 14:09:47,155 DEBUG [agent.manager.ClusteredAgentManagerImpl] 
> (ClusteredAgentManager Timer:null) Found 1 unmanaged direct hosts, processing 
> connect for them...
> 2013-05-17 14:09:47,155 DEBUG [agent.manager.ClusteredAgentManagerImpl] 
> (ClusteredAgentManager Timer:null) Loading directly connected host 
> 3(host1-c1-p1-siberia1.cloud0.omsk.ru)
> 2013-05-17 14:09:47,155 WARN  [cloud.resource.DiscovererBase] 
> (ClusteredAgentManager Timer:null) NoSuchMethodException error on 
> com.cloud.hypervisor.xen.resource.XcpServerResource
> java.lang.NoSuchMethodException: 
> com.cloud.hypervisor.xen.resource.XcpServerResource.<init>()
>       at java.lang.Class.getConstructor0(Class.java:2733)
>       at java.lang.Class.getConstructor(Class.java:1676)
>       at com.cloud.resource.DiscovererBase.getResource(DiscovererBase.java:83)
>       at 
> com.cloud.resource.DiscovererBase.reloadResource(DiscovererBase.java:138)
>       at 
> com.cloud.agent.manager.AgentManagerImpl.loadDirectlyConnectedHost(AgentManagerImpl.java:767)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.scanDirectAgentToLoad(ClusteredAgentManagerImpl.java:202)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.runDirectAgentScanTimerTask(ClusteredAgentManagerImpl.java:168)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.access$100(ClusteredAgentManagerImpl.java:93)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl$DirectAgentScanTimerTask.run(ClusteredAgentManagerImpl.java:218)
>       at java.util.TimerThread.mainLoop(Timer.java:534)
>       at java.util.TimerThread.run(Timer.java:484)
> 2013-05-17 14:09:47,160 WARN  [agent.manager.AgentManagerImpl] 
> (ClusteredAgentManager Timer:null) Unable to load the resource: 3
> 2013-05-17 14:09:47,161 DEBUG [cloud.host.Status] (ClusteredAgentManager 
> Timer:null) Transition:[Resource state = Enabled, Agent event = 
> AgentDisconnected, Host id = 3, name = host1-c1-p1-siberia1.cloud0.omsk.ru]
> 2013-05-17 14:09:47,352 DEBUG [cloud.host.Status] (ClusteredAgentManager 
> Timer:null) Agent status update: [id = 3; name = 
> host1-c1-p1-siberia1.cloud0.omsk.ru; old status = Disconnected; event = 
> AgentDisconnected; new status = Disconnected; old update count = 61; new 
> update count = 62]

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

Reply via email to