Devstack plugin sets service instance parameters for all drivers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Low
|
Victoria Martinez de la Cruz |
Bug Description
Description
===========
Manila's devstack plugin allows configuring any shared file system backend with the help of Devstack's local.conf options..
For example, the options required for setting up the LVM backend and driver are as follows:
MANILA_
MANILA_
MANILA_
MANILA_
MANILA_
MANILA_
MANILA_
A more complete example is at [1]
After deployment, you can see that the manila.conf has some unnecessary config opts set for this driver:
<relevant sections snip>
[london]
lvm_share_
backend_
driver_
service_
service_image_name = manila-
path_to_
path_to_public_key = /opt/stack/
share_backend_name = LONDON
share_driver = manila.
[paris]
lvm_share_
backend_
driver_
service_
service_image_name = manila-
path_to_
path_to_public_key = /opt/stack/
share_backend_name = PARIS
share_driver = manila.
Steps to reproduce
==================
* Setup manila with devstack specifying a custom backend, not generic driver (e.g. [1])
* After devstack completes, check manila.conf
Expected result
===============
I expect only options relevant to my custom backend to be set
Actual result
=============
The devstack plugin seems to be forcing some options to be set: https:/
Environment
===========
1. Devstack with manila on master (Ussuri release)
2. Which storage backend did you use? LVM
3. Which networking type did you use? Neutron, devstack/defaults
Logs & Configs
==============
[1] https:/
Changed in manila: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Victoria Martinez de la Cruz (vkmc) |
Changed in manila: | |
milestone: | none → victoria-1 |
Changed in manila: | |
milestone: | victoria-1 → victoria-2 |
Changed in manila: | |
milestone: | victoria-2 → victoria-3 |
Changed in manila: | |
milestone: | victoria-3 → victoria-rc1 |
Changed in manila: | |
milestone: | victoria-rc1 → wallaby-1 |
Changed in manila: | |
milestone: | wallaby-1 → wallaby-2 |
Changed in manila: | |
milestone: | wallaby-2 → wallaby-3 |
Changed in manila: | |
status: | In Progress → Fix Released |
tags: | added: wallaby-rc-bugsquash |
Additional comments http:// eavesdrop. openstack. org/meetings/ manila/ 2020/manila. 2020-05- 14-15.00. log.html# l-90