98b4776747
Enables configuring a NetApp backend for the Manila service This was created based on the review at https://review.openstack.org/#/c/188138/ This makes the netapp and generic backends disabled by default in the services/manila-backend-*.yaml. A backend is then enabled via backend-specific environment files, which will set any config parameters and enable that backend. It is expected that multiple manila backend specific environment files might be specified simultaneously. Finally generic and manila config is split into separate service files rather than using manila-base for all the things. Co-Authored-By: Ryan Hefner <rhefner@redhat.com> Co-Authored-By: Ben Swartzlander <ben@swartzlander.org> Closes-Bug: 1618479 Depends-On: Ic6f8e8d27ca20b9badddea5d16550aa18bff8418 Change-Id: I35fce32d0f6a5cc1c3382c2d0e0d6028928fd943
26 lines
1.2 KiB
YAML
26 lines
1.2 KiB
YAML
# This environment file enables Manila with the Generic backend.
|
|
resource_registry:
|
|
OS::Tripleo::Services::ManilaApi: ../puppet/services/manila-api.yaml
|
|
OS::Tripleo::Services::ManilaScheduler: ../puppet/services/manila-scheduler.yaml
|
|
# Only manila-share is pacemaker managed:
|
|
OS::Tripleo::Services::ManilaShare: ../puppet/services/pacemaker/manila-share.yaml
|
|
OS::Tripleo::Services::ManilaBackendGeneric: ../puppet/services/manila-backend-generic.yaml
|
|
|
|
parameter_defaults:
|
|
ManilaServiceInstanceUser: ''
|
|
ManilaServiceInstancePassword: ''
|
|
ManilaServiceInstanceFlavorId: 2
|
|
ManilaServiceNetworkCidr: '172.16.0.0/16'
|
|
ManilaGenericEnableBackend: true
|
|
ManilaGenericBackendName: tripleo_generic
|
|
ManilaGenericDriverHandlesShareServers: true
|
|
ManilaGenericSmbTemplateConfigPath: '$state_path/smb.conf'
|
|
ManilaGenericVolumeNameTemplate: 'manila-share-%s'
|
|
ManilaGenericVolumeSnapshotNameTemplate: 'manila-snapshot-%s'
|
|
ManilaGenericShareMountPath: '/shares'
|
|
ManilaGenericMaxTimeToCreateVolume: '180'
|
|
ManilaGenericMaxTimeToAttach: '120'
|
|
ManilaGenericServiceInstanceSmbConfigPath: '$share_mount_path/smb.conf'
|
|
ManilaGenericShareVolumeFsType: 'ext4'
|
|
ManilaGenericCinderVolumeType: ''
|