You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sanjeev N (JIRA)" <ji...@apache.org> on 2014/04/16 20:46:16 UTC

[jira] [Commented] (CLOUDSTACK-6431) [SDN] migrating vm to a new host added to the cluster does not create gre tunnel port on the new host

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

Sanjeev N commented on CLOUDSTACK-6431:
---------------------------------------

Follwing is the log snippet for migrate virtual machine:

2014-04-15 20:40:04,038 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-885dd869) ===START===  10.252.112.126 -- GET  command=migrateVirtualMachine&hostid=cf1203a0-0284-4478-9993-e483c869d0b6&virtualmachineid=11645327-4ce1-4670-baa7-432b593a8a33&response=json&sessionkey=%2F2kW5eJXAGj3HhvBVfjlA9oxwoc%3D&_=1397608802705
2014-04-15 20:40:04,093 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-7:ctx-885dd869 ctx-8c67a565) submit async job-32, details: AsyncJobVO {id:32, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: {"response":"json","sessionkey":"/2kW5eJXAGj3HhvBVfjlA9oxwoc\u003d","virtualmachineid":"11645327-4ce1-4670-baa7-432b593a8a33","cmdEventType":"VM.MIGRATE","hostid":"cf1203a0-0284-4478-9993-e483c869d0b6","ctxUserId":"2","httpmethod":"GET","_":"1397608802705","ctxAccountId":"2","ctxStartEventId":"75"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7332683579487, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-04-15 20:40:04,095 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-885dd869 ctx-8c67a565) ===END===  10.252.112.126 -- GET  command=migrateVirtualMachine&hostid=cf1203a0-0284-4478-9993-e483c869d0b6&virtualmachineid=11645327-4ce1-4670-baa7-432b593a8a33&response=json&sessionkey=%2F2kW5eJXAGj3HhvBVfjlA9oxwoc%3D&_=1397608802705
2014-04-15 20:40:04,097 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-22:job-32) Add job-32 into job monitoring
2014-04-15 20:40:04,098 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-22:job-32) Executing AsyncJobVO {id:32, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: {"response":"json","sessionkey":"/2kW5eJXAGj3HhvBVfjlA9oxwoc\u003d","virtualmachineid":"11645327-4ce1-4670-baa7-432b593a8a33","cmdEventType":"VM.MIGRATE","hostid":"cf1203a0-0284-4478-9993-e483c869d0b6","ctxUserId":"2","httpmethod":"GET","_":"1397608802705","ctxAccountId":"2","ctxStartEventId":"75"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7332683579487, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-04-15 20:40:04,137 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-22:job-32 ctx-e1dcdc9b) Root Access granted to Acct[3f3ea6fe-c4dd-11e3-9efc-06ab4600005f-admin] by RoleBasedEntityAccessChecker
2014-04-15 20:40:04,173 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-22:job-32 ctx-e1dcdc9b) Sync job-33 execution on object VmWorkJobQueue.6
2014-04-15 20:40:04,177 WARN  [c.c.u.d.Merovingian2] (API-Job-Executor-22:job-32 ctx-e1dcdc9b) Was unable to find lock for the key vm_instance6 and thread id 2143180029
ntId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAABnQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAABHNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAAAXNxAH4ABwAAAAAAAAAFcQB-AAlwcQB-AAk, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7332683579487, completeMsid: null, lastUpdated: null, lastPolled: null, created: Tue Apr 15 20:40:04 EDT 2014}
2014-04-15 20:40:04,316 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-6:job-32/job-33) Run VM work job: com.cloud.vm.VmWorkMigrate for VM 6, job origin: 32
2014-04-15 20:40:04,322 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Execute VM work job: com.cloud.vm.VmWorkMigrate{"zoneId":1,"podId":1,"clusterId":1,"hostId":5,"srcHostId":4,"userId":2,"accountId":2,"vmId":6,"handlerName":"VirtualMachineManagerImpl"}
2014-04-15 20:40:04,329 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Migrating VM[User|i-2-6-VM] to Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(5)-Storage()]
2014-04-15 20:40:04,343 DEBUG [c.c.n.NetworkModelImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Service SecurityGroup is not supported in the network id=204
2014-04-15 20:40:04,357 DEBUG [c.c.n.NetworkModelImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Service SecurityGroup is not supported in the network id=204
2014-04-15 20:40:04,369 DEBUG [o.a.c.e.o.VolumeOrchestrator] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Preparing 1 volumes for VM[User|i-2-6-VM]
2014-04-15 20:40:04,405 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 5-4727653708832178188: Sending  { Cmd , MgmtId: 7332683579487, via: 5(Rack1Pod1Host31), Ver: v1, Flags: 100111, [{"com.cloud.agent.api.PrepareForMigrationCommand":{"vm":{"id":6,"name":"i-2-6-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"CentOS 5.6 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"be7cda8e3e650842","params":{},"uuid":"11645327-4ce1-4670-baa7-432b593a8a33","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"577da632-ed23-4204-bd1b-1384031b6d7d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"a21d1002-aa89-388e-b190-3a05c974d93b","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/sanjeev/pri_119","port":2049,"url":"NetworkFilesystem://10.147.28.7/export/home/sanjeev/pri_119/?ROLE=Primary&STOREUUID=a21d1002-aa89-388e-b190-3a05c974d93b"}},"name":"ROOT-6","size":21474836480,"path":"29924f11-9568-419e-81a0-e8998956f80d","volumeId":6,"vmName":"i-2-6-VM","accountId":2,"format":"VHD","id":6,"deviceId":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"29924f11-9568-419e-81a0-e8998956f80d","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"10.147.28.7","volumeSize":"21474836480"}},{"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":"3147c0f8-cbab-4599-8ffa-057efeca76d4","ip":"10.1.1.39","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:02:b0:00:04","dns1":"10.140.50.6","broadcastType":"Vswitch","type":"Guest","broadcastUri":"vs://983","isolationUri":"vs://983","isSecurityGroupEnabled":false}]},"wait":0}}] }
2014-04-15 20:40:04,409 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 5-4727653708832178188: Executing:  { Cmd , MgmtId: 7332683579487, via: 5(Rack1Pod1Host31), Ver: v1, Flags: 100111, [{"com.cloud.agent.api.PrepareForMigrationCommand":{"vm":{"id":6,"name":"i-2-6-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"CentOS 5.6 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"be7cda8e3e650842","params":{},"uuid":"11645327-4ce1-4670-baa7-432b593a8a33","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"577da632-ed23-4204-bd1b-1384031b6d7d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"a21d1002-aa89-388e-b190-3a05c974d93b","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/sanjeev/pri_119","port":2049,"url":"NetworkFilesystem://10.147.28.7/export/home/sanjeev/pri_119/?ROLE=Primary&STOREUUID=a21d1002-aa89-388e-b190-3a05c974d93b"}},"name":"ROOT-6","size":21474836480,"path":"29924f11-9568-419e-81a0-e8998956f80d","volumeId":6,"vmName":"i-2-6-VM","accountId":2,"format":"VHD","id":6,"deviceId":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"29924f11-9568-419e-81a0-e8998956f80d","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"10.147.28.7","volumeSize":"21474836480"}},{"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":"3147c0f8-cbab-4599-8ffa-057efeca76d4","ip":"10.1.1.39","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:02:b0:00:04","dns1":"10.140.50.6","broadcastType":"Vswitch","type":"Guest","broadcastUri":"vs://983","isolationUri":"vs://983","isSecurityGroupEnabled":false}]},"wait":0}}] }
2014-04-15 20:40:05,023 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 5-4727653708832178188: Received:  { Ans: , MgmtId: 7332683579487, via: 5, Ver: v1, Flags: 110, { PrepareForMigrationAnswer } }
2014-04-15 20:40:05,025 DEBUG [c.c.a.m.AgentAttache] (DirectAgent-69:ctx-0a0e74cf) Seq 5-4727653708832178188: No more commands found
2014-04-15 20:40:05,035 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) VM state transitted from :Running to Migrating with event: MigrationRequestedvm's original host id: 4 new host id: 5 host id before state transition: 4
2014-04-15 20:40:05,045 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Hosts's actual total CPU: 9576 and CPU after applying overprovisioning: 9576
2014-04-15 20:40:05,045 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) We are allocating VM, increasing the used capacity of this host:5
2014-04-15 20:40:05,045 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Current Used CPU: 0 , Free CPU:9576 ,Requested CPU: 500
2014-04-15 20:40:05,045 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Current Used RAM: 0 , Free RAM:15747277824 ,Requested RAM: 536870912
2014-04-15 20:40:05,045 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) CPU STATS after allocation: for host: 5, old used: 0, old reserved: 0, actual total: 9576, total with overprovisioning: 9576; new used:500, reserved:0; requested cpu:500,alloc_from_last:false
2014-04-15 20:40:05,045 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) RAM STATS after allocation: for host: 5, old used: 0, old reserved: 0, total: 15747277824; new used: 536870912, reserved: 0; requested mem: 536870912,alloc_from_last:false
5, old used: 0, old reserved: 0, total: 15747277824; new used: 536870912, reserved: 0; requested mem: 536870912,alloc_from_last:false
2014-04-15 20:40:05,072 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 4-2309502183910932679: Sending  { Cmd , MgmtId: 7332683579487, via: 4(Rack1Pod1Host14), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.MigrateCommand":{"vmName":"i-2-6-VM","destIp":"10.147.40.31","hostGuid":"8429a4b5-46ef-4106-8575-d454eaf4f6c8","isWindows":false,"vmTO":{"id":6,"name":"i-2-6-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"CentOS 5.6 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"be7cda8e3e650842","params":{},"uuid":"11645327-4ce1-4670-baa7-432b593a8a33","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"577da632-ed23-4204-bd1b-1384031b6d7d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"a21d1002-aa89-388e-b190-3a05c974d93b","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/sanjeev/pri_119","port":2049,"url":"NetworkFilesystem://10.147.28.7/export/home/sanjeev/pri_119/?ROLE=Primary&STOREUUID=a21d1002-aa89-388e-b190-3a05c974d93b"}},"name":"ROOT-6","size":21474836480,"path":"29924f11-9568-419e-81a0-e8998956f80d","volumeId":6,"vmName":"i-2-6-VM","accountId":2,"format":"VHD","id":6,"deviceId":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"29924f11-9568-419e-81a0-e8998956f80d","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"10.147.28.7","volumeSize":"21474836480"}},{"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":"3147c0f8-cbab-4599-8ffa-057efeca76d4","ip":"10.1.1.39","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:02:b0:00:04","dns1":"10.140.50.6","broadcastType":"Vswitch","type":"Guest","broadcastUri":"vs://983","isolationUri":"vs://983","isSecurityGroupEnabled":false}]},"executeInSequence":false,"wait":0}}] }
2014-04-15 20:40:05,075 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 4-2309502183910932679: Executing:  { Cmd , MgmtId: 7332683579487, via: 4(Rack1Pod1Host14), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.MigrateCommand":{"vmName":"i-2-6-VM","destIp":"10.147.40.31","hostGuid":"8429a4b5-46ef-4106-8575-d454eaf4f6c8","isWindows":false,"vmTO":{"id":6,"name":"i-2-6-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"CentOS 5.6 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"be7cda8e3e650842","params":{},"uuid":"11645327-4ce1-4670-baa7-432b593a8a33","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"577da632-ed23-4204-bd1b-1384031b6d7d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"a21d1002-aa89-388e-b190-3a05c974d93b","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/sanjeev/pri_119","port":2049,"url":"NetworkFilesystem://10.147.28.7/export/home/sanjeev/pri_119/?ROLE=Primary&STOREUUID=a21d1002-aa89-388e-b190-3a05c974d93b"}},"name":"ROOT-6","size":21474836480,"path":"29924f11-9568-419e-81a0-e8998956f80d","volumeId":6,"vmName":"i-2-6-VM","accountId":2,"format":"VHD","id":6,"deviceId":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"29924f11-9568-419e-81a0-e8998956f80d","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"10.147.28.7","volumeSize":"21474836480"}},{"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":"3147c0f8-cbab-4599-8ffa-057efeca76d4","ip":"10.1.1.39","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:02:b0:00:04","dns1":"10.140.50.6","broadcastType":"Vswitch","type":"Guest","broadcastUri":"vs://983","isolationUri":"vs://983","isSecurityGroupEnabled":false}]},"executeInSequence":false,"wait":0}}] }
2014-04-15 20:40:15,222 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 5-4727653708832178189: Sending  { Cmd , MgmtId: 7332683579487, via: 5(Rack1Pod1Host31), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckVirtualMachineCommand":{"vmName":"i-2-6-VM","wait":20}}] }
2014-04-15 20:40:15,222 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 5-4727653708832178189: Executing:  { Cmd , MgmtId: 7332683579487, via: 5(Rack1Pod1Host31), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckVirtualMachineCommand":{"vmName":"i-2-6-VM","wait":20}}] }
2014-04-15 20:40:15,223 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-318:ctx-37616132) Seq 5-4727653708832178189: Executing request
2014-04-15 20:40:15,234 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-318:ctx-37616132) 3. The VM i-2-6-VM is in Running state
2014-04-15 20:40:15,234 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-318:ctx-37616132) Seq 5-4727653708832178189: Response Received:
2014-04-15 20:40:15,235 DEBUG [c.c.a.t.Request] (DirectAgent-318:ctx-37616132) Seq 5-4727653708832178189: Processing:  { Ans: , MgmtId: 7332683579487, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.CheckVirtualMachineAnswer":{"state":"Running","result":true,"wait":0}}] }
2014-04-15 20:40:15,235 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Seq 5-4727653708832178189: Received:  { Ans: , MgmtId: 7332683579487, via: 5, Ver: v1, Flags: 10, { CheckVirtualMachineAnswer } }
2014-04-15 20:40:15,253 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Done executing VM work job: com.cloud.vm.VmWorkMigrate{"zoneId":1,"podId":1,"clusterId":1,"hostId":5,"srcHostId":4,"userId":2,"accountId":2,"vmId":6,"handlerName":"VirtualMachineManagerImpl"}
2014-04-15 20:40:15,253 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-6:job-32/job-33 ctx-557600fc) Complete async job-33, jobStatus: SUCCEEDED, resultCode: 0, result: null
2014-04-15 20:40:15,263 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-6:job-32/job-33) Done with run of VM work job: com.cloud.vm.VmWorkMigrate for VM 6, job origin: 32
2014-04-15 20:40:15,264 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-6:job-32/job-33) Done executing com.cloud.vm.VmWorkMigrate for job-33
2014-04-15 20:40:15,285 DEBUG [o.a.c.f.j.i.SyncQueueManagerImpl] (Work-Job-Executor-6:job-32/job-33) Sync queue (5) is currently empty
2014-04-15 20:40:15,287 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-6:job-32/job-33) Remove job-33 from job monitoring
2014-04-15 20:40:15,306 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-22:job-32 ctx-e1dcdc9b) Complete async job-32, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.UserVmResponse/virtualmachine/{"id":"11645327-4ce1-4670-baa7-432b593a8a33","name":"vm3","displayname":"vm3","account":"admin","domainid":"0ba8d238-c4dd-11e3-9efc-06ab4600005f","domain":"ROOT","created":"2014-04-15T20:39:36-0400","state":"Running","haenable":false,"zoneid":"09b1608a-17bd-49ab-b6c4-ee7dfa0d2327","zonename":"zone1","hostid":"cf1203a0-0284-4478-9993-e483c869d0b6","hostname":"Rack1Pod1Host31","templateid":"0bb63676-c4dd-11e3-9efc-06ab4600005f","templatename":"CentOS 5.6(64-bit) no GUI (XenServer)","templatedisplaytext":"CentOS 5.6(64-bit) no GUI (XenServer)","passwordenabled":false,"serviceofferingid":"d1f856d1-792f-4b23-987b-48a73e6ea009","serviceofferingname":"Small Instance","cpunumber":1,"cpuspeed":500,"memory":512,"cpuused":"0%","networkkbsread":0,"networkkbswrite":0,"diskkbsread":0,"diskkbswrite":0,"diskioread":0,"diskiowrite":0,"guestosid":"0bfe9e02-c4dd-11e3-9efc-06ab4600005f","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"nic":[{"id":"5a1771bf-2486-476e-aecd-8ab28e4a2531","networkid":"3147c0f8-cbab-4599-8ffa-057efeca76d4","networkname":"streched-l2","netmask":"255.255.255.0","gateway":"10.1.1.1","ipaddress":"10.1.1.39","isolationuri":"vs://983","broadcasturi":"vs://983","traffictype":"Guest","type":"Isolated","isdefault":true,"macaddress":"02:00:02:b0:00:04"}],"hypervisor":"XenServer","instancename":"i-2-6-VM","tags":[],"affinitygroup":[],"displayvm":true,"isdynamicallyscalable":true,"ostypeid":142}
2014-04-15 20:40:15,314 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-22:job-32) Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd for job-32
2014-04-15 20:40:15,319 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-22:job-32) Remove job-32 from job monitoring


> [SDN] migrating vm to a new host added to the cluster does not create gre tunnel port on the new host
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6431
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6431
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server, Network Controller
>    Affects Versions: 4.4.0
>         Environment: Latest build from 4.4 with commit 80d82106dcc701e9569dde16161b24ff3abfa67f
> Hypervisor: XenServer6.2
>            Reporter: Sanjeev N
>            Priority: Critical
>             Fix For: 4.4.0
>
>         Attachments: management-server.log.2014-04-15.gz
>
>
> [SDN] migrating vm to a new host added to the cluster does not create gre tunnel port on the new host
> Steps to Reproduce:
> =================
> 1.Bring up CS in advanced zone with GRE isolation using two hosts in the xenserver cluster
> 2.Create an isolated network using stretched-l2 service
> 3.Deploy few guest vms in the network and make sure that vms are spanned across the two hosts in the cluster
> 4.Make sure that GRE tunnels are created between these two hosts
> 5.Add another host to the cluster
> 6.Migrate one of the vms to the new host added to the cluster
> Expected Result:
> =============
> GRE tunnel port should be created on the new host and should have tunnels between this new host and the exiting two hosts.
> Actual Result:
> ============
> tunnel ports were not created on the new host after vm migration.
> When we deployed another vm on the new host then only tunnel ports and interfaces with proper gre keys and remote_ips created for mesh topology creation from the new host to the remaining hosts in the cluster.



--
This message was sent by Atlassian JIRA
(v6.2#6252)