<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Verdana}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-US" link="#0563C1" vlink="#954F72">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Facundo,<br>
<br>
Can you attend the Glance meeting this week at 20:00 UTC on Thursday in #openstack-meeting-alt ?<br>
<br>
I may be misunderstanding what's at stake, but it looks like:<br>
- Glance holds the image metadata (some user-modifiable, some not)<br>
- Cinder copies the image metadata to use as volume metadata (none is user-modifiable)<br>
- You want to implement user-modifiable metadata in Cinder, but you don't know which items should be mutable and which not.<br>
- You propose to add glance API calls to allow you to figure out property protections on a per-property basis.<br>
<br>
It looks like the only roles for Glance here are (1) as the original source of the image metadata, and then (2) as the source of truth for what image properties can be modified on the volume metadata.  For (1), you've already got an API call.  For (2), why
 not use the glance property protection configuration file directly?  It's going to be deployed somehow to your glance nodes, you can deploy it to your cinder nodes at the same time.  Or you can just use it as the basis of a Cinder property protection config
 file, because I wonder whether in the general case, you'll always want volume properties protected exactly the same as image properties.  If not, the new API call strategy will force you to deal with differences in the code, whereas the config file strategy
 would move dealing with differences to setting up the config file.  So I'm not convinced that a new API call is the way to go here.<br>
<br>
But there may be some nuances I'm missing, so it might be easier to discuss at the Glance meeting.  The agenda looks pretty light for Thursday if you want to add this topic:<br>
<a href="https://etherpad.openstack.org/p/glance-team-meeting-agenda">https://etherpad.openstack.org/p/glance-team-meeting-agenda</a><br>
<br>
cheers,<br>
brian<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF89816"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Maldonado, Facundo N [facundo.n.maldonado@intel.com]<br>
<b>Sent:</b> Tuesday, June 24, 2014 2:34 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] [cinder][glance] Update volume-image-metadata proposal<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi folks,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">                I started working on this blueprint [1] but the work to be done is not limited to cinder python client.
</p>
<p class="MsoNormal">                Volume-image-metadata is immutable in Cinder and Glance has RBAC image properties and it doesn’t provide any way to find out which are those protected properties in advance [2].</p>
<p class="MsoNormal">                </p>
<p class="MsoNormal">                I want to share this proposal and get feedback from you.</p>
<p class="MsoNormal">                <a href="https://docs.google.com/document/d/1XYEqGOa30viOyZf8AiwkrCiMWGTfBKjgmeYBptaCHlM/" target="_blank">
https://docs.google.com/document/d/1XYEqGOa30viOyZf8AiwkrCiMWGTfBKjgmeYBptaCHlM/</a></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Facundo</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Verdana","sans-serif"; color:black; background:white">[1]<span class="apple-converted-space"> </span></span><a href="https://blueprints.launchpad.net/python-cinderclient/+spec/support-volume-image-metadata" target="_blank"><span style="font-size:10.0pt; font-family:"Verdana","sans-serif"; color:#551A8B; background:white">https://blueprints.launchpad.net/python-cinderclient/+spec/support-volume-image-metadata</span></a><span style="font-size:10.0pt; font-family:"Verdana","sans-serif"; color:black; background:white"></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Verdana","sans-serif"; color:black; background:white">[2]
<a href="http://openstack.10931.n7.nabble.com/Cinder-Confusion-about-the-respective-use-cases-for-volume-s-admin-metadata-metadata-and-glance-imaga-td39849.html" target="_blank">
http://openstack.10931.n7.nabble.com/Cinder-Confusion-about-the-respective-use-cases-for-volume-s-admin-metadata-metadata-and-glance-imaga-td39849.html</a></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</body>
</html>