Filter instances by IP when listing is not efficient enough
Bug #1711303 reported by
Zhenyu Zheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Zhenyu Zheng |
Bug Description
Filtering instance by IP when listing is done by:
http://
this is due to that IP address is one part of the instance.
we have to iterate one by one to find the instance that matches the request.
This is actually not efficient enough, on our public cloud deployment, one
Enterprise user could own over 1000 instances and when they filter by
IP, HTTP 500 timeout raised.
We might consider improve the implementation.
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
To post a comment you must log in.
Actually, our test is done using Horizon, and it has a limit added automatically
when listing instances. But for IP filters, the limit is removed first to get a
full instance list, then match the IP and then apply limit again.