On 3/5/2016 8:51 PM, Matt Riedemann wrote:
A GET request from the os-virtual-interfaces API returns a 500 today if
neutron is the networking backend.

It would be more accurate to return a 501, but do we need a microversion
for that?

I intend on implementing the method for the neutronv2 API in nova [1]
but it will require a microversion and until then, I was thinking it
should return a 501 rather than a 500 but don't want to go through the
paperwork if that requires a microversion.

[1] https://review.openstack.org/#/c/288965/


Furthermore, I'd hope that a microversion isn't needed to return a 501 rather than a 500. That's because then we could backport that change to the stable branches and change the skip on the tempest test [1] to expect a result or a 501. Then we can also test the microversion change that returns a result in the case of Neutron (and fail if a 501 is returned after the microversion).

[1] https://github.com/openstack/tempest/blob/db9672e3473cd6046f269d63435e102a477d8cdd/tempest/api/compute/servers/test_virtual_interfaces.py#L45

--

Thanks,

Matt Riedemann


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to