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

angeline shen updated CLOUDSTACK-2684:
--------------------------------------

    Description: 
1. advance zone. Add 2 hosts.
  create PVLAN shared network with VLAN ID, private VLAN ID, IPV4 gateway, 
netmask, start IP, end IP

2. Deploy VMs in PVLAN shared network 
3. Live migrate VMs.
Result:  Failed to migrate VM due to  unable to connect to server at 
'10.223.81.61:16509': Connection refused:

2013-05-24 19:39:53,559 DEBUG [agent.manager.AgentAttache] 
(AgentManager-Handler-1:null) Seq 5-1036058811: No more commands found
2013-05-24 19:39:53,560 DEBUG [agent.transport.Request] 
(Job-Executor-21:job-21) Seq 5-1036058811: Received:  { Ans: , MgmtId: 
6655051826959, via: 5, Ver: v1, Flags: 110, { MigrateAnswer } }
2013-05-24 19:39:53,560 ERROR [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-21:job-21) Unable to migrate due to unable to connect to server 
at '10.223.81.61:16509': Connection refused
2013-05-24 19:39:53,560 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-21:job-21) Migration was unsuccessful.  Cleaning up: 
VM[User|z1adminpvlan1611IP161114]
2013-05-24 19:39:53,560 WARN  [apache.cloudstack.alerts] 
(Job-Executor-21:job-21)  alertType:: 17 // dataCenterId:: 1 // podId:: 1 // 
clusterId:: null // message:: Unable to migrate vm i-2-10-VM from host 
ubuntu8162 in zone z1 and
 pod z1p1
2013-05-24 19:39:53,568 DEBUG [agent.manager.AgentAttache] 
(Job-Executor-21:job-21) Seq 1-1425277322: Routed from 6655051826959
2013-05-24 19:39:53,568 DEBUG [agent.transport.Request] 
(Job-Executor-21:job-21) Seq 1-1425277322: Sending  { Cmd , MgmtId: 
6655051826959, via: 1, Ver: v1, Flags: 100111, 
[{"StopCommand":{"isProxy":false,"vmName":"i-2-10-VM","wait
":0}}] }
2013-05-24 19:39:53,573 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) VM state transitted from :Migrating to Running with 
event: OperationFailedvm's original host id: 5 new host id: 5 host id before 
state tra
nsition: 1
2013-05-24 19:39:53,578 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) Hosts's actual total CPU: 9044 and CPU after applying 
overprovisioning: 9044
2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) Hosts's actual total RAM: 4066250752 and RAM after 
applying overprovisioning: 4066250752
2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) release cpu from host: 1, old used: 1600,reserved: 0, 
actual total: 9044, total with overprovisioning: 9044; new used: 
1500,reserved:0; mo
vedfromreserved: false,moveToReserveredfalse
2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) release mem from host: 1, old used: 
2013265920,reserved: 0, total: 4066250752; new used: 1476395008,reserved:0; 
movedfromreserved: false,m
oveToReserveredfalse
2013-05-24 19:39:53,600 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-21:job-21) Complete async job-21, jobStatus: 2, resultCode: 530, 
result: Error Code: 530 Error text: Failed to migrate vm
2013-05-24 19:39:53,742 DEBUG [agent.transport.Request] 
(AgentManager-Handler-3:null) Seq 1-1425277322: Processing:  { Ans: , MgmtId: 
6655051826959, via: 1, Ver: v1, Flags: 110, 
[{"StopAnswer":{"vncPort":0,"result":true,"wait":0}}
] }
2013-05-24 19:39:53,742 DEBUG [agent.manager.AgentAttache] 
(AgentManager-Handler-3:null) Seq 1-1425277322: Unable to find listener.


4.  Live migrate VR    result:  Failed to migrate system VM
2013-05-24 20:04:45,905 DEBUG [agent.manager.AgentAttache] 
(AgentManager-Handler-14:null) Seq 1-1425277350: No more commands found
2013-05-24 20:04:45,905 DEBUG [agent.transport.Request] 
(Job-Executor-23:job-23) Seq 1-1425277350: Received:  { Ans: , MgmtId: 
6655051826959, via: 1, Ver: v1, Flags: 110, { MigrateAnswer } }
2013-05-24 20:04:45,905 ERROR [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-23:job-23) Unable to migrate due to unable to connect to server 
at '10.223.81.62:16509': Connection refused
2013-05-24 20:04:45,905 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-23:job-23) Migration was unsuccessful.  Cleaning up: 
VM[DomainRouter|r-5-VM]
2013-05-24 20:04:45,905 WARN  [apache.cloudstack.alerts] 
(Job-Executor-23:job-23)  alertType:: 15 // dataCenterId:: 1 // podId:: 1 // 
clusterId:: null // message:: Unable to migrate vm r-5-VM from host 
ubuntu8161.cloud.co
m in zone z1 and pod z1p1
2013-05-24 20:04:45,910 DEBUG [agent.manager.AgentAttache] 
(Job-Executor-23:job-23) Seq 5-1036058864: Routed from 6655051826959
2013-05-24 20:04:45,910 DEBUG [agent.transport.Request] 
(Job-Executor-23:job-23) Seq 5-1036058864: Sending  { Cmd , MgmtId: 
6655051826959, via: 5, Ver: v1, Flags: 100111, 
[{"StopCommand":{"isProxy":false,"vmName":"r-5-VM"
,"wait":0}}] }
2013-05-24 20:04:45,914 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-23:job-23) VM state transitted from :Migrating to Running with 
event: OperationFailedvm's original host id: 1 new host id: 1 host id before 
state transition: 5
2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-23:job-23) Hosts's actual total CPU: 9040 and CPU after applying 
overprovisioning: 9040
2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-23:job-23) Hosts's actual total RAM: 16816881664 and RAM after 
applying overprovisioning: 16816881664
2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-23:job-23) release cpu from host: 5, old used: 700,reserved: 0, 
actual total: 9040, total with overprovisioning: 9040; new used: 200,reserve
d:0; movedfromreserved: false,moveToReserveredfalse
2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-23:job-23) release mem from host: 5, old used: 
1207959552,reserved: 0, total: 16816881664; new used: 1073741824,reserved:0; 
movedfromreserve
d: false,moveToReserveredfalse
2013-05-24 20:04:45,938 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-23:job-23) Complete async job-23, jobStatus: 2, resultCode: 530, 
result: Error Code: 530 Error text: Failed to migrate the system vm
2013-05-24 20:04:46,130 DEBUG [agent.transport.Request] 
(AgentManager-Handler-13:null) Seq 5-1036058864: Processing:  { Ans: , MgmtId: 
6655051826959, via: 5, Ver: v1, Flags: 110, 
[{"StopAnswer":{"vncPort":0,"result":true,



  was:
1. advance zone. Add 2 hosts.
  create PVLAN shared network with VLAN ID, private VLAN ID, IPV4 gateway, 
netmask, start IP, end IP

2. Deploy VMs in PVLAN shared network 
3. Live migrate VMs.
Result:  Failed to migrate VM due to  unable to connect to server at 
'10.223.81.61:16509': Connection refused:

2013-05-24 19:39:53,559 DEBUG [agent.manager.AgentAttache] 
(AgentManager-Handler-1:null) Seq 5-1036058811: No more commands found
2013-05-24 19:39:53,560 DEBUG [agent.transport.Request] 
(Job-Executor-21:job-21) Seq 5-1036058811: Received:  { Ans: , MgmtId: 
6655051826959, via: 5, Ver: v1, Flags: 110, { MigrateAnswer } }
2013-05-24 19:39:53,560 ERROR [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-21:job-21) Unable to migrate due to unable to connect to server 
at '10.223.81.61:16509': Connection refused
2013-05-24 19:39:53,560 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-21:job-21) Migration was unsuccessful.  Cleaning up: 
VM[User|z1adminpvlan1611IP161114]
2013-05-24 19:39:53,560 WARN  [apache.cloudstack.alerts] 
(Job-Executor-21:job-21)  alertType:: 17 // dataCenterId:: 1 // podId:: 1 // 
clusterId:: null // message:: Unable to migrate vm i-2-10-VM from host 
ubuntu8162 in zone z1 and
 pod z1p1
2013-05-24 19:39:53,568 DEBUG [agent.manager.AgentAttache] 
(Job-Executor-21:job-21) Seq 1-1425277322: Routed from 6655051826959
2013-05-24 19:39:53,568 DEBUG [agent.transport.Request] 
(Job-Executor-21:job-21) Seq 1-1425277322: Sending  { Cmd , MgmtId: 
6655051826959, via: 1, Ver: v1, Flags: 100111, 
[{"StopCommand":{"isProxy":false,"vmName":"i-2-10-VM","wait
":0}}] }
2013-05-24 19:39:53,573 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) VM state transitted from :Migrating to Running with 
event: OperationFailedvm's original host id: 5 new host id: 5 host id before 
state tra
nsition: 1
2013-05-24 19:39:53,578 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) Hosts's actual total CPU: 9044 and CPU after applying 
overprovisioning: 9044
2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) Hosts's actual total RAM: 4066250752 and RAM after 
applying overprovisioning: 4066250752
2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) release cpu from host: 1, old used: 1600,reserved: 0, 
actual total: 9044, total with overprovisioning: 9044; new used: 
1500,reserved:0; mo
vedfromreserved: false,moveToReserveredfalse
2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-21:job-21) release mem from host: 1, old used: 
2013265920,reserved: 0, total: 4066250752; new used: 1476395008,reserved:0; 
movedfromreserved: false,m
oveToReserveredfalse
2013-05-24 19:39:53,600 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-21:job-21) Complete async job-21, jobStatus: 2, resultCode: 530, 
result: Error Code: 530 Error text: Failed to migrate vm
2013-05-24 19:39:53,742 DEBUG [agent.transport.Request] 
(AgentManager-Handler-3:null) Seq 1-1425277322: Processing:  { Ans: , MgmtId: 
6655051826959, via: 1, Ver: v1, Flags: 110, 
[{"StopAnswer":{"vncPort":0,"result":true,"wait":0}}
] }
2013-05-24 19:39:53,742 DEBUG [agent.manager.AgentAttache] 
(AgentManager-Handler-3:null) Seq 1-1425277322: Unable to find listener.


        Summary: PVLAN - Ubuntu 13.04 KVM - Fail to migrate VM, VR   due to 
unable to connect to Host:16509  (was: PVLAN - Ubuntu 13.04 KVM - Fail to 
migrate VM)
    
> PVLAN - Ubuntu 13.04 KVM - Fail to migrate VM, VR   due to unable to connect 
> to Host:16509
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2684
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2684
>             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: MS ubuntu 13.04 KVM ACS 4.2 PVLAN
> host ubuntu 13.04 KVM ACS 4.2 PVLAN
>            Reporter: angeline shen
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: Screenshot-CloudStack - Mozilla Firefox-1.png
>
>
> 1. advance zone. Add 2 hosts.
>   create PVLAN shared network with VLAN ID, private VLAN ID, IPV4 gateway, 
> netmask, start IP, end IP
> 2. Deploy VMs in PVLAN shared network 
> 3. Live migrate VMs.
> Result:  Failed to migrate VM due to  unable to connect to server at 
> '10.223.81.61:16509': Connection refused:
> 2013-05-24 19:39:53,559 DEBUG [agent.manager.AgentAttache] 
> (AgentManager-Handler-1:null) Seq 5-1036058811: No more commands found
> 2013-05-24 19:39:53,560 DEBUG [agent.transport.Request] 
> (Job-Executor-21:job-21) Seq 5-1036058811: Received:  { Ans: , MgmtId: 
> 6655051826959, via: 5, Ver: v1, Flags: 110, { MigrateAnswer } }
> 2013-05-24 19:39:53,560 ERROR [cloud.vm.VirtualMachineManagerImpl] 
> (Job-Executor-21:job-21) Unable to migrate due to unable to connect to server 
> at '10.223.81.61:16509': Connection refused
> 2013-05-24 19:39:53,560 INFO  [cloud.vm.VirtualMachineManagerImpl] 
> (Job-Executor-21:job-21) Migration was unsuccessful.  Cleaning up: 
> VM[User|z1adminpvlan1611IP161114]
> 2013-05-24 19:39:53,560 WARN  [apache.cloudstack.alerts] 
> (Job-Executor-21:job-21)  alertType:: 17 // dataCenterId:: 1 // podId:: 1 // 
> clusterId:: null // message:: Unable to migrate vm i-2-10-VM from host 
> ubuntu8162 in zone z1 and
>  pod z1p1
> 2013-05-24 19:39:53,568 DEBUG [agent.manager.AgentAttache] 
> (Job-Executor-21:job-21) Seq 1-1425277322: Routed from 6655051826959
> 2013-05-24 19:39:53,568 DEBUG [agent.transport.Request] 
> (Job-Executor-21:job-21) Seq 1-1425277322: Sending  { Cmd , MgmtId: 
> 6655051826959, via: 1, Ver: v1, Flags: 100111, 
> [{"StopCommand":{"isProxy":false,"vmName":"i-2-10-VM","wait
> ":0}}] }
> 2013-05-24 19:39:53,573 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-21:job-21) VM state transitted from :Migrating to Running with 
> event: OperationFailedvm's original host id: 5 new host id: 5 host id before 
> state tra
> nsition: 1
> 2013-05-24 19:39:53,578 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-21:job-21) Hosts's actual total CPU: 9044 and CPU after 
> applying overprovisioning: 9044
> 2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-21:job-21) Hosts's actual total RAM: 4066250752 and RAM after 
> applying overprovisioning: 4066250752
> 2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-21:job-21) release cpu from host: 1, old used: 1600,reserved: 
> 0, actual total: 9044, total with overprovisioning: 9044; new used: 
> 1500,reserved:0; mo
> vedfromreserved: false,moveToReserveredfalse
> 2013-05-24 19:39:53,579 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-21:job-21) release mem from host: 1, old used: 
> 2013265920,reserved: 0, total: 4066250752; new used: 1476395008,reserved:0; 
> movedfromreserved: false,m
> oveToReserveredfalse
> 2013-05-24 19:39:53,600 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-21:job-21) Complete async job-21, jobStatus: 2, resultCode: 
> 530, result: Error Code: 530 Error text: Failed to migrate vm
> 2013-05-24 19:39:53,742 DEBUG [agent.transport.Request] 
> (AgentManager-Handler-3:null) Seq 1-1425277322: Processing:  { Ans: , MgmtId: 
> 6655051826959, via: 1, Ver: v1, Flags: 110, 
> [{"StopAnswer":{"vncPort":0,"result":true,"wait":0}}
> ] }
> 2013-05-24 19:39:53,742 DEBUG [agent.manager.AgentAttache] 
> (AgentManager-Handler-3:null) Seq 1-1425277322: Unable to find listener.
> 4.  Live migrate VR    result:  Failed to migrate system VM
> 2013-05-24 20:04:45,905 DEBUG [agent.manager.AgentAttache] 
> (AgentManager-Handler-14:null) Seq 1-1425277350: No more commands found
> 2013-05-24 20:04:45,905 DEBUG [agent.transport.Request] 
> (Job-Executor-23:job-23) Seq 1-1425277350: Received:  { Ans: , MgmtId: 
> 6655051826959, via: 1, Ver: v1, Flags: 110, { MigrateAnswer } }
> 2013-05-24 20:04:45,905 ERROR [cloud.vm.VirtualMachineManagerImpl] 
> (Job-Executor-23:job-23) Unable to migrate due to unable to connect to server 
> at '10.223.81.62:16509': Connection refused
> 2013-05-24 20:04:45,905 INFO  [cloud.vm.VirtualMachineManagerImpl] 
> (Job-Executor-23:job-23) Migration was unsuccessful.  Cleaning up: 
> VM[DomainRouter|r-5-VM]
> 2013-05-24 20:04:45,905 WARN  [apache.cloudstack.alerts] 
> (Job-Executor-23:job-23)  alertType:: 15 // dataCenterId:: 1 // podId:: 1 // 
> clusterId:: null // message:: Unable to migrate vm r-5-VM from host 
> ubuntu8161.cloud.co
> m in zone z1 and pod z1p1
> 2013-05-24 20:04:45,910 DEBUG [agent.manager.AgentAttache] 
> (Job-Executor-23:job-23) Seq 5-1036058864: Routed from 6655051826959
> 2013-05-24 20:04:45,910 DEBUG [agent.transport.Request] 
> (Job-Executor-23:job-23) Seq 5-1036058864: Sending  { Cmd , MgmtId: 
> 6655051826959, via: 5, Ver: v1, Flags: 100111, 
> [{"StopCommand":{"isProxy":false,"vmName":"r-5-VM"
> ,"wait":0}}] }
> 2013-05-24 20:04:45,914 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-23:job-23) VM state transitted from :Migrating to Running with 
> event: OperationFailedvm's original host id: 1 new host id: 1 host id before 
> state transition: 5
> 2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-23:job-23) Hosts's actual total CPU: 9040 and CPU after 
> applying overprovisioning: 9040
> 2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-23:job-23) Hosts's actual total RAM: 16816881664 and RAM after 
> applying overprovisioning: 16816881664
> 2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-23:job-23) release cpu from host: 5, old used: 700,reserved: 0, 
> actual total: 9040, total with overprovisioning: 9040; new used: 200,reserve
> d:0; movedfromreserved: false,moveToReserveredfalse
> 2013-05-24 20:04:45,917 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-23:job-23) release mem from host: 5, old used: 
> 1207959552,reserved: 0, total: 16816881664; new used: 1073741824,reserved:0; 
> movedfromreserve
> d: false,moveToReserveredfalse
> 2013-05-24 20:04:45,938 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-23:job-23) Complete async job-23, jobStatus: 2, resultCode: 
> 530, result: Error Code: 530 Error text: Failed to migrate the system vm
> 2013-05-24 20:04:46,130 DEBUG [agent.transport.Request] 
> (AgentManager-Handler-13:null) Seq 5-1036058864: Processing:  { Ans: , 
> MgmtId: 6655051826959, via: 5, Ver: v1, Flags: 110, 
> [{"StopAnswer":{"vncPort":0,"result":true,

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

Reply via email to