Skip to content

Commit 0ed5076

Browse files
committed
fix caas manila config typo
1 parent 7512944 commit 0ed5076

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ansible/roles/cluster_infra/templates/resources.tf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ resource "openstack_sharedfilesystem_share_v2" "home" {
8484
name = "{{ cluster_name }}-home"
8585
description = "Home for control node"
8686
share_proto = "CEPHFS"
87-
share_type = "{{ cluster_manila_share_type }}"
87+
share_type = "{{ cluster_home_manila_share_type }}"
8888
size = "{{ home_volume_size }}"
8989
}
9090

9191
resource "openstack_sharedfilesystem_share_access_v2" "home" {
92-
share_id = openstack_sharedfilesystem_share_v2.scratch.id
92+
share_id = openstack_sharedfilesystem_share_v2.home.id
9393
access_type = "cephx"
9494
access_to = "{{ cluster_id }}" # TODO: is this guranteed to be unique across all projects? Presumably?
9595
access_level = "rw"

environments/.caas/inventory/group_vars/all/manila.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ caas_manila_project:
1313
mount_group: root
1414
mount_mode: ugo=rwX
1515

16-
os_manila_mount_shares: "{{ ([caas_manila_home] if cluster_home_manila_share | bool else []) + ([caas_manila_project] if cluster_project_manila_share | bool else []) }}""
16+
os_manila_mount_shares: "{{ ([caas_manila_home] if cluster_home_manila_share | bool else []) + ([caas_manila_project] if cluster_project_manila_share | bool else []) }}"

0 commit comments

Comments
 (0)