junboli 1982b90c07 Fix NFS/CIFS share creation failure issue
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.

Change-Id: Id1715d0b9cb3a4aeedeb23d9b1d9924a78d18dc6
Closes-Bug: #1741425
2020-06-30 12:46:28 -04:00
..
2020-04-26 23:50:29 +00:00
2020-03-18 18:59:27 -07:00

Enabling in Devstack

We can enable the manila service in DevStack. For details, please refer to development-environment-devstack, the following steps can be used as a quickstart reference:

  1. Download DevStack

  2. Add this repo as an external repository:

    > cat local.conf
    [[local|localrc]]
    # Enable manila
    enable_plugin manila https://opendev.org/openstack/manila
    
    # Enable manila ui in the dashboard
    enable_plugin manila-ui https://opendev.org/openstack/manila-ui
  3. run stack.sh