[
https://issues.apache.org/jira/browse/CLOUDSTACK-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sangeetha Hariharan closed CLOUDSTACK-1113.
-------------------------------------------
Tested with latest build from network refactor branch:
Default value for network.ipv6.search.retry.max = 10000
set network.ipv6.search.retry.max = 5
Restart management server.
Create a IPV6 network with very small iprange , in my 3.
Deploy 2 vms to consume all the ips.
Deploy another Vm in this network.
It fails with following error message:
"Cannot find a usable IP in the network new after network.ipv6.search.retry.max
= 5 times retry!"
Closing this issue since this indicates that we are trying
network.ipv6.search.retry.max times before we conclude that we have no free ips
available.
Management server logs:
2013-02-09 00:25:25,352 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null)
===START=== 10.217.252.59 -- GET
command=deployVirtualMachine&zoneId=75c781d3-3424-4753-b5a8-08f3aaaff305&templateId=4a246766-1171-4c7e-b871-9c0210ea4932&hypervisor=KVM&serviceOfferingId=94c64e14-6ffe-437a-819b-0ed401c9a160&networkIds=346e092c-b474-472f-a181-c7c0609959ed&displayname=new-3&name=new-3&response=json&sessionkey=5bjlPBp4F6YMUP%2BR6N%2BYzfFq3Sg%3D&_=1360369576439
2013-02-09 00:25:25,368 DEBUG [cloud.network.NetworkModelImpl]
(catalina-exec-17:null) Service SecurityGroup is not supported in the network
id=206
2013-02-09 00:25:25,379 DEBUG [cloud.vm.UserVmManagerImpl]
(catalina-exec-17:null) Allocating in the DB for vm
2013-02-09 00:25:25,379 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-17:null) Allocating entries for VM: VM[User|new-3]
2013-02-09 00:25:25,382 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-17:null) Allocating nics for VM[User|new-3]
2013-02-09 00:25:25,382 DEBUG [cloud.network.NetworkManagerImpl]
(catalina-exec-17:null) Allocating nic for vm VM[User|new-3] in network
Ntwk[206|Guest|7] with requested profile NicProfile[0-0-null-null-null
2013-02-09 00:25:25,391 DEBUG [db.Transaction.Transaction]
(catalina-exec-17:null) Rolling back the transaction: Time = 12 Name =
createVirtualMachine; called by
-Transaction.rollback:882-Transaction.removeUpTo:825-Transaction.close:649-DatabaseCallback.interceptComplete:71-DatabaseCallback.intercept:36-VirtualMachineManagerImpl.allocate:294-DatabaseCallback.intercept:34-UserVmManagerImpl.createVirtualMachine:2486-ComponentLocator$InterceptorDispatcher.intercept:1262-UserVmManagerImpl.createAdvancedVirtualMachine:2224-DeployVMCmd.create:433-ApiDispatcher.dispatchCreateCmd:102
2013-02-09 00:25:25,404 INFO [api.commands.DeployVMCmd]
(catalina-exec-17:null)
com.cloud.exception.InsufficientAddressCapacityException: Cannot find a usable
IP in the network new after network.ipv6.search.retry.max = 5 times
retry!Scope=interface com.cloud.dc.DataCenter; id=1
2013-02-09 00:25:25,404 WARN [cloud.api.ApiDispatcher] (catalina-exec-17:null)
class com.cloud.api.ServerApiException : Cannot find a usable IP in the network
new after network.ipv6.search.retry.max = 5 times retry!
2013-02-09 00:25:25,405 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null)
===END=== 10.217.252.59 -- GET
command=deployVirtualMachine&zoneId=75c781d3-3424-4753-b5a8-08f3aaaff305&templateId=4a246766-1171-4c7e-b871-9c0210ea4932&hypervisor=KVM&serviceOfferingId=94c64e14-6ffe-437a-819b-0ed401c9a160&networkIds=346e092c-b474-472f-a181-c7c0609959ed&displayname=new-3&name=new-3&response=json&sessionkey=5bjlPBp4F6YMUP%2BR6N%2BYzfFq3Sg%3D&_=1360369576439
> Ipv6 - Not able to deploy a new VM in this network because of "Unable to
> allocate Unique Ipv6 address"
> ------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-1113
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1113
> 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
> Environment: Latest build from NetworkRefactor Branch,
> Reporter: Sangeetha Hariharan
> Assignee: Sheng Yang
> Fix For: 4.1.0
>
>
>
--
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