<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Perfect, thank you Alex.<br>
<br>
I'll depend the update review on it.<br>
<br>
Best regards,<br>
Alex Levine<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/15/15 4:03 PM, Alex Xu wrote:<br>
</div>
<blockquote
cite="mid:CAH7mGavd6ZSCFC4qmTjsRBANVB99aYKeQJTP8f792BsqcpZ4yA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi, Alexandre,
<div><br>
</div>
<div>we discussed this on api meeting <a moz-do-not-send="true"
href="http://eavesdrop.openstack.org/meetings/nova_api/2015/nova_api.2015-12-15-12.00.log.html">http://eavesdrop.openstack.org/meetings/nova_api/2015/nova_api.2015-12-15-12.00.log.html</a></div>
<div><br>
</div>
<div>Finally people agreement on merge os-user-data into
servers. I will submit a patch up for this merge.</div>
<div><br>
</div>
<div>Thanks</div>
<div>Alex</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-12-14 21:24 GMT+08:00 Alex Xu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:soulxu@gmail.com" target="_blank">soulxu@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, Alexandre,
<div><br>
</div>
<div>Yes, I think we need pass the version into
`server_update` extension point. My irc nick is alex_xu,
let me know if you have any trouble with this.</div>
<div><br>
</div>
<div>Thanks</div>
<span class="HOEnZb"><font color="#888888">
<div>Alex</div>
</font></span>
<div>
<div class="h5">
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-12-13 2:34 GMT+08:00
Alexandre Levine <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:alexandrelevine@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:alexandrelevine@gmail.com">alexandrelevine@gmail.com</a></a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex"><span>Hi all,<br>
<br>
os-user-data extension implements
server_create method to add user_data for
server creation. No Controller is used for
this, only "class
UserData(extensions.V21APIExtensionBase)".<br>
<br>
I want to add server_update method allowing
to update the user_data. Obviously I have to
add it as a microversioned functionality.<br>
<br>
And here is the problem: there is no
information about the incoming request
version in this code. It is available for
Controllers only. But checking the version
in controller would be too late, because the
instance is already updated (non-generator
extensions are post-processed).<br>
<br>
Can anybody guide me how to resolve this
collision?<br>
<br>
Would it be possible to just retroactively
add the user_data modification for the whole
2.1 version skipping the microversioning? Or
we need to change nova so that request
version is passed through to extension?<br>
<br>
Best regards,<br>
Alex Levine<br>
<br>
</span>
P.S. Sorry for the second attempt - previous
letter went with [openstack] instead of
[openstack-dev] in the Subject.
<div>
<div><br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not
for usage questions)<br>
Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>