[jira] [Updated] (CLOUDSTACK-7615) [Automation] Firewall rules fails with ResourceUnavailableException

2014-09-29 Thread Rayees Namathponnan (JIRA)

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

Rayees Namathponnan updated CLOUDSTACK-7615:

Assignee: Jayapal Reddy  (was: Rayees Namathponnan)

> [Automation] Firewall rules fails with ResourceUnavailableException
> ---
>
> Key: CLOUDSTACK-7615
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7615
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.5.0
>Reporter: Rayees Namathponnan
>Assignee: Jayapal Reddy
> Fix For: 4.5.0
>
> Attachments: management-server.log.1
>
>
> This Exception should be handled properly, seen this issue during automation 
> run, VR not available to apply, that need to be tracked 
> Here i am creating this ticket to imrove logggin 
> 1, Ver: v1, Flags: 0, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"","wait":0}}] }
> 2014-09-23 17:05:27,007 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Seq 
> 1-7258113749460975844: Received:  { Ans: , MgmtI
> d: 72809463712085, via: 1, Ver: v1, Flags: 0, { Answer } }
> 2014-09-23 17:05:27,007 WARN  [c.c.n.f.FirewallManagerImpl] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Failed to apply 
> firewall rules due to
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
> unreachable: Unable to apply firewall rules on router
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:4050)
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyFirewallRules(VirtualNetworkApplianceManagerImpl.java:3862)
> at sun.reflect.GeneratedMethodAccessor323.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy190.applyFirewallRules(Unknown Source)
> at 
> com.cloud.network.element.VirtualRouterElement.applyFWRules(VirtualRouterElement.java:260)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:577)
> at 
> com.cloud.network.IpAddressManagerImpl.applyRules(IpAddressManagerImpl.java:504)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:532)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:658)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRules(FirewallManagerImpl.java:630)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy195.applyIngressFirewallRules(Unknown Source)
> at 
> org.apache.cloudstack.api.command.user.firewall.CreatePortForwardingRuleCmd.execute(CreatePortForwardingRuleCmd.java:213)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
> at 
> com.cloud.

[jira] [Updated] (CLOUDSTACK-7615) [Automation] Firewall rules fails with ResourceUnavailableException

2014-09-29 Thread Jayapal Reddy (JIRA)

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

Jayapal Reddy updated CLOUDSTACK-7615:
--
Assignee: Rayees Namathponnan  (was: Jayapal Reddy)

> [Automation] Firewall rules fails with ResourceUnavailableException
> ---
>
> Key: CLOUDSTACK-7615
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7615
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.5.0
>Reporter: Rayees Namathponnan
>Assignee: Rayees Namathponnan
> Fix For: 4.5.0
>
> Attachments: management-server.log.1
>
>
> This Exception should be handled properly, seen this issue during automation 
> run, VR not available to apply, that need to be tracked 
> Here i am creating this ticket to imrove logggin 
> 1, Ver: v1, Flags: 0, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"","wait":0}}] }
> 2014-09-23 17:05:27,007 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Seq 
> 1-7258113749460975844: Received:  { Ans: , MgmtI
> d: 72809463712085, via: 1, Ver: v1, Flags: 0, { Answer } }
> 2014-09-23 17:05:27,007 WARN  [c.c.n.f.FirewallManagerImpl] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Failed to apply 
> firewall rules due to
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
> unreachable: Unable to apply firewall rules on router
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:4050)
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyFirewallRules(VirtualNetworkApplianceManagerImpl.java:3862)
> at sun.reflect.GeneratedMethodAccessor323.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy190.applyFirewallRules(Unknown Source)
> at 
> com.cloud.network.element.VirtualRouterElement.applyFWRules(VirtualRouterElement.java:260)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:577)
> at 
> com.cloud.network.IpAddressManagerImpl.applyRules(IpAddressManagerImpl.java:504)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:532)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:658)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRules(FirewallManagerImpl.java:630)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy195.applyIngressFirewallRules(Unknown Source)
> at 
> org.apache.cloudstack.api.command.user.firewall.CreatePortForwardingRuleCmd.execute(CreatePortForwardingRuleCmd.java:213)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
> at 
> com.cloud.api.Ap

[jira] [Updated] (CLOUDSTACK-7615) [Automation] Firewall rules fails with ResourceUnavailableException

2014-09-23 Thread Animesh Chaturvedi (JIRA)

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

Animesh Chaturvedi updated CLOUDSTACK-7615:
---
Priority: Major  (was: Critical)

> [Automation] Firewall rules fails with ResourceUnavailableException
> ---
>
> Key: CLOUDSTACK-7615
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7615
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.5.0
>Reporter: Rayees Namathponnan
>Assignee: Jayapal Reddy
> Fix For: 4.5.0
>
> Attachments: management-server.log.1
>
>
> This Exception should be handled properly, seen this issue during automation 
> run, VR not available to apply, that need to be tracked 
> Here i am creating this ticket to imrove logggin 
> 1, Ver: v1, Flags: 0, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"","wait":0}}] }
> 2014-09-23 17:05:27,007 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Seq 
> 1-7258113749460975844: Received:  { Ans: , MgmtI
> d: 72809463712085, via: 1, Ver: v1, Flags: 0, { Answer } }
> 2014-09-23 17:05:27,007 WARN  [c.c.n.f.FirewallManagerImpl] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Failed to apply 
> firewall rules due to
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
> unreachable: Unable to apply firewall rules on router
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:4050)
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyFirewallRules(VirtualNetworkApplianceManagerImpl.java:3862)
> at sun.reflect.GeneratedMethodAccessor323.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy190.applyFirewallRules(Unknown Source)
> at 
> com.cloud.network.element.VirtualRouterElement.applyFWRules(VirtualRouterElement.java:260)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:577)
> at 
> com.cloud.network.IpAddressManagerImpl.applyRules(IpAddressManagerImpl.java:504)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:532)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:658)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRules(FirewallManagerImpl.java:630)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy195.applyIngressFirewallRules(Unknown Source)
> at 
> org.apache.cloudstack.api.command.user.firewall.CreatePortForwardingRuleCmd.execute(CreatePortForwardingRuleCmd.java:213)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
> at 
> com.cloud.api.ApiAsyncJobDispat

[jira] [Updated] (CLOUDSTACK-7615) [Automation] Firewall rules fails with ResourceUnavailableException

2014-09-23 Thread Animesh Chaturvedi (JIRA)

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

Animesh Chaturvedi updated CLOUDSTACK-7615:
---
Assignee: Jayapal Reddy

> [Automation] Firewall rules fails with ResourceUnavailableException
> ---
>
> Key: CLOUDSTACK-7615
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7615
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.5.0
>Reporter: Rayees Namathponnan
>Assignee: Jayapal Reddy
> Fix For: 4.5.0
>
> Attachments: management-server.log.1
>
>
> This Exception should be handled properly, seen this issue during automation 
> run, VR not available to apply, that need to be tracked 
> Here i am creating this ticket to imrove logggin 
> 1, Ver: v1, Flags: 0, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"","wait":0}}] }
> 2014-09-23 17:05:27,007 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Seq 
> 1-7258113749460975844: Received:  { Ans: , MgmtI
> d: 72809463712085, via: 1, Ver: v1, Flags: 0, { Answer } }
> 2014-09-23 17:05:27,007 WARN  [c.c.n.f.FirewallManagerImpl] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Failed to apply 
> firewall rules due to
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
> unreachable: Unable to apply firewall rules on router
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:4050)
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyFirewallRules(VirtualNetworkApplianceManagerImpl.java:3862)
> at sun.reflect.GeneratedMethodAccessor323.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy190.applyFirewallRules(Unknown Source)
> at 
> com.cloud.network.element.VirtualRouterElement.applyFWRules(VirtualRouterElement.java:260)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:577)
> at 
> com.cloud.network.IpAddressManagerImpl.applyRules(IpAddressManagerImpl.java:504)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:532)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:658)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRules(FirewallManagerImpl.java:630)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy195.applyIngressFirewallRules(Unknown Source)
> at 
> org.apache.cloudstack.api.command.user.firewall.CreatePortForwardingRuleCmd.execute(CreatePortForwardingRuleCmd.java:213)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
> at 
> com.cloud.api.ApiAsyncJobDispatcher.runJ

[jira] [Updated] (CLOUDSTACK-7615) [Automation] Firewall rules fails with ResourceUnavailableException

2014-09-23 Thread Animesh Chaturvedi (JIRA)

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

Animesh Chaturvedi updated CLOUDSTACK-7615:
---
Priority: Critical  (was: Major)

> [Automation] Firewall rules fails with ResourceUnavailableException
> ---
>
> Key: CLOUDSTACK-7615
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7615
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.5.0
>Reporter: Rayees Namathponnan
>Assignee: Jayapal Reddy
>Priority: Critical
> Fix For: 4.5.0
>
> Attachments: management-server.log.1
>
>
> This Exception should be handled properly, seen this issue during automation 
> run, VR not available to apply, that need to be tracked 
> Here i am creating this ticket to imrove logggin 
> 1, Ver: v1, Flags: 0, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"","wait":0}}] }
> 2014-09-23 17:05:27,007 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Seq 
> 1-7258113749460975844: Received:  { Ans: , MgmtI
> d: 72809463712085, via: 1, Ver: v1, Flags: 0, { Answer } }
> 2014-09-23 17:05:27,007 WARN  [c.c.n.f.FirewallManagerImpl] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Failed to apply 
> firewall rules due to
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
> unreachable: Unable to apply firewall rules on router
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:4050)
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyFirewallRules(VirtualNetworkApplianceManagerImpl.java:3862)
> at sun.reflect.GeneratedMethodAccessor323.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy190.applyFirewallRules(Unknown Source)
> at 
> com.cloud.network.element.VirtualRouterElement.applyFWRules(VirtualRouterElement.java:260)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:577)
> at 
> com.cloud.network.IpAddressManagerImpl.applyRules(IpAddressManagerImpl.java:504)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:532)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:658)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRules(FirewallManagerImpl.java:630)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy195.applyIngressFirewallRules(Unknown Source)
> at 
> org.apache.cloudstack.api.command.user.firewall.CreatePortForwardingRuleCmd.execute(CreatePortForwardingRuleCmd.java:213)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
> at 
>

[jira] [Updated] (CLOUDSTACK-7615) [Automation] Firewall rules fails with ResourceUnavailableException

2014-09-23 Thread Rayees Namathponnan (JIRA)

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

Rayees Namathponnan updated CLOUDSTACK-7615:

Attachment: management-server.log.1

> [Automation] Firewall rules fails with ResourceUnavailableException
> ---
>
> Key: CLOUDSTACK-7615
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7615
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.5.0
>Reporter: Rayees Namathponnan
> Fix For: 4.5.0
>
> Attachments: management-server.log.1
>
>
> This Exception should be handled properly, seen this issue during automation 
> run, VR not available to apply, that need to be tracked 
> Here i am creating this ticket to imrove logggin 
> 1, Ver: v1, Flags: 0, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"","wait":0}}] }
> 2014-09-23 17:05:27,007 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Seq 
> 1-7258113749460975844: Received:  { Ans: , MgmtI
> d: 72809463712085, via: 1, Ver: v1, Flags: 0, { Answer } }
> 2014-09-23 17:05:27,007 WARN  [c.c.n.f.FirewallManagerImpl] 
> (API-Job-Executor-107:ctx-76d385d5 job-214 ctx-f4bf84ec) Failed to apply 
> firewall rules due to
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
> unreachable: Unable to apply firewall rules on router
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:4050)
> at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyFirewallRules(VirtualNetworkApplianceManagerImpl.java:3862)
> at sun.reflect.GeneratedMethodAccessor323.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy190.applyFirewallRules(Unknown Source)
> at 
> com.cloud.network.element.VirtualRouterElement.applyFWRules(VirtualRouterElement.java:260)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:577)
> at 
> com.cloud.network.IpAddressManagerImpl.applyRules(IpAddressManagerImpl.java:504)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:532)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:658)
> at 
> com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRules(FirewallManagerImpl.java:630)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy195.applyIngressFirewallRules(Unknown Source)
> at 
> org.apache.cloudstack.api.command.user.firewall.CreatePortForwardingRuleCmd.execute(CreatePortForwardingRuleCmd.java:213)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
> at 
> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatche