Skip to content

Commit c11d1f6

Browse files
committed
feat: add ceph-mon service to osds hosts firewall
1 parent 1c5d937 commit c11d1f6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

etc/kayobe/inventory/group_vars/all/firewall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ stackhpc_ceph_firewalld_rules_template:
232232
state: enabled
233233
- service: ceph-mon
234234
network: "{{ storage_net_name }}"
235-
state: "{{ 'enabled' if 'mons' in group_names else 'disabled' }}"
235+
state: "{{ 'enabled' if ('mons' in group_names or 'osds' in group_names) else 'disabled' }}"
236236
- port: "{{ stackhpc_ceph_firewalld_radosgw_port }}/tcp"
237237
network: "{{ storage_net_name }}"
238238
state: "{{ 'enabled' if 'rgws' in group_names else 'disabled' }}"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
features:
3+
- |
4+
Add `ceph-mon` as a `firewalld` service rule to hosts of `osds`.

0 commit comments

Comments
 (0)