[ 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