Bug 1324402 - fail to create snapshot when shutting off VM but snapshot listed
Summary: fail to create snapshot when shutting off VM but snapshot listed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: vdsm
Classification: oVirt
Component: General
Version: 4.16.36
Hardware: x86_64
OS: Linux
low
medium vote
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 09:24 UTC by Han Han
Modified: 2022-06-27 11:43 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-24 10:12:47 UTC
oVirt Team: Virt
sbonazzo: ovirt-4.2-


Attachments (Terms of Use)
screenshots (384.63 KB, application/x-gzip)
2016-04-06 09:24 UTC, Han Han
no flags Details
ovirt and vdsm logs (1.80 MB, application/x-gzip)
2016-04-06 09:25 UTC, Han Han
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-46665 0 None None None 2022-06-27 11:43:13 UTC

Description Han Han 2016-04-06 09:24:02 UTC
Created attachment 1144132 [details]
screenshots

Description of problem:
Power off the VM immediately when start creating snapshot. RHEVM log shows snapshot created failed but we can see the snapshot.

Version-Release number of selected component (if applicable):
Host:
libvirt-0.10.2-60.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.491.el6.x86_64
vdsm-4.16.36-1.el6ev.x86_64
RHEVM:
rhevm-3.6.3.4-0.1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install a VM in RHEVM
1) Create a data center using Compatibility Version 3.5
2) Create a cluster belonging to the previous data center. CPU Architecture is x86_64, CPU Type is AMD Opteron G1, Compatibility Version 3.5.
3) Add a AMD host belonging to the previous cluster
4) Add a NFS storage.
5) Install a RHEL7 guest named VM.
2. When guest is running, create a mem&disk snapshot s1, then power off the guest immediately. As screenshot1&screenshot2 shows.

Actual results:
RHEVM messages:Failed to complete snapshot 's1' creation for VM 'VM'.
But we can find s1 is in the list.

Expected results:
Snapshot created failed, no snapshot listed.

Additional info:

Comment 1 Han Han 2016-04-06 09:25:56 UTC
Created attachment 1144133 [details]
ovirt and vdsm logs

Comment 2 Tomas Jelinek 2016-04-13 10:30:36 UTC
@Han Han: Can you remove this snapshot manuaklly or is it in some locked state? Is the VM OK after this action (e.g. can you normally start it etc?)

Comment 3 Han Han 2016-04-13 10:58:11 UTC
(In reply to Tomas Jelinek from comment #2)
> @Han Han: Can you remove this snapshot manuaklly or is it in some locked
> state? Is the VM OK after this action (e.g. can you normally start it etc?)

The snapshot can be deleted via rhevm. VM is ok to use.

Comment 4 Michal Skrivanek 2016-12-21 09:08:20 UTC
The bug was not addressed in time for 4.1. Postponing to 4.2

Comment 5 Michal Skrivanek 2017-08-22 08:35:21 UTC
we cannot prevent guest from shutdown during the operation. Is it just mishandling of the failure? Shmuel?

Comment 6 Michal Skrivanek 2017-11-24 10:12:47 UTC
didn't get to it in 4.2 either. It doesn't sound as it's causing any harm, closing then...

Comment 7 Shmuel Melamud 2018-06-06 17:38:26 UTC
Clearing needinfo.


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