cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-1153) Ipv6 - Vm deployment fails with "n must be positive" error.
Date Thu, 07 Feb 2013 22:55:13 GMT

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

Sangeetha Hariharan closed CLOUDSTACK-1153.
-------------------------------------------


Tested with the latest build from network refractor branch.

This issue is not reproducible anymore.

Create Ipv6 Shared Network by passing ipv6 params -  ip6cidr,ip6gateway,startipv6 and endipv6
with max ip range possible for /64 network -  startIp startipv6=FC00:3:1371::2&endipv6=FC00:3:1371::ffff:ffff:ffff:ffff.

Deploying Vms in this network succeeds.

The largest supported cidr is "/64".

We do not allow cidr size to be less than 64 bit:


2013-02-07 19:44:15,209 INFO  [cloud.api.ApiServer] (catalina-exec-22:null) (userId=2 accountId=2
sessionId=688215191B8C65C3F078FA1CA352B341) 10.217.252.59 -- GET command=createNetwork&zoneId=75c781d3-3424-4753-b5a8-08f3aaaff305&networkOfferingId=b7f83d5f-0f80-4139-8835-08415f5338a2&physicalnetworkid=cb0d35c0-f0ee-4b4a-a621-102da6b199bb&name=test1321&displayText=test1321&vlan=1321&acltype=domain&ip6gateway=FC00:3:1321::&ip6cidr=FC00:3:1321::1/42&startipv6=FC00:3:1321::2&endipv6=FC00:3:1321:ffff:ffff:ffff:ffff:ffff&dualstack=false&networkdomain=hello1371&response=json&sessionkey=izcO6hcbqCeW49Ur%2B5GKOdDPgQM%3D
431 The cidr size of IPv6 network must be no less than 64 bits!



                
> Ipv6 - Vm deployment fails with "n must be positive" error.
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-1153
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1153
>             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
>
>
> Set up - Advanced zone
> Create a Ipv6 network with following command -
> http://10.223.57.2:8080/client/api?command=createNetwork&zoneId=5e0173e0-1eb8-4853-b31c-26ed79e4389b&networkOfferingId=9bd48b8b-8c15-4e05-8106-ff60ff71c120&physicalnetworkid=a7479575-3d20-4531-8f6d-718d36fe6465&name=test1371&displayText=test1371&vlan=1371&acltype=domain&ip6gateway=FC00:3:1371::&ip6cidr=FC00:3:1370::1/64&startipv6=FC00:3:1370::2&endipv6=FC00:3:1370:ffff:ffff:ffff:ffff:ffff&dualstack=false&networkdomain=hello1370&response=json&sessionkey=lkTy0%2FsQkUZtuqbkBPDvSlrCWAI%3D
> Try to deploy a VM in the above network.
> Vm deployment fails with - "n must be positive" error.
> Management server logs:
> 2013-02-05 06:07:02,747 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (s    
                                               ecstorage-1:null) Zone 1 is ready to launch
secondary storage VM
> 2013-02-05 06:07:02,853 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (cons    
                                               oleproxy-1:null) Zone 1 is ready to launch
console proxy
> 2013-02-05 06:07:03,295 DEBUG [network.router.VirtualNetworkApplianceManagerImpl    
                                               ] (RouterStatusMonitor-1:null) Found 3 routers.
> 2013-02-05 06:07:04,384 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Han    
                                               dler-15:null) Ping from 5
> 2013-02-05 06:07:04,955 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:nu    
                                               ll) VmStatsCollector is running...
> 2013-02-05 06:07:05,563 DEBUG [agent.transport.Request] (StatsCollector-3:null)     
                                               Seq 1-719534926: Received:  { Ans: , MgmtId:
206915885080248, via: 1, Ver: v1, F                                                    lags:
10, { GetVmStatsAnswer } }
> 2013-02-05 06:07:07,273 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===    
                                               START===  10.216.50.209 -- GET  command=deployVirtualMachine&zoneId=5e0173e0-1eb
                                                   8-4853-b31c-26ed79e4389b&templateId=8ada03ca-5f8b-4846-8ed5-d6e57dd3f901&hypervi
                                                   sor=KVM&serviceOfferingId=c392760b-69b9-4e34-9e3d-a0815202a412&networkIds=b8276c
                                                   d6-0135-4a87-92e5-92b595072c28&displayname=test-1371-1&name=test-1371-1&response
                                                   =json&sessionkey=lkTy0%2FsQkUZtuqbkBPDvSlrCWAI%3D&_=1360044476299
> 2013-02-05 06:07:07,290 DEBUG [cloud.network.NetworkModelImpl] (catalina-exec-11    
                                               :null) Service SecurityGroup is not supported
in the network id=209
> 2013-02-05 06:07:07,334 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-11:nul    
                                               l) Allocating in the DB for vm
> 2013-02-05 06:07:07,334 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exe    
                                               c-11:null) Allocating entries for VM: VM[User|test-1371-1]
> 2013-02-05 06:07:07,337 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exe    
                                               c-11:null) Allocating nics for VM[User|test-1371-1]
> 2013-02-05 06:07:07,337 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-    
                                               11:null) Allocating nic for vm VM[User|test-1371-1]
in network Ntwk[209|Guest|7]                                                     with requested
profile NicProfile[0-0-null-null-null
> 2013-02-05 06:07:07,338 DEBUG [db.Transaction.Transaction] (catalina-exec-11:nul    
                                               l) Rolling back the transaction: Time = 4 Name
=  createVirtualMachine; called b                                                    y -Transaction.rollback:882-Transaction.removeUpTo:825-Transaction.close:649-Dat
                                                   abaseCallback.interceptComplete:71-DatabaseCallback.intercept:36-VirtualMachineM
                                                   anagerImpl.allocate:294-DatabaseCallback.intercept:34-UserVmManagerImpl.createVi
                                                   rtualMachine:2477-ComponentLocator$InterceptorDispatcher.intercept:1262-UserVmMa
                                                   nagerImpl.createAdvancedVirtualMachine:2223-DeployVMCmd.create:414-ApiDispatcher
                                                   .dispatchCreateCmd:102
> 2013-02-05 06:07:07,359 INFO  [cloud.api.ApiDispatcher] (catalina-exec-11:null)     
                                               n must be positive
> 2013-02-05 06:07:07,366 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===    
                                               END===  10.216.50.209 -- GET  command=deployVirtualMachine&zoneId=5e0173e0-1eb8-
                                                   4853-b31c-26ed79e4389b&templateId=8ada03ca-5f8b-4846-8ed5-d6e57dd3f901&hyperviso
                                                   r=KVM&serviceOfferingId=c392760b-69b9-4e34-9e3d-a0815202a412&networkIds=b8276cd6
                                                   -0135-4a87-92e5-92b595072c28&displayname=test-1371-1&name=test-1371-1&response=j
                                                   son&sessionkey=lkTy0%2FsQkUZtuqbkBPDvSlrCWAI%3D&_=1360044476299

--
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

Mime
View raw message