Skip to content

Commit

Permalink
[DCN] Support Manila Shares with Local Ceph Clusters in DCN
Browse files Browse the repository at this point in the history
This update enables deploying three Manila shares, each connected
to its local Ceph cluster within the same availability zone (AZ).
In DCN, each "site" is configured to use its respective local Ceph
cluster.
  • Loading branch information
lkuchlan committed Dec 18, 2024
1 parent 163f30f commit e69698a
Showing 1 changed file with 52 additions and 19 deletions.
71 changes: 52 additions & 19 deletions examples/dt/dcn/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ metadata:
data:
preserveJobs: false
cinder:
customServiceConfig: |
[DEFAULT]
storage_availability_zone = az0
uniquePodNames: false
cinderAPI:
replicas: 3
Expand Down Expand Up @@ -196,26 +193,62 @@ data:
replicas: 1
type: edge
manila:
enabled: false
enabled: true
manilaAPI:
customServiceConfig: |
[DEFAULT]
enabled_share_protocols=nfs,cephfs
manilaShares:
share1:
customServiceConfig: |
[DEFAULT]
enabled_share_backends = cephfs
enabled_share_protocols = cephfs
[cephfs]
driver_handles_share_servers = False
share_backend_name = cephfs
share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_cluster_name = ceph
cephfs_auth_id=openstack
cephfs_volume_mode = 0755
cephfs_protocol_helper_type = CEPHFS
az0:
manilaShares:
share1:
customServiceConfig: |
[DEFAULT]
enabled_share_backends = cephfs
enabled_share_protocols = cephfs
[cephfs]
driver_handles_share_servers = False
share_backend_name = cephfs
share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_cluster_name = ceph
cephfs_auth_id=openstack
cephfs_volume_mode = 0755
cephfs_protocol_helper_type = CEPHFS
storage_availability_zone = az0
az1:
manilaShares:
share2:
customServiceConfig: |
[DEFAULT]
enabled_share_backends = cephfs
enabled_share_protocols = cephfs
[cephfs]
driver_handles_share_servers = False
share_backend_name = cephfs
share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_cluster_name = ceph
cephfs_auth_id=openstack
cephfs_volume_mode = 0755
cephfs_protocol_helper_type = CEPHFS
storage_availability_zone = az1
az2:
manilaShares:
share3:
customServiceConfig: |
[DEFAULT]
enabled_share_backends = cephfs
enabled_share_protocols = cephfs
[cephfs]
driver_handles_share_servers = False
share_backend_name = cephfs
share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_cluster_name = ceph
cephfs_auth_id=openstack
cephfs_volume_mode = 0755
cephfs_protocol_helper_type = CEPHFS
storage_availability_zone = az2
neutron:
template:
customServiceConfig: |
Expand Down

0 comments on commit e69698a

Please sign in to comment.