You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2013/02/05 07:16:12 UTC

[jira] [Created] (CLOUDSTACK-1153) Ipv6 - Vm deployment fails with "n must be positive" error.

Sangeetha Hariharan created CLOUDSTACK-1153:
-----------------------------------------------

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