Re: [openstack-dev] [nova][API] Question about HTTPNotImplementError

2016-02-01 Thread Sean Dague
On 01/31/2016 09:45 PM, Ken'ichi Ohmichi wrote:
> Hi Chen,
> 
> The API guideline came from this Nova's implementation.
> 501 case is not exception of microversion bumping[1] on Nova's rule
> now, so I feeling we need a new microversion if changing the 501
> response to the other on *current rule*.
> However, such microversion seems a little overkill for me.
> So I'm not sure when we can change these 501 code.

My assumption is we'd change them in the same version when we cut over
to structured JSON error responses. That would be next cycle some time.

-Sean

-- 
Sean Dague
http://dague.net



signature.asc
Description: OpenPGP digital signature
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova][API] Question about HTTPNotImplementError

2016-01-31 Thread Ken'ichi Ohmichi
Hi Chen,

The API guideline came from this Nova's implementation.
501 case is not exception of microversion bumping[1] on Nova's rule
now, so I feeling we need a new microversion if changing the 501
response to the other on *current rule*.
However, such microversion seems a little overkill for me.
So I'm not sure when we can change these 501 code.

Thanks
Ken Ohmichi

---
[1]: 
http://docs.openstack.org/developer/nova/api_microversion_dev.html#when-do-i-need-a-new-microversion

2016-01-30 4:20 GMT+09:00 Chen CH Ji :
> In reading some API guide line doc [1] seems we should not return 501 to
> client
> but nova still doing so at API layer [2], any discussion before about this
> can be referred ?
>
> [1]https://github.com/openstack/api-wg/blob/master/guidelines/http.rst#use-of-501---not-implemented
> [2]https://github.com/openstack/nova/blob/master/nova/api/openstack/common.py#L536
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova][API] Question about HTTPNotImplementError

2016-01-29 Thread Chen CH Ji
In reading some API guide line doc [1] seems we should not return 501 to clientbut nova still doing so at API layer [2], any discussion before about this can be referred ? [1]https://github.com/openstack/api-wg/blob/master/guidelines/http.rst#use-of-501---not-implemented[2]https://github.com/openstack/nova/blob/master/nova/api/openstack/common.py#L536


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev