[jira] [Commented] (CLOUDSTACK-1242) [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode deployement

2013-02-12 Thread Sheng Yang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13577310#comment-13577310
 ] 

Sheng Yang commented on CLOUDSTACK-1242:


It's Chiradeep's network refactor complete broke inline mode.

I am fixing it now.

 [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode 
 deployement
 ---

 Key: CLOUDSTACK-1242
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1242
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.1.0
 Environment: ASF 4.1 branch a880f47fc51d09ef77475fc34b05175aabb0697c
Reporter: Sanjeev N
Assignee: Sheng Yang
Priority: Blocker
 Fix For: 4.1.0

 Attachments: api.log, vmops.rar


 [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode 
 deployement
 Steps to Reproduce:
 ===
 1.Bring up CS in advanced mode with Xen cluster
 2.Add SRX and F5 devices as network service providers and enable them.
 3. Create a NO using SRX for PF,Static NAT, Source Nat (Zone wide) and F5 for 
 LB with Share LB Isolation mode and Inline mode and rest of the services 
 are provided by VR.
 4.Deploy couple of guest vms using above created NO
 5.Go to guest network, acquire IP address .
 6.Create firewall rule on the acquired IP address and open ports.
 7.Try to create LB rule on the same IP address.
 Expected Behavior:
 ===
 Should be able to create LB rule on the same ip
 Actual Result:
 ===
 LB creation failed
 Observations:
 ==
 LB creation failed with the following exception:
 Observations:
 ==
 2013-02-12 11:10:34,456 WARN  [network.lb.LoadBalancingRulesManagerImpl] 
 (573164171@qtp-1508177397-8:null) Failed to create load balancer due to
 java.security.InvalidParameterException: There would be multiple providers 
 for IP 10.147.48.26!
 at 
 com.cloud.network.NetworkModelImpl.canIpUsedForService(NetworkModelImpl.java:394)
 at 
 com.cloud.network.NetworkModelImpl.checkIpForService(NetworkModelImpl.java:1395)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at 
 org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
 at 
 com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
 at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
 at 
 org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at 
 org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
 at 
 com.cloud.network.lb.LoadBalancingRulesManagerImpl.createLoadBalancerRule(LoadBalancingRulesManagerImpl.java:1000)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at 
 org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
 at 
 com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionEventInterceptor.java:41)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 

[jira] [Commented] (CLOUDSTACK-1242) [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode deployement

2013-02-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13577327#comment-13577327
 ] 

ASF subversion and git services commented on CLOUDSTACK-1242:
-

Commit 72234efa3ecfa7da0053a8e7442e11a828798961 in branch refs/heads/4.1 from 
Sheng Yang sheng.y...@citrix.com
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=72234ef ]

CLOUDSTACK-1242: Fix inline mode

Network refactor dropped many inline mode codes. I've added at least part of
them back. Now I can create LB rule for inline mode.


 [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode 
 deployement
 ---

 Key: CLOUDSTACK-1242
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1242
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.1.0
 Environment: ASF 4.1 branch a880f47fc51d09ef77475fc34b05175aabb0697c
Reporter: Sanjeev N
Assignee: Sheng Yang
Priority: Blocker
 Fix For: 4.1.0

 Attachments: api.log, vmops.rar


 [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode 
 deployement
 Steps to Reproduce:
 ===
 1.Bring up CS in advanced mode with Xen cluster
 2.Add SRX and F5 devices as network service providers and enable them.
 3. Create a NO using SRX for PF,Static NAT, Source Nat (Zone wide) and F5 for 
 LB with Share LB Isolation mode and Inline mode and rest of the services 
 are provided by VR.
 4.Deploy couple of guest vms using above created NO
 5.Go to guest network, acquire IP address .
 6.Create firewall rule on the acquired IP address and open ports.
 7.Try to create LB rule on the same IP address.
 Expected Behavior:
 ===
 Should be able to create LB rule on the same ip
 Actual Result:
 ===
 LB creation failed
 Observations:
 ==
 LB creation failed with the following exception:
 Observations:
 ==
 2013-02-12 11:10:34,456 WARN  [network.lb.LoadBalancingRulesManagerImpl] 
 (573164171@qtp-1508177397-8:null) Failed to create load balancer due to
 java.security.InvalidParameterException: There would be multiple providers 
 for IP 10.147.48.26!
 at 
 com.cloud.network.NetworkModelImpl.canIpUsedForService(NetworkModelImpl.java:394)
 at 
 com.cloud.network.NetworkModelImpl.checkIpForService(NetworkModelImpl.java:1395)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at 
 org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
 at 
 com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
 at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
 at 
 org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at 
 org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
 at 
 com.cloud.network.lb.LoadBalancingRulesManagerImpl.createLoadBalancerRule(LoadBalancingRulesManagerImpl.java:1000)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at 
 org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
 at 
 

[jira] [Commented] (CLOUDSTACK-1242) [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode deployement

2013-02-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13577328#comment-13577328
 ] 

ASF subversion and git services commented on CLOUDSTACK-1242:
-

Commit 2776ad14c8d5c090956867a68473ce28316e0286 in branch refs/heads/master 
from Sheng Yang sheng.y...@citrix.com
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=2776ad1 ]

CLOUDSTACK-1242: Fix inline mode

Network refactor dropped many inline mode codes. I've added at least part of
them back. Now I can create LB rule for inline mode.


 [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode 
 deployement
 ---

 Key: CLOUDSTACK-1242
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1242
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.1.0
 Environment: ASF 4.1 branch a880f47fc51d09ef77475fc34b05175aabb0697c
Reporter: Sanjeev N
Assignee: Sheng Yang
Priority: Blocker
 Fix For: 4.1.0

 Attachments: api.log, vmops.rar


 [F5-SRX-InlineMode] Failed to create LB rule with F5-SRX inlinemode 
 deployement
 Steps to Reproduce:
 ===
 1.Bring up CS in advanced mode with Xen cluster
 2.Add SRX and F5 devices as network service providers and enable them.
 3. Create a NO using SRX for PF,Static NAT, Source Nat (Zone wide) and F5 for 
 LB with Share LB Isolation mode and Inline mode and rest of the services 
 are provided by VR.
 4.Deploy couple of guest vms using above created NO
 5.Go to guest network, acquire IP address .
 6.Create firewall rule on the acquired IP address and open ports.
 7.Try to create LB rule on the same IP address.
 Expected Behavior:
 ===
 Should be able to create LB rule on the same ip
 Actual Result:
 ===
 LB creation failed
 Observations:
 ==
 LB creation failed with the following exception:
 Observations:
 ==
 2013-02-12 11:10:34,456 WARN  [network.lb.LoadBalancingRulesManagerImpl] 
 (573164171@qtp-1508177397-8:null) Failed to create load balancer due to
 java.security.InvalidParameterException: There would be multiple providers 
 for IP 10.147.48.26!
 at 
 com.cloud.network.NetworkModelImpl.canIpUsedForService(NetworkModelImpl.java:394)
 at 
 com.cloud.network.NetworkModelImpl.checkIpForService(NetworkModelImpl.java:1395)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at 
 org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
 at 
 com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
 at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
 at 
 org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at 
 org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
 at 
 com.cloud.network.lb.LoadBalancingRulesManagerImpl.createLoadBalancerRule(LoadBalancingRulesManagerImpl.java:1000)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
 at 
 org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at 
 org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
 at