cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4537) [Automation] Test case test_vpc_vm_life_cycle.py: TestVMLifeCycleSharedNwVPC failed with Insufficient address capacity error
Date Wed, 16 Oct 2013 17:17:42 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797010#comment-13797010
] 

Rayees Namathponnan commented on CLOUDSTACK-4537:
-------------------------------------------------

Please make sure, fix merged in both 4.2 and master before closing this defect

> [Automation] Test case test_vpc_vm_life_cycle.py: TestVMLifeCycleSharedNwVPC  failed
with Insufficient address capacity error 
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4537
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4537
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>         Environment: Automaiton
>            Reporter: Rayees Namathponnan
>            Assignee: Girish Shilamkar
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> Test case test_vpc_vm_life_cycle.py:failed in latest runs, failed with insuffcient address
capacity, before  running this test, i checked the env; there are enough free IP, but still
it failed
> Observed below error in test log
> Error Message
> Execute cmd: deployvirtualmachine failed, due to: errorCode: 533, errorText:Insufficient
address capacity
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
>     self.setUp()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
>     self.setupContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
>     try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in try_run
>     return func()
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_vpc_vm_life_cycle.py",
line 1005, in setUpClass
>     str(cls.network_2.id)]
>   File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
407, in create
>     virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 618, in deployVirtualMachine
>     response = self.connection.marvin_request(command, response_type=response, method=method)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
222, in marvin_request
>     response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj
>     raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackAPIException: Execute cmd: deployvirtualmachine failed, due to: errorCode:
533, errorText:Insufficient address capacity
> Below error from MS log
> 2013-08-28 07:51:27,808 WARN  [cloud.network.NetworkManagerImpl] (catalina-exec-5:null)
Unable to get ip adress in  zone id=1, vlanId id=[Ljava.lang.Object;@5b50eae5, network
> id=500
> 2013-08-28 07:51:27,819 DEBUG [db.Transaction.Transaction] (catalina-exec-5:null) Rolling
back the transaction: Time = 65 Name =  createVirtualMachine; called by -Transaction.
> rollback:898-Transaction.removeUpTo:841-Transaction.close:665-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.interce
> pt:133-NetworkManagerImpl.assignPublicIpAddress:376-NetworkManagerImpl.allocateDirectIp:4482-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-DirectNetw
> orkGuru.allocateDirectIp:233-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-DirectNetworkGuru.allocate:204-NetworkManagerImpl.allocateNic:1746
> 2013-08-28 07:51:27,876 INFO  [user.vm.DeployVMCmd] (catalina-exec-5:null) com.cloud.exception.InsufficientAddressCapacityException:
Insufficient address capacityScope=interface com.cloud.dc.DataCenter; id=1
> 2013-08-28 07:51:27,877 TRACE [user.vm.DeployVMCmd] (catalina-exec-5:null) Insufficient
address capacity
> com.cloud.exception.InsufficientAddressCapacityException: Insufficient address capacityScope=interface
com.cloud.dc.DataCenter; id=1
>         at com.cloud.network.NetworkManagerImpl.fetchNewPublicIp(NetworkManagerImpl.java:479)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.network.NetworkManagerImpl.assignPublicIpAddress(NetworkManagerImpl.java:376)
>         at com.cloud.network.NetworkManagerImpl.allocateDirectIp(NetworkManagerImpl.java:4482)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.network.guru.DirectNetworkGuru.allocateDirectIp(DirectNetworkGuru.java:233)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.network.guru.DirectNetworkGuru.allocate(DirectNetworkGuru.java:204)
>         at com.cloud.network.NetworkManagerImpl.allocateNic(NetworkManagerImpl.java:1746)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.network.NetworkManagerImpl.allocate(NetworkManagerImpl.java:1687)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.vm.VirtualMachineManagerImpl.allocate(VirtualMachineManagerImpl.java:368)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.platform.orchestration.CloudOrchestrator.createVirtualMachine(CloudOrchestrator.java:214)
>         at com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:2867)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.vm.UserVmManagerImpl.createAdvancedVirtualMachine(UserVmManagerImpl.java:2478)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.create(DeployVMCmd.java:508)
>         at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:460)
>         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)
> :



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message