[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15902473#comment-15902473
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8827:
--------------------------------------------

GitHub user anshul1886 reopened a pull request:

    https://github.com/apache/cloudstack/pull/793

    CLOUDSTACK-8827: Move the VM snapshots stuck in transitional states to 
stable states during managment server restart

    i.e. If snapshot in creating state move it to Error state and if it is in 
reverting state move it to Ready state.
    
    Manual tests performed
    
    Take VM snapshot of VM
    stop the management server
    Verify in DB that VM snapshot is in  creating state
    Start the management server
    Verify that snapshot moves to ERROR state.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/anshul1886/cloudstack-1 CLOUDSTACK-8827

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/793.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #793
    
----
commit 656e855792737318b7bb5c84eea7a2a30eb6ad71
Author: Anshul Gangwar <anshul.gang...@citrix.com>
Date:   2015-09-09T08:51:15Z

    CLOUDSTACK-8827: Move the VM snapshots stuck in transitional states to 
stable state during managment server restart
    i.e. If snapshot in creating state move it to Error state and if it is in 
reverting state move it to Ready state.

----


> VM snapshot stuck in Creating state when management service is stopped
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8827
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8827
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Anshul Gangwar
>            Assignee: Anshul Gangwar
>             Fix For: Future
>
>
> If we stop cloudstack-managment service while a VM snapshot is in progress, 
> the snapshot will be stuck in "Creating" state forever, even after the 
> service is started.
> This will leave the snapshot in unusable state (we can't delete it or it 
> won't go into Error state etc).
> Repro steps:
> ==========
> Create an instance.
> Take a VM snapshot and stop the cloudstack-managment service while the 
> snapshot is in progress.
> Check the snapshot state in DB and it will be creating.
> Start the management service and check the snapshot state.
> It will be creating forever.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to