<div dir="ltr">Sorry, s/bit/big</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 10:46 AM, Zhenyu Zheng <span dir="ltr"><<a href="mailto:zhengzhenyulixi@gmail.com" target="_blank">zhengzhenyulixi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, I think for this kind of change you should register a Blueprint and submit a spec for discussion. Sounds like it will be a bit change.<div><br></div><div>BR</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 13, 2015 at 2:18 AM, Alexandre Levine <span dir="ltr"><<a href="mailto:alexandrelevine@gmail.com" target="_blank">alexandrelevine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a 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 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>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>