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

angeline shen commented on CLOUDSTACK-2427:
-------------------------------------------

2013-05-09 17:03:37,821 DEBUG [xen.resource.CitrixResourceBase] 
(DirectAgent-33:null) 3. The VM r-27-VM is in Running state
2013-05-09 17:03:37,821 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-33:null) Seq 1-1435828249: Response Received: 
2013-05-09 17:03:37,822 DEBUG [agent.transport.Request] (DirectAgent-33:null) 
Seq 1-1435828249: Processing:  { Ans: , MgmtId: 7647994577963, via: 1, Ver: v1, 
Flags: 10, 
[{"CheckVirtualMachineAnswer":{"state":"Running","result":true,"wait":0}}] }
2013-05-09 17:03:37,822 DEBUG [agent.transport.Request] (HA-Worker-0:work-34) 
Seq 1-1435828249: Received:  { Ans: , MgmtId: 7647994577963, via: 1, Ver: v1, 
Flags: 10, { CheckVirtualMachineAnswer } }
2013-05-09 17:03:37,828 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-0:work-34) Completed HAWork[34-Migration-27-Running-Migrating]
2013-05-09 17:03:38,949 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-221:null) Task failed! Task record:                 uuid: 
ee6436ec-4a61-387f-4099-ed9b73b7c5b8
           nameLabel: Async.VM.pool_migrate
     nameDescription: 
   allowedOperations: []
   currentOperations: {}
             created: Thu May 09 17:03:32 PDT 2013
            finished: Thu May 09 12:00:24 PDT 2013
              status: failure
          residentOn: com.xensource.xenapi.Host@4e3cc977
            progress: 1.0
                type: <none/>
              result: 
           errorInfo: [INTERNAL_ERROR, 
Xenops_interface.Internal_error("Domain.Xenguest_failure(\"Error while waiting 
for suspend notification: xc_domain_save 1  d32:write: p2m_size (104 = 
Connection reset by peer)\\\\\\\"\")")]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

2013-05-09 17:03:39,011 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-221:null) Unable to migrate VM(i-2-37-VM) from 
host(c90d77dd-b14c-4035-ac51-6235e004d36f) due to Task failed! Task record:     
            uuid: ee6436ec-4a61-387f-4099-ed9b73b7c5b8
           nameLabel: Async.VM.pool_migrate
     nameDescription: 
   allowedOperations: []
   currentOperations: {}
             created: Thu May 09 17:03:32 PDT 2013
            finished: Thu May 09 12:00:24 PDT 2013
              status: failure
          residentOn: com.xensource.xenapi.Host@4e3cc977
            progress: 1.0
                type: <none/>
              result: 
           errorInfo: [INTERNAL_ERROR, 
Xenops_interface.Internal_error("Domain.Xenguest_failure(\"Error while waiting 
for suspend notification: xc_domain_save 1  d32:write: p2m_size (104 = 
Connection reset by peer)\\\\\\\"\")")]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

Task failed! Task record:                 uuid: 
ee6436ec-4a61-387f-4099-ed9b73b7c5b8
           nameLabel: Async.VM.pool_migrate
     nameDescription: 
   allowedOperations: []
   currentOperations: {}
             created: Thu May 09 17:03:32 PDT 2013
            finished: Thu May 09 12:00:24 PDT 2013
              status: failure
          residentOn: com.xensource.xenapi.Host@4e3cc977
            progress: 1.0
                type: <none/>
              result: 
           errorInfo: [INTERNAL_ERROR, 
Xenops_interface.Internal_error("Domain.Xenguest_failure(\"Error while waiting 
for suspend notification: xc_domain_save 1  d32:write: p2m_size (104 = 
Connection reset by peer)\\\\\\\"\")")]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3440)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.migrateVM(CitrixResourceBase.java:3586)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:3143)
:
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:484)
        at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
        at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
        at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-05-09 17:03:39,024 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-221:null) Catch Exception 
com.cloud.utils.exception.CloudRuntimeException: Migration failed due to 
com.cloud.utils.exception.CloudRuntimeException: Unable to migrate 
VM(i-2-37-VM) from host(c90d77dd-b14c-4035-ac51-6235e004d36f) due to Task 
failed! Task record:                 uuid: ee6436ec-4a61-387f-4099-ed9b73b7c5b8
           nameLabel: Async.VM.pool_migrate
     nameDescription: 
   allowedOperations: []
   currentOperations: {}
             created: Thu May 09 17:03:32 PDT 2013
            finished: Thu May 09 12:00:24 PDT 2013
              status: failure
          residentOn: com.xensource.xenapi.Host@4e3cc977
            progress: 1.0
                type: <none/>
              result: 
           errorInfo: [INTERNAL_ERROR, 
Xenops_interface.Internal_error("Domain.Xenguest_failure(\"Error while waiting 
for suspend notification: xc_domain_save 1  d32:write: p2m_size (104 = 
Connection reset by peer)\\\\\\\"\")")]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

com.cloud.utils.exception.CloudRuntimeException: Unable to migrate 
VM(i-2-37-VM) from host(c90d77dd-b14c-4035-ac51-6235e004d36f) due to Task 
failed! Task record:                 uuid: ee6436ec-4a61-387f-4099-ed9b73b7c5b8
           nameLabel: Async.VM.pool_migrate
     nameDescription: 
   allowedOperations: []
   currentOperations: {}
             created: Thu May 09 17:03:32 PDT 2013
            finished: Thu May 09 12:00:24 PDT 2013
              status: failure
          residentOn: com.xensource.xenapi.Host@4e3cc977
            progress: 1.0
                type: <none/>
              result: 
           errorInfo: [INTERNAL_ERROR, 
Xenops_interface.Internal_error("Domain.Xenguest_failure(\"Error while waiting 
for suspend notification: xc_domain_save 1  d32:write: p2m_size (104 = 
Connection reset by peer)\\\\\\\"\")")]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.migrateVM(CitrixResourceBase.java:3597)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:3143)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:484)
        at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
        at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
        at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-05-09 17:03:39,025 DEBUG [xen.resource.CitrixResourceBase] 
(DirectAgent-221:null) 6. The VM i-2-37-VM is in Migrating state
2013-05-09 17:03:39,025 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-221:null) Seq 5-2082341034: Response Received: 
2013-05-09 17:03:39,025 DEBUG [agent.transport.Request] (DirectAgent-221:null) 
Seq 5-2082341034: Processing:  { Ans: , MgmtId: 7647994577963, via: 5, Ver: v1, 
Flags: 110, [{"MigrateAnswer":{"result":false,"details":"Catch Exception 
com.cloud.utils.exception.CloudRuntimeException: Migration failed due to 
com.cloud.utils.exception.CloudRuntimeException: Unable to migrate 
VM(i-2-37-VM) from host(c90d77dd-b14c-4035-ac51-6235e004d36f) due to Task 
failed! Task record:                 uuid: 
ee6436ec-4a61-387f-4099-ed9b73b7c5b8\n           nameLabel: 
Async.VM.pool_migrate\n     nameDescription: \n   allowedOperations: []\n   
currentOperations: {}\n             created: Thu May 09 17:03:32 PDT 2013\n     
       finished: Thu May 09 12:00:24 PDT 2013\n              status: failure\n  
        residentOn: com.xensource.xenapi.Host@4e3cc977\n            progress: 
1.0\n                type: <none/>\n              result: \n           
errorInfo: [INTERNAL_ERROR, 
Xenops_interface.Internal_error(\"Domain.Xenguest_failure(\\\"Error while 
waiting for suspend notification: xc_domain_save 1  d32:write: p2m_size (104 = 
Connection reset by peer)\\\\\\\\\\\\\\\"\\\")\")]\n         otherConfig: {}\n  
         subtaskOf: com.xensource.xenapi.Task@aaf13f6f\n            subtasks: 
[]\n","wait":0}}] }
2013-05-09 17:03:39,025 DEBUG [agent.transport.Request] (HA-Worker-3:work-36) 
Seq 5-2082341034: Received:  { Ans: , MgmtId: 7647994577963, via: 5, Ver: v1, 
Flags: 110, { MigrateAnswer } }
2013-05-09 17:03:39,025 ERROR [cloud.vm.VirtualMachineManagerImpl] 
(HA-Worker-3:work-36) Unable to migrate due to Catch Exception 
com.cloud.utils.exception.CloudRuntimeException: Migration failed due to 
com.cloud.utils.exception.CloudRuntimeException: Unable to migrate 
VM(i-2-37-VM) from host(c90d77dd-b14c-4035-ac51-6235e004d36f) due to Task 
failed! Task record:                 uuid: ee6436ec-4a61-387f-4099-ed9b73b7c5b8
           nameLabel: Async.VM.pool_migrate
     nameDescription: 
   allowedOperations: []
   currentOperations: {}
             created: Thu May 09 17:03:32 PDT 2013
            finished: Thu May 09 12:00:24 PDT 2013
              status: failure
          residentOn: com.xensource.xenapi.Host@4e3cc977
            progress: 1.0
                type: <none/>
              result: 
           errorInfo: [INTERNAL_ERROR, 
Xenops_interface.Internal_error("Domain.Xenguest_failure(\"Error while waiting 
for suspend notification: xc_domain_save 1  d32:write: p2m_size (104 = 
Connection reset by peer)\\\\\\\"\")")]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

2013-05-09 17:03:39,027 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(HA-Worker-3:work-36) Migration was unsuccessful.  Cleaning up: 
VM[User|test-ha-2]
2013-05-09 17:03:39,027 WARN  [apache.cloudstack.alerts] (HA-Worker-3:work-36)  
alertType:: 17 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // 
message:: Unable to migrate vm i-2-37-VM from host xenserver-sangeetha-18 in 
zone zone1 and pod pod1
2013-05-09 17:03:39,029 DEBUG [cloud.alert.AlertManagerImpl] 
(HA-Worker-3:work-36) Have already sent: 1 emails for alert type '17' -- 
skipping send email
2013-05-09 17:03:39,030 DEBUG [agent.manager.AgentAttache] 
(HA-Worker-3:work-36) Seq 1-1435828250: Routed from 7647994577963
2013-05-09 17:03:39,030 DEBUG [agent.transport.Request] (HA-Worker-3:work-36) 
Seq 1-143582825
                
> PVLAN - Host enable maintenance mode result in ErrorInMaintenance mode, guest 
> VMs are not all migrated to other host
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2427
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2427
>             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   ACS  4.2 pvlan    build    2 host   XEN  XS 6.1
>            Reporter: angeline shen
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: management-server.log.gz
>
>
> MS   ACS  4.2 pvlan    build    2 host   XEN  XS 6.1
> 1. create advance zone, pvlan, 2 hosts.  create network
> 2. create guest VMs on host 1.  host 2 has no guest VMs
> 3. Put host1 in maintenance mode, which results in ErrorInMaintenance mode.
>    Only 1 guest VM was migrated to host 2.  Second guest VM remained on host 
> 1.
> 4. Put host2 in maintenance mode, which results in ErrorInMaintenance mode.
>     Guest VM on host 2 did not migrate to host 1.

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