[ 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