[Bug 1726955] Re: openstack server list is very slow and makes too many HTTP connections

2021-12-10 Thread Ian Kumlien
Something like this actually makes it tolerable, the assumption is that the amount of images in the project is not that unique... And this is just a quick hack that I hope inspires a proper solution - it's most likely not in the proper location etc etc etc time openstack server list real

[Bug 1726955] Re: openstack server list is very slow and makes too many HTTP connections

2021-12-10 Thread Ian Kumlien
time openstack server list real0m20.751s user0m4.244s sys 0m0.248s --- time openstack server list --name-lookup-one-by-one real0m2.710s user0m1.648s sys 0m0.177s --- I'm also wondering why you don't get shared (according to project), public and owned (again project)

[Bug 1726955] Re: openstack server list is very slow and makes too many HTTP connections

2021-12-09 Thread Ian Kumlien
openstack --debug server list --long >server-log-debug 2>&1 grep curl server-log-debug |wc -l 45 grep curl server-log-debug |grep "images?marker=" |wc -l 40 So we actually have to list all images, in multiple requests for some reason? Isn't this highly inefficient? -- You received this bug