[ https://issues.apache.org/jira/browse/CLOUDSTACK-9590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664298#comment-15664298 ]
Sven Vogel commented on CLOUDSTACK-9590: ---------------------------------------- in Management Server i see always things like {code} 2016-11-14 16:44:56,034 WARN [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Monitor NetworkOrchestrator says there is an error in the connect process for 70 due to Unable to get an answer to the Check NetworkCommand from agent: 70 2016-11-14 16:44:56,034 INFO [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Host 70 is disconnecting with event AgentDisconnected 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) The next status of agent 70is Alert, current status is Connecting 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Deregistering link for 70 with state Alert 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Remove Agent : 70 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.ConnectedAgentAttache] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Processing Disconnect. 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.hypervisor.xenserver.discoverer.XcpServerDiscoverer 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.hypervisor.hyperv.discoverer.HypervServerDiscoverer 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.storage.secondary.SecondaryStorageListener 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.storage.listener.StoragePoolMonitor 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.vm.ClusteredVirtualMachineManagerImpl 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.network.security.SecurityGroupListener 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.deploy.DeploymentPlanningManagerImpl 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: org.apache.cloudstack.engine.orchestration.NetworkOrchestrator 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.network.SshKeysDistriMonitor 2016-11-14 16:44:56,040 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.storage.LocalStoragePoolListener 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.capacity.StorageCapacityListener 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.capacity.ComputeCapacityListener 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.network.SshKeysDistriMonitor 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.storage.upload.UploadListener 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.network.NetworkUsageManagerImpl$DirectNetworkStatsListener 2016-11-14 16:44:56,041 DEBUG [c.c.n.NetworkUsageManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Disconnected called on 70 with status Alert 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.agent.manager.AgentManagerImpl$BehindOnPingListener 2016-11-14 16:44:56,041 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.consoleproxy.ConsoleProxyListener 2016-11-14 16:44:56,043 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Sending Disconnect to listener: com.cloud.storage.download.DownloadListener 2016-11-14 16:44:56,044 DEBUG [c.c.h.Status] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Transition:[Resource state = Enabled, Agent event = AgentDisconnected, Host id = 70, name = kvm03.oscloud.local] 2016-11-14 16:44:56,054 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Notifying other nodes of to disconnect 2016-11-14 16:44:56,060 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Failed to handle host connection: com.cloud.exception.ConnectionException: Unable to get an answer to the CheckNetworkCommand from agent: 70 2016-11-14 16:44:56,064 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-15:ctx-f99e936f) (logid:6cdf713e) Can not send command com.cloud.agent.api.ReadyCommand due to Host 70 is not up 2016-11-14 16:44:58,384 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) (logid:) SeqA 39-159363: Processing Seq 39-159363: { Cmd , MgmtId: -1, via: 39, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":13179,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2016-11-14 16:44:58,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) (logid:) SeqA 39-159363: Sending Seq 39-159363: { Ans: , MgmtId: 3232257305, via: 39, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } {code} > KVM + CentOS 7.2 + Agent in Alert State for long time > ----------------------------------------------------- > > Key: CLOUDSTACK-9590 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9590 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: cloudstack-agent > Affects Versions: 4.9.0 > Environment: entOS Linux release 7.2.1511 (Core) > cloudstack-agent-4.9.0-1.el7.centos.x86_64 > Reporter: Sven Vogel > Attachments: agent.log, cloudstack-startup.log, management-server.zip > > > Hi, > When i add a new host to cloudstack management server it take some time to > get host out from alert state. > 1. i add the host and host add not possible > 2. values are correct set to agent.properties, restart cloustack agent > 3. agent says connected to server > 4. management server says "alert" > management-server.log > 2016-11-10 13:23:06,783 DEBUG [c.c.h.Status] > (AgentConnectTaskPool-49:ctx-c3b72839) (logid:5a86e1fb) Transition:[Resource > state = Enabled, Agent event = AgentDisconnected, Host > id = 51, name = kvm02.oscloud.local] > 2016-11-10 13:23:06,798 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] > (AgentConnectTaskPool-49:ctx-c3b72839) (logid:5a86e1fb) Notifying other nodes > of to disconnect > 2016-11-10 13:23:06,806 DEBUG [c.c.a.m.AgentManagerImpl] > (AgentConnectTaskPool-49:ctx-c3b72839) (logid:5a86e1fb) Failed to handle host > connection: com.cloud.exception.Connection > Exception: Unable to get an answer to the CheckNetworkCommand from agent: 51 > is there any way to speed up the alert state? is it normal that it take so > long? > thanks > Sven -- This message was sent by Atlassian JIRA (v6.3.4#6332)