manila/releasenotes/notes/bug_1844046-fix-image-not-found-629415d50cd6042a.yaml
ericxiett a7aa847097 Fix error that failed to get image for booting server
Glance image list API supports pagination, but `_get_service_image`
uses novaclient.glance.list() that only return images in one page.
When the image needed by share server is not returned in the first
page, the exception occurs. This patch uses `find_image` method
to get the image.
Since latest novaclient has no proxy to lookup image, so only
novaclient.glance.

Change-Id: I57b15b7ebb29c545c9780a90734988565fa1f6b7
Closes-Bug: #1844046
2019-12-13 01:31:22 +00:00

8 lines
278 B
YAML

---
fixes:
- |
The Generic driver has been fixed to invoke compute image
retrieval by ID rather than list all images and implement a filter.
This prevents failures in case there are a lot of images available
and the image service returns a paginated response.