3699a56891
This change removes all the deprecated templates and parameters for storage services like Cinder, Manila and Swift. Deprecated templates removed : Cinder: cinder-backend-dellsc-puppet.yaml Deprecated parameters removed : Cinder: CinderNetappStoragePools CinderNetappVolumeList Manila: ManilaCephFSCephFSEnableSnapshots ManilaIsilonDriverHandlesShareServers ManilaVMAXDriverHandlesShareServers ManilaVNXDriverHandlesShareServers Swift: ControllerEnableSwiftStorage Change-Id: If04f7c9f25928eb17d42cd73e310069814ea45a3
103 lines
3.6 KiB
YAML
103 lines
3.6 KiB
YAML
heat_template_version: wallaby
|
|
|
|
description: >
|
|
Openstack Manila Cephfs backend
|
|
|
|
parameters:
|
|
ServiceData:
|
|
default: {}
|
|
description: Dictionary packing service data
|
|
type: json
|
|
ServiceNetMap:
|
|
default: {}
|
|
description: Mapping of service_name -> network name. Typically set
|
|
via parameter_defaults in the resource registry. Use
|
|
parameter_merge_strategies to merge it with the defaults.
|
|
type: json
|
|
RoleName:
|
|
default: ''
|
|
description: Role name on which the service is applied
|
|
type: string
|
|
RoleParameters:
|
|
default: {}
|
|
description: Parameters specific to the role
|
|
type: json
|
|
EndpointMap:
|
|
default: {}
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
via parameter_defaults in the resource registry.
|
|
type: json
|
|
CephClusterName:
|
|
type: string
|
|
default: ceph
|
|
description: The Ceph cluster name.
|
|
constraints:
|
|
- allowed_pattern: "[a-zA-Z0-9]+"
|
|
description: >
|
|
The Ceph cluster name must be at least 1 character and contain only
|
|
letters and numbers.
|
|
CephConfigPath:
|
|
type: string
|
|
default: "/var/lib/tripleo-config/ceph"
|
|
description: |
|
|
The path where the Ceph Cluster config files are stored on the host.
|
|
# CephFS backend params:
|
|
ManilaCephFSDataPoolName:
|
|
default: manila_data
|
|
type: string
|
|
ManilaCephFSBackendName:
|
|
type: string
|
|
default: cephfs
|
|
ManilaCephFSAvailabilityZone:
|
|
default: ''
|
|
description: >
|
|
The availability zone of the CephFS backend.
|
|
When set, it overrides the default ManilaStorageAvailabilityZone.
|
|
type: string
|
|
ManilaCephFSDriverHandlesShareServers:
|
|
type: boolean
|
|
default: false
|
|
ManilaCephFSShareBackendName:
|
|
type: string
|
|
default: 'cephfs'
|
|
ManilaCephFSCephFSAuthId:
|
|
type: string
|
|
default: 'manila'
|
|
ManilaCephFSCephVolumeMode:
|
|
type: string
|
|
default: '0755'
|
|
ManilaCephFSCephFSProtocolHelperType:
|
|
default: CEPHFS
|
|
description: Protocol type ('CEPHFS' or 'NFS') when cephfs back end
|
|
is enabled. Set via manila cephfs environment files.
|
|
type: string
|
|
constraints:
|
|
- allowed_values: ['CEPHFS', 'NFS']
|
|
|
|
outputs:
|
|
role_data:
|
|
description: Role data for the Manila Cephfs backend.
|
|
value:
|
|
service_name: manila_backend_cephfs
|
|
config_settings:
|
|
map_merge:
|
|
- manila::backend::cephfs::title: {get_param: ManilaCephFSBackendName}
|
|
manila::backend::cephfs::driver_handles_share_servers: {get_param: ManilaCephFSDriverHandlesShareServers}
|
|
manila::backend::cephfs::pool_name: {get_param: ManilaCephFSDataPoolName}
|
|
manila::backend::cephfs::share_backend_name: {get_param: ManilaCephFSShareBackendName}
|
|
manila_cephfs_ceph_conf_path: {get_param: CephConfigPath}
|
|
manila::backend::cephfs::cephfs_conf_path:
|
|
list_join:
|
|
- ''
|
|
- - /etc/ceph/
|
|
- {get_param: CephClusterName}
|
|
- .conf
|
|
manila::backend::cephfs::cephfs_auth_id: {get_param: ManilaCephFSCephFSAuthId}
|
|
manila::backend::cephfs::cephfs_cluster_name: {get_param: CephClusterName}
|
|
manila::backend::cephfs::cephfs_volume_mode: {get_param: ManilaCephFSCephVolumeMode}
|
|
manila::backend::cephfs::cephfs_protocol_helper_type: {get_param: ManilaCephFSCephFSProtocolHelperType}
|
|
- if:
|
|
- { equals: [ { get_param: ManilaCephFSAvailabilityZone }, '' ] }
|
|
- { }
|
|
- manila::backend::cephfs::backend_availability_zone: { get_param: ManilaCephFSAvailabilityZone }
|