[
https://issues.apache.org/jira/browse/CLOUDSTACK-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chip Childers reopened CLOUDSTACK-1817:
---------------------------------------
reopening to correctly tag as duplicate
> Unable to create Basic Zone
> ---------------------------
>
> Key: CLOUDSTACK-1817
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1817
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.1.0
> Reporter: Chandan Purushothama
> Priority: Blocker
> Fix For: 4.1.0
>
>
> ================
> Steps to Reproduce:
> ================
> 1. Create a Basic Zone using DefaultNetworkOfferingwithSGenabled network
> offering
> ==========
> Observations:
> ==========
> 2013-03-26 17:20:55,662 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null)
> ===START=== 10.216.132.62 -- GET
> command=createZone&networktype=Basic&name=ZONE-EC2RESTAPI&dns1=8.8.8.8&dns2=8.8.4.4&internaldns1=10.223.110.254&internaldns2=10.223.110.253&domain=ec2restapi.lab.vmops.com&response=json&sessionkey=96R4jpyeB%2F2oJ9rLFgU5lBBbIHM%3D&_=1364333560224
> 2013-03-26 17:20:55,770 DEBUG [network.guru.NiciraNvpGuestNetworkGuru]
> (catalina-exec-17:null) Refusing to design this network
> 2013-03-26 17:20:55,770 DEBUG [cloud.network.NetworkManagerImpl]
> (catalina-exec-17:null) Releasing lock for Acct[1-system]
> 2013-03-26 17:20:55,797 DEBUG [network.guru.NiciraNvpGuestNetworkGuru]
> (catalina-exec-17:null) Refusing to design this network
> 2013-03-26 17:20:55,798 DEBUG [cloud.network.NetworkManagerImpl]
> (catalina-exec-17:null) Releasing lock for Acct[1-system]
> 2013-03-26 17:20:55,823 DEBUG [network.guru.NiciraNvpGuestNetworkGuru]
> (catalina-exec-17:null) Refusing to design this network
> 2013-03-26 17:20:55,823 DEBUG [cloud.network.NetworkManagerImpl]
> (catalina-exec-17:null) Releasing lock for Acct[1-system]
> 2013-03-26 17:20:55,848 DEBUG [network.guru.NiciraNvpGuestNetworkGuru]
> (catalina-exec-17:null) Refusing to design this network
> 2013-03-26 17:20:55,848 DEBUG [cloud.network.NetworkManagerImpl]
> (catalina-exec-17:null) Releasing lock for Acct[1-system]
> 2013-03-26 17:20:55,893 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null)
> ===END=== 10.216.132.62 -- GET
> command=createZone&networktype=Basic&name=ZONE-EC2RESTAPI&dns1=8.8.8.8&dns2=8.8.4.4&internaldns1=10.223.110.254&internaldns2=10.223.110.253&domain=ec2restapi.lab.vmops.com&response=json&sessionkey=96R4jpyeB%2F2oJ9rLFgU5lBBbIHM%3D&_=1364333560224
> 2013-03-26 17:20:55,935 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null)
> ===START=== 10.216.132.62 -- GET
> command=createPhysicalNetwork&zoneid=95028f9f-0fd3-4bf7-a6d2-69daac66310d&name=Physical%20Network%201&response=json&sessionkey=96R4jpyeB%2F2oJ9rLFgU5lBBbIHM%3D&_=1364333560495
> 2013-03-26 17:20:56,017 WARN [cloud.network.NetworkServiceImpl]
> (catalina-exec-14:null) Exception:
> com.cloud.exception.InvalidParameterValueException: Invalid Network Service
> Provider=BaremetalDhcpProvider
> at
> com.cloud.network.NetworkServiceImpl.addProviderToPhysicalNetwork(NetworkServiceImpl.java:2300)
> at
> com.cloud.network.NetworkServiceImpl.addDefaultBaremetalProvidersToPhysicalNetwork(NetworkServiceImpl.java:2789)
> at
> com.cloud.network.NetworkServiceImpl.createPhysicalNetwork(NetworkServiceImpl.java:1949)
> 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:616)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> 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:48)
> 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: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:161)
> at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
> at
> com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:39)
> at sun.reflect.GeneratedMethodAccessor27.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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> at $Proxy167.createPhysicalNetwork(Unknown Source)
> at
> org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd.create(CreatePhysicalNetworkCmd.java:160)
> at
> com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:107)
> 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:45)
> at sun.reflect.GeneratedMethodAccessor27.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.api.ApiServer.queueCommand(ApiServer.java:447)
> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:349)
> at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> 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:45)
> at sun.reflect.GeneratedMethodAccessor27.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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> at $Proxy372.handleRequest(Unknown Source)
> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
> at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
> 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:679)
> 2013-03-26 17:20:56,022 DEBUG [db.Transaction.Transaction]
> (catalina-exec-14:null) Rolling back the transaction: Time = 64 Name =
> createPhysicalNetwork; called by
> -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.AroundAnyMethod:41-GeneratedMethodAccessor27.invoke:-1-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:616-AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs:621-AbstractAspectJAdvice.invokeAdviceMethod:610-AspectJAroundAdvice.invoke:65-ReflectiveMethodInvocation.proceed:172-ExposeInvocationInterceptor.invoke:90
> mysql> select * from data_center \G
> *************************** 1. row ***************************
> id: 1
> name: ZONE-EC2RESTAPI
> uuid: 95028f9f-0fd3-4bf7-a6d2-69daac66310d
> description: NULL
> dns1: 8.8.8.8
> dns2: 8.8.4.4
> internal_dns1: 10.223.110.254
> internal_dns2: 10.223.110.253
> gateway: NULL
> netmask: NULL
> router_mac_address: 02:00:00:00:00:01
> mac_address: 1
> guest_network_cidr: NULL
> domain: ec2restapi.lab.vmops.com
> domain_id: NULL
> networktype: Basic
> dns_provider: VirtualRouter
> gateway_provider: NULL
> firewall_provider: NULL
> dhcp_provider: VirtualRouter
> lb_provider: ElasticLoadBalancerVm
> vpn_provider: NULL
> userdata_provider: VirtualRouter
> allocation_state: Disabled
> zone_token: 523017ca-bed6-3903-ab49-fbed3d686f00
> is_security_group_enabled: 1
> is_local_storage_enabled: 0
> removed: NULL
> owner: NULL
> created: NULL
> lastUpdated: NULL
> engine_state: Disabled
> ip6_dns1: NULL
> ip6_dns2: NULL
> 1 row in set (0.00 sec)
> mysql>
--
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