[
https://issues.apache.org/jira/browse/CLOUDSTACK-8103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255512#comment-14255512
]
ASF subversion and git services commented on CLOUDSTACK-8103:
-------------------------------------------------------------
Commit 331e257ca0ecb76e48f56422797e547d16d6944b in cloudstack's branch
refs/heads/master from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=331e257 ]
CLOUDSTACK-8103: Vmsync marks VM as stopped even after failing to stop it in HV
During vmsync if StopCommand (issued as part of PowerOff/PowerMissing report)
fails to stop VM (since VM is running on HV),
don't transition VM state to "Stopped" in CS db. Also added a check to throw
ConcurrentOperationException if vm state is not
"Running" after start operation.
> Vmsync marks VM as stopped even after failing to stop it in HV
> --------------------------------------------------------------
>
> Key: CLOUDSTACK-8103
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8103
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.5.0
> Reporter: Koushik Das
> Assignee: Koushik Das
> Priority: Critical
> Fix For: 4.5.0
>
>
> Vmsync reports poweroff/powermissing and tries to stop vm. The stop agent
> command fails as it finds VM to be running in HV. Even though stop command
> fails, the VM is marked as stopped in the database.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)