Set enabled_share_protocols based on enabled backends
authorGiulio Fidente <gfidente@redhat.com>
Wed, 5 Oct 2016 12:37:09 +0000 (14:37 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 7 Oct 2016 10:21:48 +0000 (12:21 +0200)
commit5ac7ec551b76bc8c2b6de2281f7d86591f192f23
tree4974e70bc487b11314bbab00fd12065a65246575
parent9df180aae231309ac8571a9048f1188b0c203dfb
Set enabled_share_protocols based on enabled backends

When deploying manila with cephfs, share creation fails because
'enabled_share_protocols' sticks to NFS,CIFS and does not get updated
with CEPHFS. This change aims at fixing it by building the list of
enabled protocols based on the list of enabled backends.

Co-Authored-By: Tom Barron <tbarron@redhat.com>
Closes-Bug: 1630564
Change-Id: I86ba8b9d5872c0f1a94e74215e97b796ad129bfb
manifests/profile/base/manila/api.pp