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

[jira] [Created] (CLOUDSTACK-3435) Parallel deployment - Xenserver - When deploying 30 Vms in parallel, one of the Vms failed to get an ip address/hostname allocation.

Sangeetha Hariharan created CLOUDSTACK-3435:
-----------------------------------------------

             Summary: Parallel deployment - Xenserver - When deploying 30 Vms in parallel, one of the Vms failed to get an ip address/hostname allocation.
                 Key: CLOUDSTACK-3435
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3435
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
         Environment: Build from 4.2
            Reporter: Sangeetha Hariharan
            Priority: Critical
             Fix For: 4.2.0


Parallel deployment - Xenserver - When deploying 30 Vms in parallel, one of the Vms failed to get an ip address/hostname allocation.

Steps to reproduce the problem:

Advanced zone set up with Xenserver host.

Deploy 30 Vms in parallel.

Out of 30 vms , one of the Vms failed to get an ip address/hostname allocation.

Vm-name = "hello-3" and id is "i-3-6".

DhcpEntry and startCommand both seem to be succeed. But Vm is not assigned an ip address/host name.
There is no entry for this Vm in the /etc/dhcphost.txt

Management server log snippet when vm was deployed:

2013-07-09 16:29:30,734 DEBUG [agent.transport.Request] (Job-Executor-14:job-14) Seq 1-729350322: Executing:  { Cmd , MgmtId: 7200344900649, via: 1, Ver: v1, Flags: 100011, [{"com
.cloud.agent.api.routing.DhcpEntryCommand":{"vmMac":"02:00:78:0b:00:03","vmIpAddress":"10.1.1.154","vmName":"hello-3","defaultRouter":"10.1.1.1","defaultDns":"10.1.1.1","duid":"00
:03:00:01:02:00:78:0b:00:03","isDefault":true,"executeInSequence":false,"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.name":"r-4-VM","router
.ip":"169.254.3.54"},"wait":0}}] }

2013-07-09 16:29:32,955 DEBUG [agent.transport.Request] (DirectAgent-42:null) Seq 1-729350322: Processing:  { Ans: , MgmtId: 7200344900649, via: 1, Ver: v1, Flags: 10, [{"com.clou
d.agent.api.Answer":{"result":true,"wait":0}}] }
2013-07-09 16:29:32,955 DEBUG [agent.transport.Request] (Job-Executor-14:job-14) Seq 1-729350322: Received:  { Ans: , MgmtId: 7200344900649, via: 1, Ver: v1, Flags: 10, { Answer } }





2013-07-09 16:30:09,920 DEBUG [agent.transport.Request] (Job-Executor-14:job-14) Seq 1-729350375: Sending  { Cmd , MgmtId: 7200344900649, via: 1, Ver: v1, Flags: 100011, [{"com.cl
oud.agent.api.StartCommand":{"vm":{"id":6,"name":"i-3-6-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":100,"maxSpeed":100,"minRam":262144000,"maxRam":262144000,"arch"
:"x86_64","os":"CentOS 5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"2be9ae733de747c7","pa
rams":{"enable.dynamic.scaling":"false"},"uuid":"1457d848-3931-4c08-abd4-dea36c6ba1c7","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"d9e985f0-c218-4
8ff-ac6a-57979c3641e0","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"be66004e-e6d4-3312-8f15-283793aa26d2","id":1,"poolType":"Net
workFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/xen/primary","port":2049}},"name":"ROOT-6","size":21474836480,"path":"63420079-fdce-4299-b4e9-549e35d89538",
"volumeId":5,"vmName":"i-3-6-VM","accountId":3,"format":"VHD","id":5}},"diskSeq":0,"type":"ROOT"},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":0,"format":"IS
O","accountId":0,"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"71bb2293-8644-45c0-8708-975763bd8ed1","ip":"10.1.1.
154","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:78:0b:00:03","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vla
n://2130","isolationUri":"vlan://2130","isSecurityGroupEnabled":false}]},"hostIp":"10.223.57.3","executeInSequence":false,"wait":0}}] }
2013-07-09 16:30:09,921 DEBUG [agent.transport.Request] (Job-Executor-14:job-14) Seq 1-729350375: Executing:  { Cmd , MgmtId: 7200344900649, via: 1, Ver: v1, Flags: 100011, [{"com
.cloud.agent.api.StartCommand":{"vm":{"id":6,"name":"i-3-6-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":100,"maxSpeed":100,"minRam":262144000,"maxRam":262144000,"ar
ch":"x86_64","os":"CentOS 5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"2be9ae733de747c7",
"params":{"enable.dynamic.scaling":"false"},"uuid":"1457d848-3931-4c08-abd4-dea36c6ba1c7","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"d9e985f0-c21
8-48ff-ac6a-57979c3641e0","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"be66004e-e6d4-3312-8f15-283793aa26d2","id":1,"poolType":"
NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/xen/primary","port":2049}},"name":"ROOT-6","size":21474836480,"path":"63420079-fdce-4299-b4e9-549e35d8953
8","volumeId":5,"vmName":"i-3-6-VM","accountId":3,"format":"VHD","id":5}},"diskSeq":0,"type":"ROOT"},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":0,"format":
"ISO","accountId":0,"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"71bb2293-8644-45c0-8708-975763bd8ed1","ip":"10.1
.1.154","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:78:0b:00:03","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"
vlan://2130","isolationUri":"vlan://2130","isSecurityGroupEnabled":false}]},"hostIp":"10.223.57.3","executeInSequence":false,"wait":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