<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 6, 2016 at 7:18 PM, Ihar Hrachyshka <span dir="ltr"><<a href="mailto:ihrachys@redhat.com" target="_blank">ihrachys@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><br>
> On 06 Jun 2016, at 16:44, Sean M. Collins <<a href="mailto:sean@coreitpro.com">sean@coreitpro.com</a>> wrote:<br>
><br>
> I agree, it would be convenient to have something similar to what Nova<br>
> has:<br>
><br>
> <a href="https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/versions.py#L59-L60" rel="noreferrer" target="_blank">https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/versions.py#L59-L60</a><br>
><br>
> We should put some resources behind implementing micro versioning and we<br>
> could end up with something similar.<br>
><br>
> It would also be nice to have the agents report their version, so it<br>
> bubbles up into the agent-list REST API calls.<br>
<br>
</span>Agents already report a list of object versions known to them:<br>
<br>
<a href="https://github.com/openstack/neutron/blob/master/neutron/db/agents_db.py#L258" rel="noreferrer" target="_blank">https://github.com/openstack/neutron/blob/master/neutron/db/agents_db.py#L258</a><br>
<br>
In theory, we can deduce the version from there. The versions are reported through state reports. Not sure if it’s exposed in API.<br></blockquote><div><br></div><div>In my case I mostly need to know the version of neutron server, in particular if it's still Mitaka or Newton already. This is what Dan's concern is about in <a href="https://review.openstack.org/#/c/246910/">https://review.openstack.org/#/c/246910/</a>: if we're upgrading cluster from Mitaka to Newton and at some point have nova upgraded but neutron still of Mitaka version, than live migration will be broken (nova will wait for event which neutron does not send). But if we can know neutron version we can solve the issue.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
Ihar<br>
</font></span><div class=""><div class="h5">__________________________________________________________________________<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>
</div></div></blockquote></div><br></div></div>