You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "prashant kumar mishra (JIRA)" <ji...@apache.org> on 2012/09/17 11:25:07 UTC
[jira] [Created] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
prashant kumar mishra created CLOUDSTACK-118:
------------------------------------------------
Summary: 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: 4.0.0
Environment: XS 6.0.2
MS Rhl6.3
Reporter: prashant kumar mishra
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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Environment:
XS 6.0.2
MS Rhl6.3
Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
was:
XS 6.0.2
MS Rhl6.3
Affects Version/s: (was: 4.0.0)
pre-4.0.0
> 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
>
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Attachment: management-server.log
> 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
> Fix For: pre-4.0.0
>
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463623#comment-13463623 ]
prashant kumar mishra commented on CLOUDSTACK-118:
--------------------------------------------------
this may be a reason (capacity Threshold) and to rule out this Today i tested on fresh install (xs6.0.2,MS Rhl6.3) where i got same error (ErrorInMaintenance ) . I am attaching MS log and screenshot of dashboard (it will give idea of resource used)
Log:
-----------
-----------
012-09-26 03:03:15,540 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-0:work-1) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:1, requested cpu: 500, requested ram: 268435456
2012-09-26 03:03:15,540 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-0:work-1) Is ROOT volume READY (pool already allocated)?: No
2012-09-26 03:03:15,540 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-0:work-1) This VM has last host_id specified, trying to choose the same host: 5
2012-09-26 03:03:15,541 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-0:work-1) The last host of this VM is in avoid set
2012-09-26 03:03:15,546 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-0:work-1) Cannot choose the last host to deploy this VM
2012-09-26 03:03:15,546 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-0:work-1) Searching resources only under specified Cluster: 1
2012-09-26 03:03:15,553 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) DeploymentPlanner allocation algorithm: random
2012-09-26 03:03:15,554 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:1, requested cpu: 4000, requested ram: 1048576000
2012-09-26 03:03:15,554 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) Is ROOT volume READY (pool already allocated)?: No
2012-09-26 03:03:15,554 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) This VM has last host_id specified, trying to choose the same host: 5
2012-09-26 03:03:15,558 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) The last host of this VM is in avoid set
2012-09-26 03:03:15,558 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) Cannot choose the last host to deploy this VM
2012-09-26 03:03:15,558 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) Searching resources only under specified Cluster: 1
2012-09-26 03:03:15,567 INFO [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-3:work-3) Processing HAWork[3-Migration-5-Running-Scheduled
> 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
> Fix For: pre-4.0.0
>
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Sudha Ponnaganti (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sudha Ponnaganti updated CLOUDSTACK-118:
----------------------------------------
Assignee: Rohit Yadav
> 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: Rohit Yadav
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Assigned] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Rohit Yadav (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohit Yadav reassigned CLOUDSTACK-118:
--------------------------------------
Assignee: (was: Rohit Yadav)
> 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
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467447#comment-13467447 ]
prashant kumar mishra commented on CLOUDSTACK-118:
--------------------------------------------------
I am getting same error with KVM(Rhl6.3) setup also i presume there would not be the configuration(pool) problem .
> 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: Minor
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Huang updated CLOUDSTACK-118:
----------------------------------
Fix Version/s: pre-4.0.0
> 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: Rohit Yadav
> Fix For: pre-4.0.0
>
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Mice Xia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460398#comment-13460398 ]
Mice Xia commented on CLOUDSTACK-118:
-------------------------------------
I ran into same problem when there is not enough available resource on other hosts, host will stuck in ErrorInMaintenance state and cannot cancel; but this is an exceptional scenario, for normal scenario there is no error.
[error log]
WARN [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-0:work-16) Insufficient capacity for migrating a VM.
Prashant,
i cant find any PrepareForMaintenanceCmd or related log in your mgmt server log, can you verify the steps to reproduce it?
> 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
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Huang updated CLOUDSTACK-118:
----------------------------------
Fix Version/s: (was: pre-4.0.0)
4.1.0
> 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: Minor
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Attachment: screenshot-2.jpg
> 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
> Fix For: pre-4.0.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.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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Fix Version/s: (was: pre-4.0.0)
Description:
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
was:
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
> 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: Rohit Yadav
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Attachment: screenshot-1.jpg
> 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
> Fix For: pre-4.0.0
>
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log.2012-09-16.gz, screenshot-1.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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Attachment: catalina.2012-09-26.log
api-server.log
access_log.2012-09-26.txt
management-server.log
Today's MS log(9/26/2012)
> 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
> Fix For: pre-4.0.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.2012-09-16.gz, screenshot-1.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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467316#comment-13467316 ]
Alex Huang commented on CLOUDSTACK-118:
---------------------------------------
Based on the logs, it looks like a XenServer configuration issue. Moved this to 4.1.0 and lowered the priority.
> 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: Minor
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Rohit Yadav (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470190#comment-13470190 ]
Rohit Yadav commented on CLOUDSTACK-118:
----------------------------------------
@Prashant, this a very special case and most likely your storage or KVM configuration. I tried to read through the logs but was unable to diagnose the problem. As you suggest this bug may not be caught everytime, it is may be time/thread/sync issue.
For KVM, how are disk names set? I see it fails while trying to set uid/gid over a file that does not exist, and has internal name with patchdisk suffix, instead of uuid/guid which is the case for Xen.
2012-10-05 12:27:35,585 ERROR [cloud.vm.VirtualMachineManagerImpl] (HA-Worker-0:work-5) Unable to migrate due to unable to set user and group to '0:0' on '/mnt/6e8264c6-4591-399b-b4b0-123f61342208/s-1-VM-patchdisk': No such file or directory
@Sudha: can anyone in BLR/SC be assigned to verify this bug?
Triaging to Edison or anyone on KVM.
Thanks.
> 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: Minor
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Huang updated CLOUDSTACK-118:
----------------------------------
Priority: Minor (was: Blocker)
> 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: Minor
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Attachment: management-server.log
MS Log for CS + KVM host setup
> 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
> Fix For: pre-4.0.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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Mice Xia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463599#comment-13463599 ]
Mice Xia commented on CLOUDSTACK-118:
-------------------------------------
Resource state update: [id = 2; name = xenserver-srsufcmy; old state = PrepareForMaintenance; event = UnableToMigrate; new state = ErrorInMaintenance]
------------------
------------------
this is caused by :
2012-09-25 01:54:42,491 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) Cannot allocate cluster list [1] for vm creation since their allocated percentage crosses the disable capacity threshold: 0.85 for capacity Type : 1, skipping these clusters
2012-09-25 01:54:42,492 DEBUG [cloud.deploy.FirstFitPlanner] (HA-Worker-1:work-2) Could not find suitable Deployment Destination for this VM under any clusters, returning.
------------------
------------------
capacity type 1 is CPU, thread [HA-Worker-1:work-2] is trying to migrate i-2-5-VM to another host, free CPU 3800, requested CPU 4000
if migrating fails, maintenance will fail, IMO this is the expected result.
> 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
> Fix For: pre-4.0.0
>
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460183#comment-13460183 ]
prashant kumar mishra commented on CLOUDSTACK-118:
--------------------------------------------------
it's CloudStack--4.0.59
> 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
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460076#comment-13460076 ]
Alex Huang commented on CLOUDSTACK-118:
---------------------------------------
Prashant,
What version of CS did you find this in?
--Alex
> 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
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464580#comment-13464580 ]
prashant kumar mishra commented on CLOUDSTACK-118:
--------------------------------------------------
I am facing same error "ErrorInMaintenance" with KVM host also.
**********************************************
Details
***********************************************
Setup
-------------------
-------------------
MS :Rhel6.3
Hypervisor : KVM(Rhl6.3)
Advance Zone
Build :CloudStack-oss-4.0.0-184.tar.bz2
Git Revision: 995bab60385f7d663680ef6f5342056c6db3d305
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
--------------------------------------------------------------------------------------------------------------------------------------
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(on which SSVM ,CPVM and VR are running ) in maintenance mode .
Expected result :
--------------------------
--------------------------
resource status =maintenance
Actual result:
------------------------
------------------------
resource state=ErrorInMaintenance
> 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
> Fix For: pre-4.0.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.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
[jira] [Resolved] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Mice Xia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mice Xia resolved CLOUDSTACK-118.
---------------------------------
Resolution: Fixed
commit master a5bca0999aa010252b1390c4db6dc5023967ab06
resolve race condition issue,
add state transition for cancelMaintenance
Please verify
> 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: Minor
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Huang updated CLOUDSTACK-118:
----------------------------------
Fix Version/s: pre-4.0.0
> 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
> Fix For: pre-4.0.0
>
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Rohit Yadav (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458982#comment-13458982 ]
Rohit Yadav commented on CLOUDSTACK-118:
----------------------------------------
I don't know if this bug is supposed to be fixed before 4.0, so preempting it right now.
> 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: Rohit Yadav
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Priority: Blocker (was: Major)
> 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: pre-4.0.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
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prashant kumar mishra updated CLOUDSTACK-118:
---------------------------------------------
Attachment: cloud-backup.dmp
management-server.log.2012-09-16.gz
management-server.log
catalina.out
api-server.log
access_log.2012-09-17.txt
Management Server logs:
1-access_log.2012-09-17.txt
2-api-server.log
3-catalina.out
4-management-server.log
5-management-server.log.2012-09-16.gz
Database backup:
1-cloud-backup.dmp
> 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
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Assigned] (CLOUDSTACK-118) Status of host resorce stuck in
"ErrorInMaintenance"
Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Huang reassigned CLOUDSTACK-118:
-------------------------------------
Assignee: Abhinandan Prateek
Please find the right resource to work on this one.
> 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
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "prashant kumar mishra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462487#comment-13462487 ]
prashant kumar mishra commented on CLOUDSTACK-118:
--------------------------------------------------
I tried with a fresh install of management server using new build and getting same problem( ErrorinMaintenance)
Log
------------------
------------------
Resource state update: [id = 2; name = xenserver-srsufcmy; old state = PrepareForMaintenance; event = UnableToMigrate; new state = ErrorInMaintenance]
I am also atteched log file "management-server.log" it may help to look into problem.
> 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
> Fix For: pre-4.0.0
>
> Attachments: access_log.2012-09-17.txt, api-server.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log.2012-09-16.gz
>
>
> 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
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck
in "ErrorInMaintenance"
Posted by "Mice Xia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471417#comment-13471417 ]
Mice Xia commented on CLOUDSTACK-118:
-------------------------------------
no clue for the exception which xenserver throws, but indeed there is a race condition between migrating thread and delta sync thread, i.e. delta sync thread might force-update VM's status during VM migration, and that will cause migrating thread fail to update VM status.
Plus, can not cancel maintenance because there is no such state transition in resource state machine.
> 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: Minor
> 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