Comment 4 for bug 1595771

Revision history for this message
Akihiro Motoki (amotoki) wrote :

The reason we need to check the length of uri is we fetch subnet information after retrieving the list of networks. If everyone agrees that subnet UUID is enough and CIDR information is unnecessary, we can skip retrieving subnet information.

The current value of MAX_URI_LEN (8192) comes from the default value of url_length_limit of eventlet.

For testing, I created 300 networks and neutron net-list works well. With 300 networks, URL length to retrieve subnet information will be over MAX_URI_LEN and the request will be split into two requests.

I wonder you hit some corner case. Could you provide more information?
Which version do you use? How many networks do you have? and so on.