Comment 1 for bug 1500890

Revision history for this message
Wenzhi Yu (yuywz) wrote :

Hi Julien,

Sorry I don't understand why resource_id contains '/' will lead to a 405 Error, I found the gnocchi dispatcher will normalize the resource_id in url using urlparse.quote method, see [1]. So the '/' in resource_id will be translated to '%2F'.

[1] https://github.com/openstack/ceilometer/blob/master/ceilometer/dispatcher/gnocchi_client.py#L234