Re: [openstack-dev] [nova] API: Question on 'Retry-After': 0 in HTTPForbidden

2015-08-19 Thread Chen CH Ji
ok thanks for confirm, I will file a bug and fix it~,

Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC



From:   Alex Xu 
To: "OpenStack Development Mailing List (not for usage questions)"

Date:   08/19/2015 08:14 AM
Subject:    Re: [openstack-dev] [nova] API: Question on 'Retry-After': 0 in
    HTTPForbidden



+1 for Retry-After is wrong for quota case

  在 2015年8月19日,下午1:32,GHANSHYAM MANN 
  写道:

  Retry-After
__
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


Re: [openstack-dev] [nova] API: Question on 'Retry-After': 0 in HTTPForbidden

2015-08-18 Thread Alex Xu
+1 for Retry-After is wrong for quota case

> 在 2015年8月19日,下午1:32,GHANSHYAM MANN  写道:
> 
> Retry-After

__
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 on 'Retry-After': 0 in HTTPForbidden

2015-08-18 Thread GHANSHYAM MANN
That is nice point. IMO also Retry-After does not looks good for Quota
error (in all three mentioned case) and actually we are trying to tell
user in case of Quota error, retry this request after 0 sec.

Thanks
Ghanshyam

On Wed, Aug 19, 2015 at 12:34 AM, Chen CH Ji  wrote:
> When doing patch[1] Ken'ichi raise a good suggestion on not raise
> Retry-After according to [2]
>
> seems nova also when doing create[3] and resize[4] a server nova may raise
> those, too
> is this a bug or something made on purpose? Thanks
>
> [1]https://review.openstack.org/#/c/180469/5/nova/api/openstack/compute/tenant_networks.py
> [2]http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
> [3]https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L591
> [4]https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L846
>
> Best Regards!
>
> Kevin (Chen) Ji 纪 晨
>
> Engineer, zVM Development, CSTL
> Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
> Phone: +86-10-82454158
> Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
> Beijing 100193, PRC
>
>
> __
> 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
>



-- 
Thanks & Regards
Ghanshyam Mann

__
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 on 'Retry-After': 0 in HTTPForbidden

2015-08-18 Thread Chen CH Ji

When doing patch[1] Ken'ichi raise a good suggestion on not raise
Retry-After according to [2]

seems nova also when doing create[3] and resize[4] a server nova may raise
those, too
is this a bug or something made on purpose? Thanks

[1]
https://review.openstack.org/#/c/180469/5/nova/api/openstack/compute/tenant_networks.py
[2]http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
[3]
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L591
[4]
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L846

Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC__
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