[openstack-dev] [OpenStack][Ceilometer] http header with large token problem
Damon Wang
damon.devops at gmail.com
Sat Feb 22 11:09:44 UTC 2014
Hi ZhiQiang,
Does Ceilometer use eventlet.wsgi.server? As far as I know the 8k problem
is resulted from the default value of eventlet.wsgi.MAX_HEADER_LINE is 8192.
So if Ceilometer doesn't use eventlet.wsig.server, this problem will not
influence Ceilometer at all.
I'm not familiar to Ceilometer, hope it helps
Damon
2014-02-22 17:23 GMT+08:00 Lingxian Kong <anlin.kong at gmail.com>:
> Hi ZhiQiang:
>
> as far as I know, this bug(
> https://bugs.launchpad.net/keystone/+bug/1190149) in not related with
> Ceilometer.
>
> But I can't answer your questions for my poor knowledge about Ceilometer.
> Wish you can get your answer!
>
>
> 2014-02-22 10:40 GMT+08:00 ZhiQiang Fan <aji.zqfan at gmail.com>:
>
>> Hi, developers
>>
>> There is weired problem that when I try to verify the 8k http head
>> problem for ceilometer, I construct a very long (30k) token (use a real
>> valid PKI token as front part and copy several times), and use curl to
>> request to ceilometer api v2 statistic interface, but ** it returns 200 OK
>> with real data **, (I already set token_cache_time to -1 and restart the
>> ceilometer-api service)
>>
>> So, my questions are:
>> * it should failed with 401, why 200 instead ?
>> * why ceilometer (or pecan) can enable such large http head
>> * is there any up bound for http head in ceilometer?
>> * if there is a up bound, can we configure it? I cannot find any related
>> config option in /etc/ceilometer/ceilometer.conf
>>
>> Any help?
>>
>> Thanks
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> *---------------------------------------*
> *Lingxian Kong*
> Huawei Technologies Co.,LTD.
> IT Product Line CloudOS PDU
> China, Xi'an
> Mobile: +86-18602962792
> Email: konglingxian at huawei.com; anlin.kong at gmail.com
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> 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/20140222/0063c8fd/attachment.html>
More information about the OpenStack-dev
mailing list