<div dir="ltr"><div>Thanks</div><div>@Duncan: I'll try with the lvm driver.</div>@Avishay, i'm not trying to delete a volume created from a snapshot, i'm trying to delete a snapshot that has volumes created from it (actually i need to prevent this action and properly report the cause of the failure: SnapshotIsBusy).<div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Eduard</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 2, 2015 at 7:57 AM, Avishay Traeger <span dir="ltr"><<a href="mailto:avishay@stratoscale.com" target="_blank">avishay@stratoscale.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Deleting a volume created from a snapshot is permitted. Performing operations on a volume created from snapshot should have the same behavior as volumes created from volumes, images, or empty (no source). In all of these cases, the volume should be deleted, regardless of where it came from. Independence from source is one of the differences between volumes and snapshots in Cinder. The driver must take care to ensure this.<div><br></div><div>As to your question about propagating errors without changing an object's state, that is unfortunately not doable in Cinder today (or any other OpenStack project as far as I know). The object's state is currently the only mechanism for reporting an operation's success or failure.</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, Mar 1, 2015 at 6:07 PM, Duncan Thomas <span dir="ltr"><<a href="mailto:duncan.thomas@gmail.com" target="_blank">duncan.thomas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I thought that case should be caught well before it gets to the driver. Can you retry with the LVM driver please?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 February 2015 at 10:48, Eduard Matei <span dir="ltr"><<a href="mailto:eduard.matei@cloudfounders.com" target="_blank">eduard.matei@cloudfounders.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We've been testing our cinder driver extensively and found a strange behavior in the UI:</div><div>- when trying to delete a snapshot that has clones (created volume from snapshot) and error is raised in our driver which turns into "error_deleting" in cinder and the UI; further actions on that snapshot are impossible from the ui, the user has to go to CLI and do cinder snapshot-reset-state to be able to delete it (after having deleted the clones)</div><div>- to help with that we implemented a check in the driver and now we raise exception.SnapshotIsBusy; now the snapshot remains available (as it should be) but no error "bubble" is shown in the UI (only the green one: Success. Scheduled deleting of...). So the user has to go to c-vol screen and check the cause of the error</div><div><br></div><div>So question: how should we handle this so that </div><div>a. The snapshot remains in state "available"</div><div>b. An error bubble is shown in the UI stating the cause.</div><div><br></div><div>Thanks,</div><div>Eduard</div><div><div><br></div>-- <br><div><div dir="ltr"><pre style="white-space:pre-wrap;font-size:10px;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><b><span style="font-size:10pt;font-family:Arial,sans-serif" lang="EN-US">Eduard Biceri Matei, Senior Software Developer</span></b></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif"><a href="http://www.cloudfounders.com/" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US"><font color="#0045a3">www.cloudfounders.com</font></span></a><div style="display:inline-block;width:16px;min-height:16px"></div><div style="display:inline-block;width:16px;min-height:16px"></div></span><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US"><font color="#1f497d"> | </font><a href="mailto:eduard.matei@cloudfounders.com" style="color:rgb(17,85,204)" target="_blank"><font color="#0045a3">eduard.matei@cloudfounders.com</font></a></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></div><br><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-size:13.5pt;font-family:Arial,sans-serif;color:rgb(80,0,80)" lang="EN-US"><u></u> <u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><b><span style="font-size:13.5pt;font-family:Arial,sans-serif" lang="EN-US">CloudFounders, The Private Cloud Software Company</span></b><span style="font-size:13.5pt;font-family:Arial,sans-serif" lang="EN-US"><u></u><u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif" lang="EN-US"><u></u> <u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-family:Helvetica,sans-serif;font-size:11px" lang="EN-US">Disclaimer:<u></u><u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-size:8.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.</span><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><br><span style="font-size:11px">If you are not the named addressee or an employee or agent responsible for delivering this message to the named addressee, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this email in error we request you to notify us by reply e-mail and to delete all electronic files of the message. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. <br>E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the content of this message, and shall have no liability for any loss or damage suffered by the user, which arise as a result of e-mail transmission.</span></span></div></pre></div></div>
</div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div>Duncan Thomas</div>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b style="font-size:12.7272720336914px"><font color="#666666">Avishay Traeger</font></b><br></div><div><i><font color="#666666">Storage R&D</font></i></div><div><span style="color:rgb(102,102,102);font-size:12.7272720336914px"><br></span></div><div><span style="color:rgb(102,102,102)">Mobile:</span><span style="color:rgb(102,102,102)"> </span><a value="+972524317955" style="color:rgb(17,85,204)">+972 54 447 1475</a><br></div><div><font color="#666666">E-mail: <a href="mailto:avishay@stratoscale.com" style="color:rgb(17,85,204)" target="_blank">avishay@stratoscale.com</a></font></div><div><font color="#666666"><br></font></div><div><img src="http://www.stratoscale.com/wp-content/uploads/Logo-Signature-Stratoscale-230.jpg"><br></div><div><font color="#666666"><br></font></div><div><p style="margin:0in"><a href="http://www.stratoscale.com/" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:arial;font-size:9.75pt">Web</span></a><span style="font-family:arial;font-size:9.75pt"> | </span><a href="http://www.stratoscale.com/blog/" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:arial;font-size:9.75pt">Blog</span></a><span style="font-family:arial;font-size:9.75pt;color:rgb(108,163,214)"> | </span><a href="https://twitter.com/Stratoscale" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:arial;font-size:9.75pt">Twitter</span></a><span style="font-family:arial;font-size:9.75pt;color:rgb(108,163,214)"> | <a href="https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts" style="color:rgb(17,85,204)" target="_blank">Google+</a> | </span><span style="font-family:arial;font-size:9.75pt"><a href="https://www.linkedin.com/company/stratoscale" style="color:rgb(17,85,204)" target="_blank">Linkedin</a></span></p></div></div></div></div></div></div></div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre style="white-space:pre-wrap;font-size:10px;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><b><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">Eduard Biceri Matei, Senior Software Developer</span></b></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif"><a href="http://www.cloudfounders.com/" style="color:rgb(17,85,204)" target="_blank"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><font color="#0045a3">www.cloudfounders.com</font></span></a><div style="display:inline-block;width:16px;height:16px"></div><div style="display:inline-block;width:16px;min-height:16px"></div></span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><font color="#1f497d"> | </font><a href="mailto:eduard.matei@cloudfounders.com" style="color:rgb(17,85,204)" target="_blank"><font color="#0045a3">eduard.matei@cloudfounders.com</font></a></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div><br><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span lang="EN-US" style="font-size:13.5pt;font-family:Arial,sans-serif;color:rgb(80,0,80)"><u></u> <u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><b><span lang="EN-US" style="font-size:13.5pt;font-family:Arial,sans-serif">CloudFounders, The Private Cloud Software Company</span></b><span lang="EN-US" style="font-size:13.5pt;font-family:Arial,sans-serif"><u></u><u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span lang="EN-US" style="font-size:13.5pt;font-family:Helvetica,sans-serif"><u></u> <u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span lang="EN-US" style="font-family:Helvetica,sans-serif;font-size:11px">Disclaimer:<u></u><u></u></span></div><div style="font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;white-space:normal;margin:0px"><span lang="EN-US" style="font-size:8.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.</span><span lang="EN-US" style="font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br><span style="font-size:11px">If you are not the named addressee or an employee or agent responsible for delivering this message to the named addressee, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this email in error we request you to notify us by reply e-mail and to delete all electronic files of the message. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. <br>E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the content of this message, and shall have no liability for any loss or damage suffered by the user, which arise as a result of e-mail transmission.</span></span></div></pre></div></div>
</div></div>