cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8827) VM snapshot stuck in Creating state when management service is stopped
Date Thu, 09 Mar 2017 05:10:37 GMT


ASF GitHub Bot commented on CLOUDSTACK-8827:

Github user anshul1886 commented on the issue:
    @koushik-das @sateesh-chodapuneedi @ramkatru @karuturi @rhtyd  Regarding unit tests, I
can't see any useful tests can be written here which I have already specified the reason for.
Also we have already lot of unit tests which are wasting time to fix. Every now and then I
am coming across unit tests which are not written in proper way and leads to waste of effort.
As far as my understanding of unit test goes they are to reduce effort not increase. One example
is in this PR's last jenkins run. That build was failed because one test is trying to download/copy
file and that failed. As per my understanding unit tests should not do any thing which are
dependent on external environments failure. As those kind of failures are bound to happen.
As when those happen we have to go and check why that is failed wasting some time to understand.
So ultimately we are wasting lot of effort currently because of tests not properly written.

> VM snapshot stuck in Creating state when management service is stopped
> ----------------------------------------------------------------------
>                 Key: CLOUDSTACK-8827
>                 URL:
>             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
> 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

View raw message