Bug 970011 - stateless snapshot (Read-Only) is not deleted
stateless snapshot (Read-Only) is not deleted
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Nobody's working on this, feel free to take it
Depends On:
  Show dependency treegraph
Reported: 2013-06-03 06:08 EDT by Jiri Belka
Modified: 2015-09-22 09 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-03 07:23:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
engine.log, vdsm.log (90.00 KB, application/x-tar)
2013-06-03 06:08 EDT, Jiri Belka
no flags Details

  None (edit)
Description Jiri Belka 2013-06-03 06:08:30 EDT
Created attachment 756229 [details]
engine.log, vdsm.log

Description of problem:
We have following scenarion:

* Run a VM stateless (and open its console)
* Stop vdsmd
* Shutdown guest's OS from the guest itself (from console)
* Start vdsmd

When the guest is down and then vdsmd is started again, the stateless snapshot does still exists - it is not deleted.

This state impacts immediate next start of the VM, which fails just because of the existence of the stateless snapshot.

  Failed to start VM jb-wxp, because exist snapshot for stateless state. Snapshot will be deleted.

This failure cleans the snapshot and then everything is OK.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run a VM in stateless mode and open its console
2. stop vdsmd
3. shutdown guest's OS from the guest itself (console)
4. start vdsmd
5. check snapshosts list in admin portal

Actual results:
stateless snapshot does still exists for non-running VM

Expected results:
stateless snapshot should not exists for non-started VMs

Additional info:
Comment 1 Dafna Ron 2013-06-03 07:23:43 EDT
closing this as not a bug. 
following bug: https://bugzilla.redhat.com/show_bug.cgi?id=735097
the agreed solution/behaviour is to try and delete the stateless snapshot when vm is started again and to fail run of vm until the stateless snapshot is removed. 
once the snapshot is removed we can start the vm properly.

Note You need to log in before you can comment on or make changes to this bug.