ceph: include prodnxsr0014-0019 in public_network
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful

Why: prodnxsr0014-0019 were racked as roles::base but have since joined
the de96a98f ceph cluster as OSD hosts (live enc_role is now
roles::infra::k8s::compute, is_ceph_osd true). Their ceph-public /32s
must appear in public_network on every cluster member, and they must
receive the osd-only ceph.conf.

How:
- Expand profiles::ceph::client::cluster_public_ips from .1-.13 to
  .1-.19 (add ceph-public loopbacks 198.18.23.14-19).
- No role/hiera change needed for 0014-0019: they run
  roles::infra::k8s::compute, already covered by roles/infra/k8s.yaml
  (manage_ceph_conf true, render_mds_config unset/false), so they get
  the [global]-only variant with no mds sections.

Consequence: first convergence now rewrites public_network on the
existing osd hosts (0001-0008) and mon hosts (0009-0013) too, adding
.14-.19; adoption is a single public_network-line change on every
cluster host rather than a no-op on osd hosts. Verified against the
live files: osd (0008) and mon (0009) each differ by exactly the
public_network line, mds formatting on 0009 unchanged.
This commit is contained in:
2026-08-08 22:25:53 +10:00
parent 5b04aa341d
commit fa3b97058c
+7 -1
View File
@@ -409,7 +409,7 @@ profiles::ceph::client::mons:
- 10.18.15.2
- 10.18.15.3
# de96a98f cluster topology (prodnxsr0001-0013) - single source of truth for
# de96a98f cluster topology (prodnxsr0001-0019) - single source of truth for
# /etc/ceph/ceph.conf rendered by profiles::ceph::client on the k8s (osd) and
# incus (mon/mgr/mds) roles. fsid/mons are overridden per-role in the role hiera.
# public_network is the /32 of every ceph host's ceph-public loopback.
@@ -427,6 +427,12 @@ profiles::ceph::client::cluster_public_ips:
- 198.18.23.11
- 198.18.23.12
- 198.18.23.13
- 198.18.23.14
- 198.18.23.15
- 198.18.23.16
- 198.18.23.17
- 198.18.23.18
- 198.18.23.19
profiles::ceph::client::mon_initial_members:
- prodnxsr0009
- prodnxsr0010