[
https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467313#comment-13467313
]
Alex Huang commented on CLOUDSTACK-118:
---------------------------------------
Prashant,
>From this exception, it looks like the problem has to do with the XenServer
>pool. It is having trouble to migrate VMs off. That's why the host went into
>errorinmaintenance state. Please reinstall the xenservers as well and retry
>this.
2012-09-26 03:03:33,726 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-116:null) Catch Exception
com.cloud.utils.exception.CloudRuntimeException: Migration failed due to
com.cloud.utils.exception.CloudRuntimeException: Unable to migrate VM(s-3-VM)
from host(10cb6099-2ff1-48ee-9901-b519636c4f4a) due to Task failed! Task
record: uuid: a6f653da-1c7f-91e7-d657-eb7eb7bfe35f
nameLabel: Async.VM.pool_migrate
nameDescription:
allowedOperations: []
currentOperations: {}
created: Wed Sep 26 08:34:49 EDT 2012
finished: Wed Sep 26 08:34:49 EDT 2012
status: FAILURE
residentOn: com.xensource.xenapi.Host@9d5af48a
progress: 1.0
type: <none/>
result:
errorInfo: [VM_REQUIRES_NETWORK,
OpaqueRef:0868caeb-de65-daf8-cd31-d51661fba707,
OpaqueRef:f2922672-9b02-dea5-2388-420a60b4bdc0]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
com.cloud.utils.exception.CloudRuntimeException: Unable to migrate VM(s-3-VM)
from host(10cb6099-2ff1-48ee-9901-b519636c4f4a) due to Task failed! Task
record: uuid: a6f653da-1c7f-91e7-d657-eb7eb7bfe35f
nameLabel: Async.VM.pool_migrate
nameDescription:
allowedOperations: []
currentOperations: {}
created: Wed Sep 26 08:34:49 EDT 2012
finished: Wed Sep 26 08:34:49 EDT 2012
status: FAILURE
residentOn: com.xensource.xenapi.Host@9d5af48a
progress: 1.0
type: <none/>
result:
errorInfo: [VM_REQUIRES_NETWORK,
OpaqueRef:0868caeb-de65-daf8-cd31-d51661fba707,
OpaqueRef:f2922672-9b02-dea5-2388-420a60b4bdc0]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.migrateVM(CitrixResourceBase.java:3303)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2845)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:451)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
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)
> Status of host resorce stuck in "ErrorInMaintenance"
> -----------------------------------------------------
>
> Key: CLOUDSTACK-118
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-118
> Project: CloudStack
> Issue Type: Bug
> Components: Management Server
> Affects Versions: pre-4.0.0
> Environment: XS 6.0.2
> MS Rhl6.3
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
> Reporter: prashant kumar mishra
> Assignee: Abhinandan Prateek
> Priority: Blocker
> Fix For: 4.1.0
>
> Attachments: access_log.2012-09-17.txt, access_log.2012-09-26.txt,
> api-server.log, api-server.log, catalina.2012-09-26.log, catalina.out,
> cloud-backup.dmp, management-server.log, management-server.log,
> management-server.log, management-server.log,
> management-server.log.2012-09-16.gz, screenshot-1.jpg, screenshot-2.jpg
>
>
> In a cluster of 2 host if you try to put master in maintenance mode
> ,resource state will be stuck in "ErrorInMaintenance"
> Step to reproduce:
> -----------------------------
> ------------------------------
> 1-Create an advance zone->pod->cluster.
> 2-Add 2 hosts in same cluster.
> 3-Deploy a HA enabled VM .
> 4-put host(one which is pool master ) in maintenance mode .
> Expected result :
> --------------------------
> --------------------------
> status =UP;
> resource status =maintenance
> Actual result:
> ------------------------
> ------------------------
> status=UP;
> resource state=ErrorInMaintenance
--
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