[jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property

2013-06-17 Thread Prasanna Santhanam (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686422#comment-13686422
 ] 

Prasanna Santhanam commented on CLOUDSTACK-3000:


You have to wait for at least 2 cycles. Or how would you know when the last 
scavenger thread ran? Can you paste information on when the scavenger ran 
between 1:30 and 1:36?

> [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
>Priority: Blocker
> 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


[jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property

2013-06-18 Thread Rajesh Battala (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686618#comment-13686618
 ] 

Rajesh Battala commented on CLOUDSTACK-3000:


there are two global config params 
1. network.gc.interval.
2. network.gc.wait 

network.gc.interval Seconds to wait before checking for networks to shutdown
 
network.gc.wait Time (in seconds) to wait before shutting down a network that's 
not in used


from the above, network.gc.interval is set to 60 what is the value set for 
network.gc.wait. ?

As the VM is shutdown for the account the netwok is idle/not used. 


network.gc.interval is used to start the network garbage collector thread. 

when gc is running we check the _networkGcWait and figure out whether to 
shutdown the network or not. 




Long time = _lastNetworkIdsToFree.remove(networkId);

time > (currentTime - _networkGcWait) we don't shutdown the network. if the 
time is greater else we shutdown the network(VR).



> [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
>Priority: Blocker
> 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 mor

[jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property

2013-06-18 Thread Rayees Namathponnan (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687073#comment-13687073
 ] 

Rayees Namathponnan commented on CLOUDSTACK-3000:
-

Not found this issue in last run, removed blocker from this defect; i will look 
on next automation result and update you

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


[jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property

2013-06-18 Thread Ram Ganesh (JIRA)

[ 
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


[jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property

2013-06-18 Thread Rajesh Battala (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687662#comment-13687662
 ] 

Rajesh Battala commented on CLOUDSTACK-3000:


Resolving the issue as the issue is not reproducible in the latest run.
please feel free to open if the issue is reproducible. 

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


[jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property

2013-07-01 Thread Rayees Namathponnan (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696814#comment-13696814
 ] 

Rayees Namathponnan commented on CLOUDSTACK-3000:
-

Rajesh - Can you possible run this test from your setup and check?

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


[jira] [Commented] (CLOUDSTACK-3000) [Automation] Router not stopped based on "network.gc.interval" property

2013-07-01 Thread Rayees Namathponnan (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696813#comment-13696813
 ] 

Rayees Namathponnan commented on CLOUDSTACK-3000:
-

This issue is happening inconsistently during BVT run.

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