<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)">
<!--[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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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";}
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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@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="MsoPlainText">Hello Xing,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I tried this approach, however I ended in same problem,  scheduler was still picking over provisioned thin pool for thick volumes.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">But I noticed extra specs with thin_provision_support capabilities, I tried this option but unable to understand what is the use of it?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Is it like when we have add this extra specs capabilities does it have any relation with the get_volume_stats method which update the pool stats?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks<o:p></o:p></p>
<p class="MsoPlainText">Dilip<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I added some logs in filters and printed for reference<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><img width="1900" height="876" id="Picture_x0020_1" src="cid:image001.png@01D17080.D8B28D00"><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: yang, xing [mailto:xing.yang@emc.com] <br>
Sent: Wednesday, February 17, 2016 12:18 AM<br>
To: Dilip Sunkum Manjunath<br>
Cc: openstack@lists.openstack.org; itzdilip@gmail.com<br>
Subject: Re: [OpenStack] [CINDER] how to get updated pool info when multi users create volumes on pool configured?</p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Sounds good.  Let me know how it goes.  <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks Dilip,<o:p></o:p></p>
<p class="MsoPlainText">Xing<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> On Feb 16, 2016, at 1:21 AM, Dilip Sunkum Manjunath <<a href="mailto:Dilip.SunkumManjunath@toshiba-tsip.com"><span style="color:windowtext;text-decoration:none">Dilip.SunkumManjunath@toshiba-tsip.com</span></a>> wrote:<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Hi Xing,<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Thanks for replay,<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> I tried because the use case was to support both in single pool.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> I was thinking in same as to read the volume type in scheduler,  however since it is a new requirement that affects everyone it might not be good to change now.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> I shall try with the other approach pools for thin /thick and update you.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Thanks<o:p></o:p></p>
<p class="MsoPlainText">> Dilip<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> -----Original Message-----<o:p></o:p></p>
<p class="MsoPlainText">> From: yang, xing [<a href="mailto:xing.yang@emc.com"><span style="color:windowtext;text-decoration:none">mailto:xing.yang@emc.com</span></a>]<o:p></o:p></p>
<p class="MsoPlainText">> Sent: Friday, February 12, 2016 12:42 PM<o:p></o:p></p>
<p class="MsoPlainText">> To: Dilip Sunkum Manjunath<o:p></o:p></p>
<p class="MsoPlainText">> Cc: <a href="mailto:openstack@lists.openstack.org"><span style="color:windowtext;text-decoration:none">openstack@lists.openstack.org</span></a>;
<a href="mailto:itzdilip@gmail.com"><span style="color:windowtext;text-decoration:none">itzdilip@gmail.com</span></a><o:p></o:p></p>
<p class="MsoPlainText">> Subject: Re: [OpenStack] [CINDER] how to get updated pool info when multi users create volumes on pool configured?<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Hi Dilip,<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> I see.  If thin_provisioning is true and max_over_subscription_ratio is valid, the scheduler will treat it as thin provisioning.  We do not prevent driver from reporting both thin and thick support to be true.  However, I think we
 need to make a change.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> I suggest that you have one pool for thin and the other one for thick but don't report both thin and thick support from the same pool.  That will avoid this problem.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Another possible alternative is to require thin/thick provisioning to be in extra specs and use that info in the scheduler, however that will be a new requirement that affects everyone.  So I am not in favor of that approach.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Can you use one pool for thin and another for thick in your testing?<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Thanks,<o:p></o:p></p>
<p class="MsoPlainText">> Xing<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">>> On Feb 12, 2016, at 12:05 AM, Dilip Sunkum Manjunath <<a href="mailto:Dilip.SunkumManjunath@toshiba-tsip.com"><span style="color:windowtext;text-decoration:none">Dilip.SunkumManjunath@toshiba-tsip.com</span></a>> wrote:<o:p></o:p></p>
<p class="MsoPlainText">>> <o:p></o:p></p>
<p class="MsoPlainText">>> max_over_subscription_ratio<o:p></o:p></p>
<p class="MsoPlainText">> The information contained in this e-mail message and in any
<o:p></o:p></p>
<p class="MsoPlainText">> attachments/annexure/appendices is confidential to the recipient and
<o:p></o:p></p>
<p class="MsoPlainText">> may contain privileged information.<o:p></o:p></p>
<p class="MsoPlainText">> If you are not the intended recipient, please notify the sender and
<o:p></o:p></p>
<p class="MsoPlainText">> delete the message along with any attachments/annexure/appendices. You
<o:p></o:p></p>
<p class="MsoPlainText">> should not disclose, copy or otherwise use the information contained
<o:p></o:p></p>
<p class="MsoPlainText">> in the message or any annexure. Any views expressed in this e-mail are
<o:p></o:p></p>
<p class="MsoPlainText">> those of the individual sender except where the sender specifically
<o:p></o:p></p>
<p class="MsoPlainText">> states them to be the views of Toshiba Software India Pvt. Ltd.
<o:p></o:p></p>
<p class="MsoPlainText">> (TSIP),Bangalore.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Although this transmission and any attachments are believed to be free
<o:p></o:p></p>
<p class="MsoPlainText">> of any virus or other defect that might affect any computer system
<o:p></o:p></p>
<p class="MsoPlainText">> into which it is received and opened, it is the responsibility of the
<o:p></o:p></p>
<p class="MsoPlainText">> recipient to ensure that it is virus free and no responsibility is
<o:p></o:p></p>
<p class="MsoPlainText">> accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or
<o:p></o:p></p>
<p class="MsoPlainText">> damage arising in any way from its use.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
</div>
<P><font style="FONT-FAMILY: ; FONT-SIZE: 11px"><font style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9px">The information contained in this e-mail message and in any attachments/annexure/appendices is confidential to the <br>recipient and may contain privileged information. If you are not the intended recipient, please notify the<br>sender and delete the message along with any attachments/annexure/appendices. You should not disclose,<br>copy or otherwise use the information contained in the message or any annexure. Any views expressed in this e-mail <br>are those of the individual sender except where the sender specifically states them to be the views of  <br>Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.<br></font></font><font style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9px">Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by Toshiba Software India Pvt. Ltd, for any loss or damage arising in any way from its use.</font></P>
<P><font style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9px"></font></P></body>
</html>