Commit Graph

18 Commits

Author SHA1 Message Date
Takashi Kajinami 59c444d7a4 Fix wrong parameter used to configure reserved_share_extend_percentage
We should use the reserved_share_extend_percentage parameter, instead
of the reserved_share_percentage parameter, to configure the option.

Closes-Bug: #2058111
Change-Id: Ib224d0af5c9794c9c27573981f498cdd28dacc4a
2024-03-17 01:05:28 +09:00
Takashi Kajinami 063b4b5a8c Add support for reserved percentage options
Each backend support a few options to determine the capacity percentage
which should be reserved for certain operations. This adds support
for these options.

Change-Id: Ia259871cb6759eb2f8768cb5989846dd121d0d70
2023-10-19 04:11:56 +00:00
Takashi Kajinami c6e82df318 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I7de4bd06c59b921c8774accf462db1cf434d5cf6
2023-03-02 11:45:41 +09:00
Rajesh Tailor e6a1626391 Fix typos in parameter descriptions and tests
Change-Id: Id982f02df3e890f765987b0416e8077f8dd2165e
2022-06-21 13:18:42 +05:30
Takashi Kajinami 17b1d13227 cephfs: Accept array for cephfs_ganesha_export_ips
... because the parameter is ListOpt which accepts a commma-separated
string which represents a list value.

Change-Id: I6f5c72783c4ccd43843613a3b0d8ab34a64678c5
2022-04-11 02:20:57 +00:00
Takashi Kajinami 80bfd32b5a cephfs: Use $::os_service_default instead of undef
Setting value => undef leaves the parameters unmanaged. This change
replaces undef by $::os_service_default so that the parameters are
removed from manila.conf when not set. This ensures the old value are
cleared when the parameter definition is removed from manifests.

Change-Id: Ib2a843aa05648775118e1293e206b3daa3de31e8
2022-04-11 10:23:40 +09:00
Takashi Kajinami 6f8076415f cephfs: Add support for the cephfs_filesystem_name parameter
Depends-on: https://review.opendev.org/779619
Change-Id: Iea456f22e7832a3c468168c153c79705b93572cb
2021-11-15 16:02:29 +09:00
Zuul e8a57ea0c3 Merge "Add ability to configure backend availability zones" 2021-09-27 17:02:48 +00:00
silvacarloss a0610b687e Add ability to configure backend availability zones
Add new "backend_availability_zone" parameter to every share
backend. The parameters are optional, and when set they override the
DEFAULT/storage_availability_zone for the corresponding backend.

Change-Id: Ie7af8408fe8cec9349593fd9b4cb5bc7deb565cd
2021-09-24 22:37:25 +09:00
Takashi Kajinami 3392829c7d cephfs_ganesha_server_password should be secret
Change-Id: I5e73e812cff463889e31c2370a1af26c17b50bf3
2021-09-23 15:27:39 +00:00
Takashi Kajinami 618cd3d4de Remove deprecated support for cephfs_enable_snapshots
... because the parameter was removed from Manila during Wallaby cycle
and has no effect now.

Change-Id: I83c24b1683c4d13ebdb079d29d8a2164e8c1a154
2021-07-19 20:07:52 +09:00
Goutham Pacha Ravi 2388d7510d Deprecate cephfs_enable_snapshots parameter
Manila has deprecated this parameter and
will remove it in a future release.

[1] https://review.opendev.org/736827/
Partially-Implements: bp update-cephfs-drivers
Change-Id: Ie205685105d1190bdcf9ced9c69c9a67a5146b06
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-08-12 10:31:44 -07:00
Tobias Urdin 38c4e3104a Convert all class usage to relative names
Change-Id: Ia6a3c71dbca4659ff9375ae813f990b162e57c02
2019-12-08 23:10:29 +01:00
Tom Barron 97e1dab0dd Support cephfs_ganesha_export_ips parameter
Manila now [1] supports configuring a list of IP addresses
or hostnames on which NFS-ganesha will listen for mounts and
provide NFS service.

Expose this parameter in the backend manifests for manila with
CephFS.

[1] https://review.opendev.org/#/c/670510
Change-Id: I99fe50cb5e112bcad85494dc755725d3444f717b
2019-07-23 10:14:29 -04:00
Giulio Fidente 80a8df6593 Add parameters necessary to use a remote Ganesha service
The CephFS backend can use SSH to configure Ganesha even when this
is deployed on remote servers. This change adds the parameters
necessary to configure Manila with the appropriate credentials to
connect via SSH to the remote server.

Change-Id: I31fff6a1b6fede860b8aaee0079183924e8b31d6
2019-06-03 17:09:45 +02:00
Tom Barron 43df3f7594 Support cephfs_volume_mode parameter
manila now [1] supports configuring an octal value for the
rwx permissions mode of the cephfs volumes and snapshots
and groups of these that back manila shares, snapshots,
and groups.

Expose this parameter in the backend manifests for manila
with cephfs.

[1] https://review.openstack.org/#/c/614332
Change-Id: I28410e8c5e452ada87c7e64da637c699fcb1faba
2019-02-25 13:52:00 -05:00
Arne Wiebalck 1b25889f3d Fix typos: Remove "native" from cephfs backend driver
TrivialFix

Change-Id: I45fab14ffeb6e1a8516fc65215258f3356e900e8
2017-11-16 08:24:37 +01:00
Jan Provaznik 97e89fc147 Add cephfs class and deprecate cephfsnative class
Manila cephfsnative driver was renamed to cephfs driver and
supports both direct cephfs access or through ganesha-nfs server.
This patch deprecates the older cephfsnative class and adds
cephfs class which is compatible with current manila cephfs driver.

Change-Id: I1bf6ead3b6290ebf927bacb21e57f2897ce34605
Related-To: bp cephfs-nfs-support
2017-06-16 09:42:21 +02:00