cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Balineni (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-5699) If a new network is created as part of create instance, networks table popluated With NULL CIDR/GATEWAY
Date Wed, 05 Mar 2014 19:18:51 GMT

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

Suresh Balineni reassigned CLOUDSTACK-5699:
-------------------------------------------

    Assignee: Suresh Balineni

> If a new network is created as part of create instance, networks table  popluated With
NULL CIDR/GATEWAY 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5699
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5699
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, Management Server
>    Affects Versions: 4.2.0
>            Reporter: Vinod Nair
>            Assignee: Suresh Balineni
>
> On creating a New Network as part of the Virtual Instance creation, error is thrown and
the virtual instance is not created, but the networks table gets populated with  the Virtual
network defined.
> The blow exception is seen in the management server logs
> 2013-12-31 15:21:48,815 DEBUG [cloud.network.NetworkServiceImpl] (catalina-exec-1:null)
Implementing network Ntwk[206|Guest|15] as a part of network provision for persistent network
> 2013-12-31 15:21:48,817 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
Lock is acquired for network id 206 as a part of network implement
> 2013-12-31 15:21:48,817 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
Asking ContrailGuru to implement Ntwk[206|Guest|15]
> 2013-12-31 15:21:48,840 DEBUG [contrail.management.ContrailGuru] (catalina-exec-1:null)
Implement network: VN2, traffic type: Guest
> 2013-12-31 15:21:48,840 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) >>
Request: GET, /virtual-network/ebb7e51a-9596-41b3-8147-1e4189a1f3d3
> 2013-12-31 15:21:48,842 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) <<
Response Status: HTTP/1.1 404 Not Found
> 2013-12-31 15:21:48,842 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) >>
Request: GET, /virtual-network/ebb7e51a-9596-41b3-8147-1e4189a1f3d3
> 2013-12-31 15:21:48,843 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) <<
Response Status: HTTP/1.1 404 Not Found
> 2013-12-31 15:21:48,844 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) >>
Request: POST, /fqname-to-id, {"type":"network-ipam","fq_name":["default-domain","default-project","default-network-ipam"]}
> 2013-12-31 15:21:48,845 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) <<
Response Status: HTTP/1.1 200 OK
> 2013-12-31 15:21:48,845 DEBUG [contrail.api.ApiConnector] (catalina-exec-1:null) <<
Response Data: {"uuid": "6e057215-1ed7-4889-99bf-626cddf125a5"}
> 2013-12-31 15:21:48,845 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) >>
Request: GET, /network-ipam/6e057215-1ed7-4889-99bf-626cddf125a5
> 2013-12-31 15:21:48,847 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) <<
Response Status: HTTP/1.1 200 OK
> 2013-12-31 15:21:48,849 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) >>
Request: POST, /virtual-networks, {"virtual-network":{"name":"VN2","uuid":"ebb7e51a-9596-41b3-8147-1e4189a1f3d3","fq_name":["default-domain","default-project","VN2"],"parent_type":"project"}}
> 2013-12-31 15:21:48,853 INFO  [contrail.api.ApiConnector] (catalina-exec-1:null) <<
Response Status: HTTP/1.1 200 OK
> 2013-12-31 15:21:48,853 DEBUG [contrail.api.ApiConnector] (catalina-exec-1:null) Create
virtual-network uuid: ebb7e51a-9596-41b3-8147-1e4189a1f3d3
> 2013-12-31 15:21:48,891 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
Creating a source nat ip for network Ntwk[206|Guest|15]
> 2013-12-31 15:21:48,893 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
lock account 2 is acquired
> 2013-12-31 15:21:48,932 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
Releasing lock account 2
> 2013-12-31 15:21:48,934 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
Asking ContrailElementImpl_EnhancerByCloudStack_31e1587 to implemenet Ntwk[206|Guest|15]
> 2013-12-31 15:21:48,935 DEBUG [contrail.management.ContrailElement] (catalina-exec-1:null)
NetworkElement implement: VN2, traffic type: Guest
> 2013-12-31 15:21:48,935 DEBUG [contrail.management.ContrailElement] (catalina-exec-1:null)
ignore network VN2
> 2013-12-31 15:21:48,935 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
Reprogramming network Ntwk[206|Guest|15] as a part of network implement
> 2013-12-31 15:21:48,939 DEBUG [network.rules.RulesManagerImpl] (catalina-exec-1:null)
There are no static nat to apply for network id=206
> 2013-12-31 15:21:48,939 DEBUG [network.firewall.FirewallManagerImpl] (catalina-exec-1:null)
There are no firewall rules to apply
> 2013-12-31 15:21:48,941 DEBUG [network.rules.RulesManagerImpl] (catalina-exec-1:null)
There are no port forwarding rules to apply for network id=206
> 2013-12-31 15:21:48,942 DEBUG [network.rules.RulesManagerImpl] (catalina-exec-1:null)
There are no static nat rules to apply for network id=206
> 2013-12-31 15:21:48,942 DEBUG [network.lb.LoadBalancingRulesManagerImpl] (catalina-exec-1:null)
Applying load balancer rules of scheme Public in network id=206
> 2013-12-31 15:21:48,942 DEBUG [network.lb.LoadBalancingRulesManagerImpl] (catalina-exec-1:null)
There are no Load Balancing Rules to forward to the network elements
> 2013-12-31 15:21:48,943 DEBUG [network.lb.LoadBalancingRulesManagerImpl] (catalina-exec-1:null)
Applying load balancer rules of scheme Internal in network id=206
> 2013-12-31 15:21:48,943 DEBUG [network.lb.LoadBalancingRulesManagerImpl] (catalina-exec-1:null)
There are no Load Balancing Rules to forward to the network elements
> 2013-12-31 15:21:48,999 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-1:null)
Lock is released for network id 206 as a part of network implement
> 2013-12-31 15:21:49,025 DEBUG [contrail.management.ContrailGuru] (catalina-exec-1:null)
NetworkGuru updateNetworkProfile
> 2013-12-31 15:21:49,029 ERROR [cloud.api.ApiServer] (catalina-exec-1:null) unhandled
exception executing api command: createNetwork
> java.lang.NullPointerException
>         at com.cloud.network.NetworkModelImpl.getAvailableIps(NetworkModelImpl.java:1694)
>         at com.cloud.network.NetworkModelImpl.canUseForDeploy(NetworkModelImpl.java:585)
>         at com.cloud.api.ApiDBUtils.canUseForDeploy(ApiDBUtils.java:1147)
>         at com.cloud.api.ApiResponseHelper.createNetworkResponse(ApiResponseHelper.java:2259)
>         at org.apache.cloudstack.api.command.user.network.CreateNetworkCmd.execute(CreateNetworkCmd.java:288)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
>         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:2266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:724)
> 2013-12-31 15:21:49,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) ===END===
 172.29.2.229 -- GET  command=createNetwork&response=json&sessionkey=XT6mnDhml9O8QASSjbGE0FNslP4%3D&networkOfferingId=9b64cee2-8a17-476a-9834-368117d2d309&name=VN2&displayText=VN2&zoneId=44ed1be8-3f9d-40ce-abf3-b03cf325c13c&_=1388532116154



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message