<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">That's fair enough. There might be a further use case where the user wants to understand how this flag will impact them on a resize? Not sure if we check it on resize, but it
might make sense to check it in future.
<div><br>
</div>
<div>Thinking about it a little more, I'm not sure how the general case would work. I'll definitely look into the protected properties, but it may be a little while before I can look at that myself.</div>
<div><br>
</div>
<div>One thing to note is that it looks like auto_disk_config is XenAPI specific, so we can add it to xenstore without much problem.</div>
<div><br>
</div>
<div>Bob</div>
<div><br>
</div>
<div>
<div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF668400" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Richard Goodwin [richard.goodwin@RACKSPACE.COM]<br>
<b>Sent:</b> 18 June 2013 18:42<br>
<b>To:</b> OpenStack Development Mailing List<br>
<b>Subject:</b> Re: [openstack-dev] Discussion around blueprint https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore<br>
</font><br>
</div>
<div></div>
<div>
<div>
<div>
<div>Bob,</div>
<div><br>
</div>
<div>If the user is cognizant of the extension, they may want to do post-build activities based on the value. I think that's the use for this particular case.</div>
<div><br>
</div>
<div>As for exposing them in a more general fashion, I agree with both of your points: there can be use to expose them, and also reasons to keep certain ones private. So, I think that whatever method we used would need to allow for that. Glance is solving for
exposing image metadata ("protected properties"), but I don't believe anything equivalent exists for this case. </div>
<div><br>
</div>
<div><br>
</div>
<div><span class="Apple-style-span" style="font-family:Calibri; font-size:12px"><b>Richard Goodwin <br>
</b></span><font class="Apple-style-span" color="#da0000"><font color="#000000"><span style="font-size:12px">Product Manager </span></font><span style="font-size:12px">–</span><font color="#000000"><span style="font-size:12px"> Cloud Servers & Cloud Images</span></font><br>
</font><span class="Apple-style-span" style="font-family:Calibri; font-size:12px"><font class="Apple-style-span" color="#808080">Ideation | Intellection | Activator | Relator | Responsibility<br>
</font></span><span class="Apple-style-span" style="font-family:Cambria; font-size:12px"><span style="font-family:Calibri; color:rgb(65,65,65)">Phone: (512) 788 5403 – Cell: (512) 736-7897 </span><span style="font-family:Calibri"><font class="Apple-style-span" color="#4c4b4d">(Austin)<br>
</font></span></span><span class="Apple-style-span" style="font-family:Cambria; font-size:12px"><font class="Apple-style-span" color="#414141" face="Calibri">Skype:</font><a href="file:///callto/::rtgoodwin" style="color:rgb(65,65,65); font-family:Calibri" target="_blank"><span style="color:blue; text-decoration:none"> rtgoodwin</span></a><font class="Apple-style-span" color="#414141" face="Calibri"> -
Yahoo: </font><span style="font-family:Calibri; color:blue"><a href="file:///ymsgr/sendim%3Frichardtgoodwin" style="color:rgb(65,65,65)" target="_blank">richardtgoodwin</a> <br>
</span><font class="Apple-style-span" color="#414141" face="Calibri">AIM: dellovision - IRC: goody / rgoodwin</font></span></div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Bob Ball <<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, June 18, 2013 10:25 AM<br>
<span style="font-weight:bold">To: </span>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] Discussion around blueprint
<a href="https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore" target="_blank">
https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore</a><br>
</div>
<div><br>
</div>
<div><style>
<!--
@font-face
{font-family:Cambria}
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
@font-face
{font-family:"Comic Sans MS"}
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
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif"}
span.EmailStyle18
{font-family:"Calibri","sans-serif";
color:#1F497D}
span.EmailStyle19
{font-family:"Calibri","sans-serif";
color:#1F497D}
span.BalloonTextChar
{font-family:"Tahoma","sans-serif"}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
-->
</style>
<div lang="EN-GB">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">I don’t have any objections to this being exposed – but the question was should we expose it, and I don’t see any benefit to the user for this particular
key. Of course, as you say, a provider may want to expose many specific metadata keys. Perhaps we should look at how to do this generically rather than special-casing the disk-config key?</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">I suspect it would not be desirable to expose _<i>all</i>_ metadata keys to the guest? I’m not sure what metadata we have at the moment, but I can certainly
imagine adding some metadata that would be best to stay private in the future.</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Bob</span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></a></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:10pt; font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt; font-family:Tahoma,sans-serif"> Richard Goodwin [<a href="mailto:richard.goodwin@RACKSPACE.COM" target="_blank">mailto:richard.goodwin@RACKSPACE.COM</a>]
<br>
<b>Sent:</b> 18 June 2013 15:25<br>
<b>To:</b> OpenStack Development Mailing List<br>
<b>Subject:</b> Re: [openstack-dev] Discussion around blueprint <a href="https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore" target="_blank">
https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore</a></span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black">Bob,</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black">They could do extra deduction/guessing work to infer that, but it's a valid piece of metadata from the base image, so I'm concerned why there's so much discussion
about exposing it? Seems like a provider could have a reason for exposing any number of metadata bits in the Store for their implementation needs. In addition, it assumes that any scenario where there is some unpartitioned space, the intent is to partition
it; but the real desire is to determine that based on the image metadata (or API parameter).</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black">Pardon me not having a lot of history on this process in the past.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-style-span"><b><span style="font-size:9pt; font-family:Calibri,sans-serif; color:black">Richard Goodwin </span></b></span><b><span style="font-size:9pt; font-family:Calibri,sans-serif; color:black"><br>
</span></b><span style="font-size:9pt; font-family:Calibri,sans-serif; color:black">Product Manager </span><span style="font-size:9pt; font-family:Calibri,sans-serif; color:rgb(218,0,0)">–</span><span style="font-size:9pt; font-family:Calibri,sans-serif; color:black"> Cloud
Servers & Cloud Images</span><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:rgb(218,0,0)"><br>
</span><span class="apple-style-span"><span style="font-size:9pt; font-family:Calibri,sans-serif; color:gray">Ideation | Intellection | Activator | Relator | Responsibility</span></span><span style="font-size:9pt; font-family:Calibri,sans-serif; color:gray"><br>
</span><span class="apple-style-span"><span style="font-size:9pt; font-family:Calibri,sans-serif; color:rgb(65,65,65)">Phone: (512) 788 5403 – Cell: (512) 736-7897 </span></span><span class="apple-style-span"><span style="font-size:9pt; font-family:Calibri,sans-serif; color:rgb(76,75,77)">(Austin)</span></span><span style="font-size:9pt; font-family:Calibri,sans-serif; color:rgb(76,75,77)"><br>
</span><span class="apple-style-span"><span style="font-size:9pt; font-family:Calibri,sans-serif; color:rgb(65,65,65)">Skype:</span></span><span class="apple-style-span"><span style="font-size:9.0pt; font-family:"Cambria","serif"; color:black"><a href="file:///\\callto\::rtgoodwin" target="_blank"><span style="font-family:Calibri,sans-serif; text-decoration:none"> rtgoodwin</span></a></span></span><span class="apple-style-span"><span style="font-size:9pt; font-family:Calibri,sans-serif; color:rgb(65,65,65)"> -
Yahoo: </span></span><span class="apple-style-span"><span style="font-size:9pt; font-family:Calibri,sans-serif; color:blue"><a href="file:///\\ymsgr\sendim%3Frichardtgoodwin" target="_blank"><span style="color:#414141">richardtgoodwin</span></a> </span></span><span style="font-size:9pt; font-family:Calibri,sans-serif; color:blue"><br>
</span><span class="apple-style-span"><span style="font-size:9pt; font-family:Calibri,sans-serif; color:rgb(65,65,65)">AIM: dellovision - IRC: goody / rgoodwin</span></span><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black"></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black"> </span></p>
</div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11pt; font-family:Calibri,sans-serif; color:black">From:
</span></b><span style="font-size:11pt; font-family:Calibri,sans-serif; color:black">Bob Ball <<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>><br>
<b>Reply-To: </b>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<b>Date: </b>Tuesday, June 18, 2013 4:31 AM<br>
<b>To: </b>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<b>Subject: </b>Re: [openstack-dev] Discussion around blueprint <a href="https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore" target="_blank">
https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore</a></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt; font-family:Calibri,sans-serif; color:black"> </span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">I’m not sure I understand why the user might want to access the disk_config value from within the guest?</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">This seems to be something they could infer from the partition structure – i.e. if the whole drive is partitioned then disk_config was AUTO when the instance
was created.</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Bob</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10pt; font-family:Tahoma,sans-serif; color:black">From:</span></b><span lang="EN-US" style="font-size:10pt; font-family:Tahoma,sans-serif; color:black"> Navneet Kumar [<a href="mailto:navneetk@thoughtworks.com" target="_blank">mailto:navneetk@thoughtworks.com</a>]
<br>
<b>Sent:</b> 18 June 2013 04:52<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> [openstack-dev] Discussion around blueprint <a href="https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore" target="_blank">
https://blueprints.launchpad.net/nova/+spec/add-disk-config-to-xenstore</a></span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt; font-family:Arial,sans-serif; color:black">Hi,</span><span style="color:black"></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9pt; font-family:Arial,sans-serif; color:rgb(51,51,51)">disk_config has been introduced by the extension 'DiskConfig'( [[</span><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:black"><a href="http://docs.rackspace.com/openstack-extensions/compute/rax-dcf/content/rax-dcf.pdf" target="_blank"><span style="font-size:9.0pt; color:#0033AA; text-decoration:none">http://docs.rackspace.com/openstack-extensions/compute/rax-dcf/content/rax-dcf.pdf</span></a></span><span style="font-size:9pt; font-family:Arial,sans-serif; color:rgb(51,51,51)">]]
) .This extension exposes api to set and retrieve the disk_config values ( either 'MANUAL" or "AUTO' ) .As a user one wants to access the value of disk_config from inside of instance but currently there is no way to get the value of disk_config from inside
of instance.<br>
To get any metadata/userdata of the instance a config drive ( [[</span><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:black"><a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/config-drive.html" target="_blank"><span style="font-size:9.0pt; color:#0033AA; text-decoration:none">http://docs.openstack.org/trunk/openstack-compute/admin/content/config-drive.html</span></a></span><span style="font-size:9pt; font-family:Arial,sans-serif; color:rgb(51,51,51)">]]
) can be attached to the instance during boot-up.So disk_drive information can also be included in the config drive.</span><span style="color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt; font-family:Arial,sans-serif; color:black"> </span><span style="color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt; font-family:Arial,sans-serif; color:rgb(51,51,51)">Should we include this value in the config drive and xen store as well ?</span><span style="color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> </span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:black">-- <br>
-----------------------------<br>
</span><b><i><span style="font-family:'Comic Sans MS'; color:rgb(102,102,102)">Navneet Kumar</span></i></b><span style="color:black"><br>
</span><span style="font-size:7.5pt; font-family:Arial,sans-serif; color:silver">Application Developer<br>
Thoughtworks India<br>
Mob: +91 9686577076</span><span style="font-family:Arial,sans-serif; color:rgb(102,102,102)"><br>
<br>
<br>
</span><span style="color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>