When the image count is over 25, there might not get
manila-service-image, because current manila shares
creation is using novaclient to get image info, but
novaclient can only get 25 images due to pagination
of glance server, So this change is to switch to use
glanceclient instead of novaclient to get image info,
because glanceclient can iter all image info, while
novaclient is rarely maintained with stuff of image
API.
Reviewed: https:/ /review. openstack. org/531638 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=51dd510636c 817d2f7b5cb0b3c 967fb604de87bb
Committed: https:/
Submitter: Zuul
Branch: master
commit 51dd510636c817d 2f7b5cb0b3c967f b604de87bb
Author: junboli <email address hidden>
Date: Mon Jan 8 11:02:11 2018 +0800
Fix NFS/CIFS share creation failure issue
When the image count is over 25, there might not get service- image, because current manila shares
manila-
creation is using novaclient to get image info, but
novaclient can only get 25 images due to pagination
of glance server, So this change is to switch to use
glanceclient instead of novaclient to get image info,
because glanceclient can iter all image info, while
novaclient is rarely maintained with stuff of image
API.
Change-Id: Id905d47600bda9 923cebae617749c 8286552ec94
Closes-Bug: #1741425