<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
h1
{mso-style-priority:9;
mso-style-link:"Heading 1 Char";
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:24.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
{mso-style-priority:1;
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.Heading1Char
{mso-style-name:"Heading 1 Char";
mso-style-priority:9;
mso-style-link:"Heading 1";
font-family:"Times New Roman",serif;
font-weight:bold;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.yui3-editabletext-text
{mso-style-name:yui3-editable_text-text;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNoSpacing">Hi all.<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">I am working on bug 1503390. (status=None while delete is in progress<o:p></o:p></p>
<p class="MsoNoSpacing">) <o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">I was doing analysis of problem and found that yes its there.<o:p></o:p></p>
<p class="MsoNoSpacing">I reproduced it.<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">Now the two solutions proposed..<o:p></o:p></p>
<p class="MsoNoSpacing">1)Either say the status as deleting for such snapshots ?<o:p></o:p></p>
<p class="MsoNoSpacing">2)lets not list such snapshots in list ..<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">I see that <o:p></o:p></p>
<p class="MsoNoSpacing">If we implement solution1 .. then it doesn’t work as …..<o:p></o:p></p>
<p class="MsoNoSpacing">we reach the same Situation of (snapshot present but snapshot_instance absent)
<o:p></o:p></p>
<p class="MsoNoSpacing">in two cases<o:p></o:p></p>
<p class="MsoNoSpacing">When snapshot is deleted and when snapshot is created …<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">Now if I set status as deleting(to be shown in list for snapshots with no snapshot_instances)
<o:p></o:p></p>
<p class="MsoNoSpacing">it will be a wrong information when we are creating the snapshot.<o:p></o:p></p>
<p class="MsoNoSpacing">And list function – can not differentiate state (snapshot present but snapshot_instance absent)
<o:p></o:p></p>
<p class="MsoNoSpacing">whether its due to creation or deletion. PCIIMW…<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">Another way to do this is .. let create delete path set the status to a special state .
<o:p></o:p></p>
<p class="MsoNoSpacing">which if list operation obtains .. can understand how to interpret it …<o:p></o:p></p>
<p class="MsoNoSpacing">But setting status also is not possible as status resides in snapshot_instances table ..<o:p></o:p></p>
<p class="MsoNoSpacing">row for which is not created yet in create path .. we can not set staus …!!!<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Do you think that <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_NEW = 'new'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_CREATING = 'creating'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_DELETING = 'deleting'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_DELETED = 'deleted'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_ERROR = 'error'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_ERROR_DELETING = 'error_deleting'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_AVAILABLE = 'available'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_ACTIVE = 'active'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;background:yellow;mso-highlight:yellow">STATUS_INACTIVE = 'inactive'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>></span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_MANAGING = 'manage_starting'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_MANAGE_ERROR = 'manage_error'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_UNMANAGING = 'unmanage_starting'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_UNMANAGE_ERROR = 'unmanage_error'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_UNMANAGED = 'unmanaged'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">STATUS_EXTENDING = 'extending'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Do you think that setting state as
<b><u>some neutral state like state_inactive ..<o:p></o:p></u></b></span></p>
<p class="MsoNormal"><span style="color:#1F497D">will help? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">it will be same in both creation and deletion path ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">so should we go with 2<sup>nd</sup> solution ? lets not show such shares in list ?<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNoSpacing">Thanks<o:p></o:p></p>
<p class="MsoNoSpacing">Nidhi<o:p></o:p></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
</div>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
</body>
</html>