Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
4.2.0
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
Steps:
This was done on master
1. Create a basic zone
2. Create phyiscal network for the basic zone from the API
2013-07-11 18:45:12,806 DEBUG [cloud.api.ApiServlet] (353885196@qtp-939716707-0:null) ===END=== 127.0.0.1 – GET apiKey=fx4uf6G-TizmtMqpWuno1RwPUW4D6XLA5Nls-DJuAbKoH6Uq8pB1nd8NP7Pz_b_BHTSd6zPX3NMiv2oWLCVJpw&name=Sandbox-simulator&dns1
=8.8.8.8&response=json&securitygroupenabled=true&command=createZone&signature=1ik9t2rerLFegRl2lK5gCdnbZG8%3D&networktype=Basic&internaldns1=8.8.8.8
2013-07-11 18:45:12,810 DEBUG [cloud.api.ApiServlet] (353885196@qtp-939716707-0:null) ===START=== 127.0.0.1 – GET apiKey=fx4uf6G-TizmtMqpWuno1RwPUW4D6XLA5Nls-DJuAbKoH6Uq8pB1nd8NP7Pz_b_BHTSd6zPX3NMiv2oWLCVJpw&name=Sandbox-pnet&zoneid=
49883477-06ec-4287-8725-6628c34248d3&isolationmethods=L3&command=createPhysicalNetwork&signature=yejiHpgnNmKUL5RFB%2FG4pvjqMZI%3D&response=json
2013-07-11 18:45:12,886 WARN [cloud.network.NetworkServiceImpl] (353885196@qtp-939716707-0:null) Exception:
com.cloud.exception.InvalidParameterValueException: Invalid Network Service Provider=BaremetalDhcpProvider
at com.cloud.network.NetworkServiceImpl.addProviderToPhysicalNetwork(NetworkServiceImpl.java:3297)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.network.NetworkServiceImpl.addDefaultBaremetalProvidersToPhysicalNetwork(NetworkServiceImpl.java:3805)
at com.cloud.network.NetworkServiceImpl.createPhysicalNetwork(NetworkServiceImpl.java:2517)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd.create(CreatePhysicalNetworkCmd.java:160)
at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:475)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:371)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2013-07-11 18:45:12,887 DEBUG [db.Transaction.Transaction] (353885196@qtp-939716707-0:null) Rolling back the transaction: Time = 35 Name = createPhysicalNetwork; called by -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-CreatePhysicalNetworkCmd.create:160-ApiDispatcher.dispatchCreateCmd:104-ApiServer.queueCommand:475-ApiServer.handleRequest:371-ApiServlet.processRequest:304-ApiServlet.doGet:66-HttpServlet.service:707
2013-07-11 18:45:12,892 ERROR [cloud.api.ApiServer] (353885196@qtp-939716707-0:null) unhandled exception executing api command: createPhysicalNetwork
com.cloud.utils.exception.CloudRuntimeException: Fail to create a physical network
at com.cloud.network.NetworkServiceImpl.createPhysicalNetwork(NetworkServiceImpl.java:2526)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd.create(CreatePhysicalNetworkCmd.java:160)
at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:475)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:371)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2013-07-11 18:45:12,894 DEBUG [cloud.api.ApiServlet] (353885196@qtp-939716707-0:null) ===END=== 127.0.0.1 – GET apiKey=fx4uf6G-TizmtMqpWuno1RwPUW4D6XLA5Nls-DJuAbKoH6Uq8pB1nd8NP7Pz_b_BHTSd6zPX3NMiv2oWLCVJpw&name=Sandbox-pnet&zoneid=49883477-06ec-4287-8725-6628c34248d3&isolationmethods=L3&command=createPhysicalNetwork&signature=yejiHpgnNmKUL5RFB%2FG4pvjqMZI%3D&response=json
Attachments
Attachments
Issue Links
- duplicates
-
CLOUDSTACK-1812 create physical network fails while creating basic zone
- Closed