Cannot enable cinder without enabling back end using custom config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using Netapp NFS with my OpenStack cluster and I want to use kolla-ansible to build it.
Kolla-ansible does not appear to support netapp as a cinder back end. Yet OpenStack does have a driver for it. So I'm having to use a custom config file that I place into /etc/kolla/config the only problem is that I have to enable the NFS back end which causes it to create a second NFS back end enabled in the cinder.conf
If I enable cinder in globabls.yml but I don't enable NFS (or any other back-end) the pre-checks will fail because no back end is enabled (despite me using a custom config that enables netapp). If I edit the precheck to not check, it will install OK but the container for cinder_volume will just continually reboot.
So my question(s) are :
1) Will kolla-ansible please add support for a netapp back-end ? (Hitachi is there, why only Hitatchi??)
2) How to enable cinder without enabling a back end
or
3) How to enable cinder, and use Netapp NFS without creating two NFS back-ends
(Kolla-ansible creates an NFS-1 back-end that I don't want it to)
Hi,
Should be possible to use NetApp driver.
Tasks to be done are:
- Driver in cinder images installed.
- Configure enabled_backends in cinder.conf in one of this two methods:
* override enabled_backends: value with config overrides.
* Append your driver to the list of drivers:
```
cinder_backends:
- name: "rbd-1"
driver: "ceph"
enabled: "no"
- name: "lvm-1"
driver: "lvm"
enabled: "no"
- name: "nfs-1"
driver: "nfs"
enabled: "no"
- name: "hnas-iscsi"
driver: "hnas_iscsi"
enabled: "no"
- name: "hnas-nfs"
driver: "hnas_nfs"
enabled: "no"
- name: "your driver"
driver: "driver_name"
enabled: "yes"
```
- Use custom configs to get your driver working.
Answering the questions:
- 1): If some contributor wants to implement support will be, Hitachi support was done by Hitachi workers
- 2 and 3): Answered before
As this bug is not a but rather a technical doubt, i will close the issue.
Feel free to open one if a bug is found.
Regards