[Users] Removal of hard disk doesn´t trigger removal of underlying snapshots

--_000_745610313FF64860AD4B0B6300D70FC9sluse_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, and if you later try to remove the snapshot, after you have removed the har= d disk, the response given is "General command validation failure". Bug? Med V=E4nliga H=E4lsningar ---------------------------------------------------------------------------= ---- Karli Sj=F6berg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kron=E5sv=E4gen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se<mailto:karli.sjoberg@adm.slu.se> --_000_745610313FF64860AD4B0B6300D70FC9sluse_ Content-Type: text/html; charset="iso-8859-1" Content-ID: <0773DF208CCAAD429548DC3F401F5C54@ad.slu.se> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin= e-break: after-white-space; "> Hi, <div><br> </div> <div>and if you later try to remove the snapshot, after you have removed th= e hard disk, the response given is "General command validation failure= ". Bug?<br> <div><span class=3D"Apple-style-span" style=3D"border-collapse: separate; c= olor: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-varian= t: normal; font-weight: normal; letter-spacing: normal; line-height: normal= ; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: n= one; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-hori= zontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-dec= orations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stro= ke-width: 0px; font-size: medium; "> <div><br class=3D"Apple-interchange-newline"> <br> </div> <div>Med V=E4nliga H=E4lsningar<br> ---------------------------------------------------------------------------= ----<br> Karli Sj=F6berg<br> Swedish University of Agricultural Sciences<br> Box 7079 (Visiting Address Kron=E5sv=E4gen 8)<br> S-750 07 Uppsala, Sweden<br> Phone: +46-(0)18-67 15 66</div> <div><a href=3D"mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></= div> </span></div> <br> </div> </body> </html> --_000_745610313FF64860AD4B0B6300D70FC9sluse_--

----- Original Message -----
From: "Karli Sjöberg" <Karli.Sjoberg@slu.se> To: "<users@ovirt.org>" <users@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 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@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--_000_31FC1AA920AF44A08F3D1F197E8A4BE1sluse_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 1 okt 2012 kl. 19.06 skrev Igor Lvovsky: ----- Original Message ----- From: "Karli Sj=F6berg" <Karli.Sjoberg@slu.se<mailto:Karli.Sjoberg@slu.se>> To: "<users@ovirt.org<mailto:users@ovirt.org>>" <users@ovirt.org<mailto:use= rs@ovirt.org>> Sent: Monday, October 1, 2012 9:32:26 AM Subject: [Users] Removal of hard disk doesn=B4t trigger removal of underlyi= ng 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 snapsh= ots 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 engin= e'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=B4m not really sure what = I should be looking for. 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=B4s when I tried to delete it, and wa= s stopped by said error message. I understand that the sanity-checking fails, since the hard drive is no lon= ger present, hence the validation failure. But maybe it could be neat if it= could reply something like "You know, I can=B4t find the hard drive that g= oes with the snapshot you want to delete. Could that be because you=B4ve al= ready deleted it?" and check "Yes, I have." and then "OK". How does that so= und? /Karli Regards, Igor Med V=E4nliga H=E4lsningar ---------------------------------------------------------------------------= ---- Karli Sj=F6berg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kron=E5sv=E4gen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se<mailto:karli.sjoberg@slu.se> _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users Med V=E4nliga H=E4lsningar ---------------------------------------------------------------------------= ---- Karli Sj=F6berg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kron=E5sv=E4gen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se<mailto:karli.sjoberg@adm.slu.se> --_000_31FC1AA920AF44A08F3D1F197E8A4BE1sluse_ Content-Type: text/html; charset="iso-8859-1" Content-ID: <FF6DC20481248648A68F71BC858F3DEF@ad.slu.se> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin= e-break: after-white-space; "> <br> <div> <div>1 okt 2012 kl. 19.06 skrev Igor Lvovsky:</div> <br class=3D"Apple-interchange-newline"> <blockquote type=3D"cite"> <div><br> <br> ----- Original Message -----<br> <blockquote type=3D"cite">From: "Karli Sj=F6berg" <<a href=3D"= mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a>><br> </blockquote> <blockquote type=3D"cite">To: "<<a href=3D"mailto:users@ovirt.org">= users@ovirt.org</a>>" <<a href=3D"mailto:users@ovirt.org">users@= ovirt.org</a>><br> </blockquote> <blockquote type=3D"cite">Sent: Monday, October 1, 2012 9:32:26 AM<br> </blockquote> <blockquote type=3D"cite">Subject: [Users] Removal of hard disk doesn=B4t t= rigger removal of underlying snapshots<br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite">Hi,<br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite">and if you later try to remove the snapshot, afte= r you have removed<br> </blockquote> <blockquote type=3D"cite">the hard disk, the response given is "Genera= l command validation<br> </blockquote> <blockquote type=3D"cite">failure". Bug?<br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <br> In general when you remove the VM's disk it should remove all disk's snapsh= ots as well.<br> Could you please explain what you exactly did and how?<br> In additional, please share with us vdsm log from your host (SPM) and engin= e's log<br> </div> </blockquote> <div><br> </div> Yeaow, that was yesterday so those logs are long archived and would take a = while to search through and find something that I=B4m not really sure what = I should be looking for. But I can tell you what I did:</div> <div><br> </div> <div>1. Created new Desktop VM, with thin hard drive</div> <div>2. Created a snapshot after mucking around a bit</div> <div>3. Removed hard drive (needed to start over fresh)</div> <div>4. Snapshot was still present so that=B4s when I tried to delete it, a= nd was stopped by said error message.</div> <div><br> </div> <div>I understand that the sanity-checking fails, since the hard drive is n= o longer present, hence the validation failure. But maybe it could be neat = if it could reply something like "You know, I can=B4t find the hard dr= ive that goes with the snapshot you want to delete. Could that be because you=B4ve already deleted it?" and ch= eck "Yes, I have." and then "OK". How does that sound?<= /div> <div><br> </div> <div>/Karli</div> <div><br> <blockquote type=3D"cite"> <div><br> Regards,<br> Igor<br> <br> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite">Med V=E4nliga H=E4lsningar<br> </blockquote> <blockquote type=3D"cite">-------------------------------------------------= ------------------------------<br> </blockquote> <blockquote type=3D"cite">Karli Sj=F6berg<br> </blockquote> <blockquote type=3D"cite">Swedish University of Agricultural Sciences<br> </blockquote> <blockquote type=3D"cite">Box 7079 (Visiting Address Kron=E5sv=E4gen 8)<br> </blockquote> <blockquote type=3D"cite">S-750 07 Uppsala, Sweden<br> </blockquote> <blockquote type=3D"cite">Phone: +46-(0)18-67 15 66<br> </blockquote> <blockquote type=3D"cite"><a href=3D"mailto:karli.sjoberg@slu.se">karli.sjo= berg@slu.se</a><br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> <blockquote type=3D"cite">_______________________________________________<b= r> </blockquote> <blockquote type=3D"cite">Users mailing list<br> </blockquote> <blockquote type=3D"cite"><a href=3D"mailto:Users@ovirt.org">Users@ovirt.or= g</a><br> </blockquote> <blockquote type=3D"cite"><a href=3D"http://lists.ovirt.org/mailman/listinf= o/users">http://lists.ovirt.org/mailman/listinfo/users</a><br> </blockquote> <blockquote type=3D"cite"><br> </blockquote> </div> </blockquote> </div> <br> <div><span class=3D"Apple-style-span" style=3D"border-collapse: separate; c= olor: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-varian= t: normal; font-weight: normal; letter-spacing: normal; line-height: normal= ; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: n= one; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-hori= zontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-dec= orations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stro= ke-width: 0px; font-size: medium; "> <div><br class=3D"Apple-interchange-newline"> <br> </div> <div>Med V=E4nliga H=E4lsningar<br> ---------------------------------------------------------------------------= ----<br> Karli Sj=F6berg<br> Swedish University of Agricultural Sciences<br> Box 7079 (Visiting Address Kron=E5sv=E4gen 8)<br> S-750 07 Uppsala, Sweden<br> Phone: +46-(0)18-67 15 66</div> <div><a href=3D"mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></= div> </span></div> <br> </body> </html> --_000_31FC1AA920AF44A08F3D1F197E8A4BE1sluse_--

----- Original Message -----
From: "Karli Sjöberg" <Karli.Sjoberg@slu.se> To: "Igor Lvovsky" <ilvovsky@redhat.com> Cc: "users" <users@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@slu.se >
To: "< users@ovirt.org >" < users@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@slu.se
_______________________________________________
Users mailing list
Users@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@slu.se
participants (2)
-
Igor Lvovsky
-
Karli Sjöberg