summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2022-04-12 20:16:59 +0100
committerStephen Finucane <sfinucan@redhat.com>2022-04-12 20:41:29 +0100
commit725b7de13cf00da386132a42b2738f4c57026184 (patch)
treef857874024c9a02194ce89895bce03f818133d58 /releasenotes
parentdabaec5a7b1b9786a8f91eebef738bf755faf059 (diff)
downloadpython-openstackclient-725b7de13cf00da386132a42b2738f4c57026184.tar.gz
compute: Only retrieve necessary images
The Glance API allows us to filter by multiple IDs using the 'in:' operator. Take advantage of this to speed up listing of server in larger deployments where image counts in the hundreds (or even thousands) are not uncommon. Unfortunately the Nova API does not support something similar for listing flavors. Boo. Change-Id: I7d3222d0b0b8bf72b4ff3e429bc49e621b569979 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/837613
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/server-list-restrict-images-c0b2c4de6f93df33.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/server-list-restrict-images-c0b2c4de6f93df33.yaml b/releasenotes/notes/server-list-restrict-images-c0b2c4de6f93df33.yaml
new file mode 100644
index 00000000..2ee2e4d8
--- /dev/null
+++ b/releasenotes/notes/server-list-restrict-images-c0b2c4de6f93df33.yaml
@@ -0,0 +1,8 @@
+---
+features:
+ - |
+ The ``server list`` needs to query the image service API to retrieve
+ image names as part of the response. This command will now retrieve only
+ the images that are relevant, i.e. those used by the server included in
+ the output. This should result in signficantly faster responses when
+ using a deployment with a large number of public images.