<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi Stackers,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">
I have been implementing a Cinder driver for our storage solution & facing issues with below scenario.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">
Scenario - When a user/admin tries to delete a snapshot that has associated clone(s), an error message/log should be shown to the user stating that '<i>There are clones associated to this snapshot. Hence, snapshot cannot be deleted</i>'. </div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Implementation issues - If Cinder driver throws an Exception the snapshot will have error_deleting status & will not be usable. If Cinder driver logs the error silently then Openstack will probably mark the snapshot as deleted.</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">What is the appropriate procedure that needs to be followed for above usecase.</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div><div dir="ltr"><div><font style="background-color:rgb(255,255,255)" color="#000000" face="trebuchet ms, sans-serif">Regards,</font></div>
<font style="background-color:rgb(255,255,255)" color="#000000" face="trebuchet ms, sans-serif">Amit</font><div><a href="http://www.cloudbyte.com/" target="_blank"><font style="background-color:rgb(255,255,255)" color="#0000ff" face="trebuchet ms, sans-serif"><i>CloudByte Inc.</i></font></a></div>
</div></div>
</div>