Skip to content

Add support for Yocto flavor on cephadm + some cephadm improvement#862

Merged
dupremathieu merged 5 commits intomainfrom
cephadmyocto
Feb 23, 2026
Merged

Add support for Yocto flavor on cephadm + some cephadm improvement#862
dupremathieu merged 5 commits intomainfrom
cephadmyocto

Conversation

@dupremathieu
Copy link
Copy Markdown
Member

  • add support for ceph.conf overrides using ceph_conf_overrides
  • only deploy OSDs on nodes that need them
  • add SEAPATH Yocto flavor support

@dupremathieu dupremathieu force-pushed the cephadmyocto branch 2 times, most recently from 258e75b to df3aa11 Compare February 16, 2026 15:16
@dupremathieu dupremathieu marked this pull request as ready for review February 16, 2026 15:16
@dupremathieu dupremathieu requested review from eroussy and insatomcat and removed request for eroussy February 16, 2026 15:16
Comment thread roles/cephadm/tasks/main.yml Outdated
Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Remove the commented-out codes.

Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Add some conditionals to the cephadm role to support the SEAPATH Yocto
flavor. In the Yocto flavor, the cephadm and containerized-ceph users
and groups are already created by the Yocto image, so we need to skip
their creation in the cephadm role. We also need to skip the sudoers
file creation for the cephadm user, for the same reason.

Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Change the list of nodes that need OSDs to be based on the 'hypervisors'
group instead of 'cluster_machines'. This ensures that OSDs are only
deployed on nodes that are actually designated to have OSDs, rather than
all cluster machines. Observers machines are part of the
'cluster_machines' group but it most the cases they don't have OSDs.

Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
As it was the case with the previous implementation base on
ceph-ansible, this commit adds support for overriding ceph.conf values
using the `ceph_conf_overrides` variable. This variable allows users to
specify custom configuration values for both the global section and
other specific sections (like mon, osd, mds, etc.) of the ceph.conf
file.

Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
@dupremathieu dupremathieu requested review from insatomcat and removed request for insatomcat February 23, 2026 08:47
@dupremathieu dupremathieu merged commit 53eb0fe into main Feb 23, 2026
4 checks passed
@dupremathieu dupremathieu deleted the cephadmyocto branch February 23, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants