Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23F3DE2D3 for ; Thu, 14 Feb 2013 06:26:14 +0000 (UTC) Received: (qmail 56903 invoked by uid 500); 14 Feb 2013 06:26:13 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 56838 invoked by uid 500); 14 Feb 2013 06:26:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 56815 invoked by uid 99); 14 Feb 2013 06:26:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 06:26:12 +0000 Date: Thu, 14 Feb 2013 06:26:12 +0000 (UTC) From: "Mice Xia (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1137) Force reconnect of a disconnected state complains about the state of the host. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578184#comment-13578184 ] Mice Xia commented on CLOUDSTACK-1137: -------------------------------------- this bug is also reproduced on xenserver/vmware. for now, agentmanagerImpl only allow reconnect operation when host in [Up, Alert, Rebalancing] state > Force reconnect of a disconnected state complains about the state of the host. > ------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1137 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1137 > Project: CloudStack > Issue Type: Bug > Components: Management Server > Affects Versions: 4.0.1 > Environment: EL6.3 - KVM > Reporter: David Nalley > Assignee: Min Chen > Fix For: 4.0.2 > > > 2013-02-01 08:56:50,267 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-8:job-121) Executing com.cloud.api.commands.ReconnectHostCmd for job-121 > 2013-02-01 08:56:50,268 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===END=== 193.190.172.113 -- GET command=reconnectHost&id=4386f812-bf0d-45cf-a495-bc4fe56b295d&response=json&sessionkey=Ln%2F4aiOHbM52jHy%2F4%2BDX3MZbi5c%3D&_=1359727021102 > 2013-02-01 08:56:50,272 INFO [agent.manager.AgentManagerImpl] (Job-Executor-8:job-121) Unable to disconnect host because it is not in the correct state: host=10; Status=Disconnected > 2013-02-01 08:56:50,276 WARN [api.commands.ReconnectHostCmd] (Job-Executor-8:job-121) Exception: > com.cloud.api.ServerApiException > at com.cloud.api.commands.ReconnectHostCmd.execute(ReconnectHostCmd.java:108) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > 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) > 2013-02-01 08:56:50,277 WARN [cloud.api.ApiDispatcher] (Job-Executor-8:job-121) class com.cloud.api.ServerApiException : null > 2013-02-01 08:56:50,277 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-8:job-121) Complete async job-121, jobStatus: 2, resultCode: 530, result: Error Code: 534 Error text: null > 2013-02-01 08:56:55,567 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===START=== 193.190.172.113 -- GET command=queryAsyncJobResult&jobId=92f8999c-30ef-4a77-b81b-d0d341324223&response=json&sessionkey=Ln%2F4aiOHbM52jHy%2F4%2BDX3MZbi5c%3D&_=1359727026552 > 2013-02-01 08:56:55,574 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-19:null) Async job-121 completed > 2013-02-01 08:56:55,580 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===END=== 193.190.172.113 -- GET command=queryAsyncJobResult&jobId=92f8999c-30ef-4a77-b81b-d0d341324223&response=json&sessionkey=Ln%2F4aiOHbM52jHy%2F4%2BDX3MZbi5c%3D&_=1359727026552 > 2013-02-01 08:57:00,179 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) HostStatsCollector is running... > 2013-02-01 08:57:00,727 DEBUG [agent.transport.Request] (StatsCollector-1:null) Seq 1-1010499830: Received: { Ans: , MgmtId: 206915886132947, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2013-02-01 08:57:01,317 DEBUG [agent.transport.Request] (StatsCollector-1:null) Seq 6-2141651000: Received: { Ans: , MgmtId: 206915886132947, via: 6, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2013-02-01 08:57:03,858 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM > 2013-02-01 08:57:03,964 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy > 2013-02-01 08:57:04,736 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 2 routers. > 2013-02-01 08:57:05,456 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-8:null) Ping from 8 > 2013-02-01 08:57:05,673 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) Ping from 7 > 2013-02-01 08:57:07,413 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:null) Ping from 1 -- 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