We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5eca12b + fca3a61 commit a581a38Copy full SHA for a581a38
src/cephadm/cephadm.py
@@ -2945,10 +2945,11 @@ def deploy_daemon(
2945
update_firewalld(ctx, daemon_form_create(ctx, ident))
2946
2947
# Open ports explicitly required for the daemon
2948
- if endpoints:
2949
- fw = Firewalld(ctx)
2950
- fw.open_ports([e.port for e in endpoints] + fw.external_ports.get(daemon_type, []))
2951
- fw.apply_rules()
+ if not ('skip_firewalld' in ctx and ctx.skip_firewalld):
+ if endpoints:
+ fw = Firewalld(ctx)
+ fw.open_ports([e.port for e in endpoints] + fw.external_ports.get(daemon_type, []))
2952
+ fw.apply_rules()
2953
2954
# If this was a reconfig and the daemon is not a Ceph daemon, restart it
2955
# so it can pick up potential changes to its configuration files
0 commit comments