[openstack-dev] [nova] Why is osapi_v3.enabled = False by default?

Alex Xu soulxu at gmail.com
Thu Jul 16 08:27:04 UTC 2015


2015-07-16 7:54 GMT+08:00 Ken'ichi Ohmichi <ken1ohmichi at gmail.com>:

> 2015-07-16 3:03 GMT+09:00 Sean Dague <sean at dague.net>:
> > On 07/15/2015 01:44 PM, Matt Riedemann wrote:
> >> The osapi_v3.enabled option is False by default [1] even though it's
> >> marked as the CURRENT API and the v2 API is marked as SUPPORTED (and
> >> we've frozen it for new feature development).
> >>
> >> I got looking at this because osapi_v3.enabled is True in nova.conf in
> >> both the check-tempest-dsvm-nova-v21-full job and non-v21
> >> check-tempest-dsvm-full job, but only in the v21 job is
> >> "x-openstack-nova-api-version: '2.1'" used.
> >>
> >> Shouldn't the v2.1 API be enabled by default now?
> >>
> >> [1]
> >>
> http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/__init__.py#n44
>
> Oops, nice catch.
> Yeah, we need to make the default enabled.
>
> > Honestly, we should probably deprecate out osapi_v3.enabled make it
> > osapi_v21 (or osapi_v2_microversions) so as to not confuse people
> further.
>
> +1 for renaming it to osapi_v21 (or osapi_v2_microversions).
>

Why we still need this option?


>
> Thanks
> Ken Ohmichi
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150716/e8499232/attachment.html>


More information about the OpenStack-dev mailing list