<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.balloontextchar0
        {mso-style-name:balloontextchar;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Kevin,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There are a few blueprints in Trove that might address your use case.  See
<a href="https://blueprints.launchpad.net/trove/+spec/snapshot-as-backup-strategy">
https://blueprints.launchpad.net/trove/+spec/snapshot-as-backup-strategy</a> or maybe
<a href="https://blueprints.launchpad.net/trove/+spec/volume-delete-on-terminate">
https://blueprints.launchpad.net/trove/+spec/volume-delete-on-terminate</a> .  If neither is entirely correct, please feel free to submit a new one.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Fox, Kevin M [mailto:Kevin.Fox@pnnl.gov]
<br>
<b>Sent:</b> June-28-16 7:10 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions); Ali Adil<br>
<b>Subject:</b> Re: [openstack-dev] Change in openstack/trove[master]: Ophaned Volume Not Removed on Instance Delete<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">To me, one of the benefits of cinder is the ability to have the volume outlast the vm. So, for example, if you knew a yum upgrade went bad on the vm, but the db
 data is safe, it would be nice to be able to just delete the vm and have trove relaunch using the existing volume, not having to import all the data again. Or the host it was running on died but the volume is ok. It would be very nice if Trove supported this
 use case.<br>
<br>
Thanks,<br>
Kevin<o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div id="divRpF928422">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"> Peter Stachowski [peter@tesora.com]<br>
<b>Sent:</b> Tuesday, June 28, 2016 3:39 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions); Ali Adil<br>
<b>Subject:</b> Re: [openstack-dev] Change in openstack/trove[master]: Ophaned Volume Not Removed on Instance Delete</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Will,</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Trove is a managed database service.  Once you delete the database, all associated volumes with it are also deleted, as is the Nova instance.  One of the key
 benefits of using Trove is that you don’t have to manage servers/volumes/security_groups etc.  Also, depending on the provider’s implementation, the volume may not be visible to the end user and thus would just be left lying around using up resources if it
 isn’t deleted by Trove (while potentially having the use charged back to the end user).  This is the case that is being addressed – having a volume left undeleted even if the Nova instance is gone (or in this case didn’t start successfully).</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Peter</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"> Will Zhou [<a href="mailto:zzxwill@gmail.com">mailto:zzxwill@gmail.com</a>]
<br>
<b>Sent:</b> June-28-16 10:55 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions); Ali Adil<br>
<b>Subject:</b> Re: [openstack-dev] Change in openstack/trove[master]: Ophaned Volume Not Removed on Instance Delete</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black">Hi Scott, many thanks for your figuration.  Thanks and +1 for your nomination to nova core:)<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black">Hi aadil, we should </span><span style="font-family:"Helvetica","sans-serif";color:#212121">DETACH the volume, instead of DELETE. Please help enhance your code which is really a helpful fix to the bug. Thanks.</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="color:black">On Tue, Jun 28, 2016 at 10:51 PM D'Angelo, Scott <<a href="mailto:scott.dangelo@hpe.com" target="_blank">scott.dangelo@hpe.com</a>> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:black">If a volume is attached to an instance, and the instance is deleted, the volume will be DETACHED, but the volume will still exist, it will NOT be DELETED.<br>
<br>
It is up to the volume owner to delete the volume if they wish.<br>
<br>
________________________________<br>
From: Will Zhou <<a href="mailto:zzxwill@gmail.com" target="_blank">zzxwill@gmail.com</a>><br>
Sent: Tuesday, June 28, 2016 8:43:51 AM<br>
To: <a href="mailto:aadil@tesora.com" target="_blank">aadil@tesora.com</a>; OpenStack Development Mailing List (not for usage questions)<br>
Subject: Re: [openstack-dev] Change in openstack/trove[master]: Ophaned Volume Not Removed on Instance Delete<br>
<br>
Hi all,<br>
<br>
I'd like to make sure should the volume, which is attached to an instance, be detached or be deleted after the instance is deleted? Thanks.<br>
<br>
<br>
On Tue, Jun 28, 2016 at 10:16 PM Ali Asgar Adil (Code Review) <<a href="mailto:review@openstack.org" target="_blank">review@openstack.org</a><mailto:<a href="mailto:review@openstack.org" target="_blank">review@openstack.org</a>>> wrote:<br>
Ali Asgar Adil has posted comments on this change.<br>
<br>
Change subject: Ophaned Volume Not Removed on Instance Delete<br>
......................................................................<br>
<br>
<br>
Patch Set 1:<br>
<br>
In what situation would a nova instance be in "available" state. Also, we are are deleting the instance so we would want the volume to be deleted as well not detached.<br>
<br>
--<br>
To view, visit <a href="https://review.openstack.org/334722" target="_blank">https://review.openstack.org/334722</a><br>
To unsubscribe, visit <a href="https://review.openstack.org/settings" target="_blank">
https://review.openstack.org/settings</a><br>
<br>
Gerrit-MessageType: comment<br>
Gerrit-Change-Id: Ie921a8ff2851e2d9d76a3c3836945c750f090c4e<br>
Gerrit-PatchSet: 1<br>
Gerrit-Project: openstack/trove<br>
Gerrit-Branch: master<br>
Gerrit-Owner: Ali Asgar Adil <<a href="mailto:aadil@tesora.com" target="_blank">aadil@tesora.com</a><mailto:<a href="mailto:aadil@tesora.com" target="_blank">aadil@tesora.com</a>>><br>
Gerrit-Reviewer: Ali Asgar Adil <<a href="mailto:aadil@tesora.com" target="_blank">aadil@tesora.com</a><mailto:<a href="mailto:aadil@tesora.com" target="_blank">aadil@tesora.com</a>>><br>
Gerrit-Reviewer: Jenkins<br>
Gerrit-Reviewer: zzxwill <<a href="mailto:zzxwill@gmail.com" target="_blank">zzxwill@gmail.com</a><mailto:<a href="mailto:zzxwill@gmail.com" target="_blank">zzxwill@gmail.com</a>>><br>
Gerrit-HasComments: No<br>
--<br>
<br>
---------------------------------------------<br>
?<br>
???<br>
Mobile: 13701280947<<a href="tel:13701280947" target="_blank">tel:13701280947</a>><br>
?WeChat: 472174291<br>
<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><o:p></o:p></span></p>
</blockquote>
</div>
<div>
<p class="MsoNormal"><span style="color:black">-- <o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial","sans-serif";color:#222222">---------------------------------------------</span><span style="color:black"><o:p></o:p></span></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#222222">​</span><span style="color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"MS Gothic";color:#222222">周正喜</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Comic Sans MS";color:#222222">Mobile: <a href="tel:13701280947" target="_blank"><span style="color:#1155CC">13701280947</span></a></span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#222222">​</span><span style="font-family:"Comic Sans MS";color:#222222">WeChat: 472174291</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>