----- Original Message -----
From: "Karli Sjöberg" <Karli.Sjoberg(a)slu.se>
To: "Igor Lvovsky" <ilvovsky(a)redhat.com>
Cc: "users" <users(a)ovirt.org>
Sent: Tuesday, October 2, 2012 9:49:53 AM
Subject: Re: [Users] Removal of hard disk doesn´t trigger removal of underlying
snapshots
1 okt 2012 kl. 19.06 skrev Igor Lvovsky:
----- Original Message -----
From: "Karli Sjöberg" < Karli.Sjoberg(a)slu.se >
To: "< users(a)ovirt.org >" < users(a)ovirt.org >
Sent: Monday, October 1, 2012 9:32:26 AM
Subject: [Users] Removal of hard disk doesn´t trigger removal of
underlying snapshots
Hi,
and if you later try to remove the snapshot, after you have removed
the hard disk, the response given is "General command validation
failure". Bug?
In general when you remove the VM's disk it should remove all disk's
snapshots as well.
Could you please explain what you exactly did and how?
In additional, please share with us vdsm log from your host (SPM) and
engine's log
Yeaow, that was yesterday so those logs are long archived and would
take a while to search through and find something that I´m not
really sure what I should be looking for.
Try to look logs for proper time. It will be a bit difficult to help you without
understand what exactly happened there.
But I can tell you what I
did:
1. Created new Desktop VM, with thin hard drive
2. Created a snapshot after mucking around a bit
3. Removed hard drive (needed to start over fresh)
4. Snapshot was still present so that´s when I tried to delete it,
and was stopped by said error message.
I understand that the sanity-checking fails, since the hard drive is
no longer present, hence the validation failure. But maybe it could
be neat if it could reply something like "You know, I can´t find the
hard drive that goes with the snapshot you want to delete. Could
that be because you´ve already deleted it?" and check "Yes, I have."
and then "OK". How does that sound?
Not such easy. You never know whether the hard drive was deleted or never exists
/Karli
Regards,
Igor
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg(a)slu.se
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg(a)slu.se