Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 494091082C for ; Wed, 19 Jun 2013 06:06:26 +0000 (UTC) Received: (qmail 64074 invoked by uid 500); 19 Jun 2013 06:06:26 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 63822 invoked by uid 500); 19 Jun 2013 06:06:24 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 63791 invoked by uid 500); 19 Jun 2013 06:06:23 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 63741 invoked by uid 99); 19 Jun 2013 06:06:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 06:06:21 +0000 Date: Wed, 19 Jun 2013 06:06:21 +0000 (UTC) From: "Ram Ganesh (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property 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-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687649#comment-13687649 ] Ram Ganesh commented on CLOUDSTACK-3000: ---------------------------------------- Should we not resolve this bug and re-open when the issue occurs again? > [Automation] Router not stopped based on "network.gc.interval" property > ------------------------------------------------------------------------ > > Key: CLOUDSTACK-3000 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3000 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Affects Versions: 4.2.0 > Environment: Automation Env > Master build > Reporter: Rayees Namathponnan > Assignee: Rajesh Battala > Fix For: 4.2.0 > > > Step 1 : Create advanced zone > Step 2: set network.gc.interval = 60, in global properties > Step 3 : Create an account, deploy and deploy vm with new network > Step 4 : Stop VM > Expected Result > Router should be stopped after one minute vm stops, but router taking more than 2 minute to stop > Please see the below log > a) VM i-141-163-QA stop command send at 14 01:35:03, > b) i-141-163-QA stopped at 01:35:32 > c ) Router r-164-QA should be stopped at 1:36:32 but, router stop command issues at 01:37:47 > 2013-06-14 01:35:03,634 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-28:job-624) ControlledEntity name is:com.cloud.network.router.VirtualRouter > 2013-06-14 01:35:03,663 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-28:job-624) VM state transitted from :Running to Stopping with event: StopRequestedvm's origin > al host id: 4 new host id: 4 host id before state transition: 4 > 2013-06-14 01:35:03,666 DEBUG [agent.transport.Request] (Job-Executor-28:job-624) Seq 4-524091527: Sending { Cmd , MgmtId: 29066118877352, via: 4, Ver: v1, Flags: 100111, [{" > StopCommand":{"isProxy":false,"vmName":"i-141-163-QA","wait":0}}] } > 2013-06-14 01:35:04,908 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) ===START=== 10.216.51.168 -- GET command=listVirtualMachines&response=json&sessionkey=dQ8vH3fJP0 > MSmEE61n6FIRSKDOA%3D&listAll=true&page=1&pagesize=20&_=1371188260986 > 2013-06-14 01:35:04,922 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:nu > 2013-06-14 01:35:32,311 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-624) Complete async job-624, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.UserVmResponse@30c871f > 2013-06-14 01:35:32,336 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-624) Done executing org.apache.cloudstack.api.command.user.vm.StopVMCmd for job-624 > 2013-06-14 01:35:33,674 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===START=== 10.216.51.168 -- GET command=queryAsyncJobResult&jobId=63e1a985-93f5-4f1b-9763-6f147cdd34e8&response=json&sessionkey=dQ8vH3fJP0MSmEE61n6FIRSKDOA%3D&_=1371188289775 > 2013-06-14 01:35:33,683 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-25:null) Async job-624 completed > 2013-06-14 01:35:33,689 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===END=== 10.216.51.168 -- GET command=queryAsyncJobResult&jobId=63e1a985-93f5-4f1b-9763-6f147cdd34e8&response=json&sessionkey=dQ8vH3fJP0MSmEE61n6FIRSKDOA%3D&_=1371188289775 > 2013-06-14 01:37:47,793 DEBUG [cloud.network.NetworkManagerImpl] (Network-Scavenger-1:null) Sending network shutdown to VirtualRouter > 2013-06-14 01:37:47,795 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (Network-Scavenger-1:null) Stopping router VM[DomainRouter|r-164-QA] > 2013-06-14 01:37:47,801 DEBUG [cloud.capacity.CapacityManagerImpl] (Network-Scavenger-1:null) VM state transitted from :Running to Stopping with event: StopRequestedvm's origi > nal host id: 4 new host id: 4 host id before state transition: 4 -- 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