Skip to content

Commit

Permalink
Use a single network for ceph frontend & backend (#598)
Browse files Browse the repository at this point in the history
This does not need to be adapted for existing deployments. But we currently only
use a single network for Ceph by default on new deployments. The cluster network
can still be customised after the initial configuration has been created.

Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Mar 28, 2024
1 parent b3398c3 commit 646889c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"with_ceph": 1,
"with_keycloak": 0,
"ceph_network_backend": "192.168.80.0/20",
"ceph_network_frontend": "192.168.64.0/20",
"ceph_network": "192.168.64.0/20",
"ceph_version": "quincy",
"domain": "osism.xyz",
"fqdn_external": "api.osism.xyz",
Expand Down
3 changes: 1 addition & 2 deletions cookiecutter.yml.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
default_context:
ceph_network_backend:
ceph_network_frontend:
ceph_network:
domain:
fqdn_external:
fqdn_internal:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ fsid:
##########################
# network

public_network: {{cookiecutter.ceph_network_frontend}}
cluster_network: {{cookiecutter.ceph_network_backend}}
public_network: {{cookiecutter.ceph_network}}
cluster_network: {{cookiecutter.ceph_network}}

##########################
# custom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ceph_nova_user: nova
ceph_nova_keyring: ceph.client.nova.keyring

# NOTE: public_network from environments/ceph/configuration.yml
ceph_public_network: {{cookiecutter.ceph_network_frontend}}
ceph_public_network: {{cookiecutter.ceph_network}}
{%- endif %}

{%- if cookiecutter.with_keycloak|int %}
Expand Down

0 comments on commit 646889c

Please sign in to comment.