Skip to content

Allow cephadm as a ceph_stack value - #114

Merged
berendt merged 1 commit into
mainfrom
ceph-stack-cephadm
Oct 2, 2026
Merged

berendt merged 1 commit into
mainfrom
ceph-stack-cephadm

Conversation

@ideaship

@ideaship ideaship commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

ceph_stack exists so a testbed can be created for a Ceph backend other than
ceph-ansible, and manager.tf already exports it to the manager as
CEPH_STACK in /opt/manager-vars.sh. Its validation accepted only
ceph-ansible, however, so the one other backend the testbed has scripts for
could never be selected: tofu rejected the value before anything on the manager
could read it.

This accepts cephadm as well. The default is unchanged, so a testbed that does
not set the variable is still created for ceph-ansible.

It only makes the value reachable. What the manager does with it is decided in
osism/testbed, which dispatches on CEPH_STACK.

Part of a cross-repo effort:

🤖 Generated with Claude Code

The ceph_stack variable exists so a testbed can be created for a Ceph
backend other than ceph-ansible, and manager.tf already exports it to
the manager as CEPH_STACK in /opt/manager-vars.sh. Its validation
accepted only ceph-ansible, however, so the one other backend the
testbed has scripts for could never be selected: tofu rejected the
value before anything on the manager could read it.

Accept cephadm as well. The default is unchanged, so a testbed that
does not set the variable is still created for ceph-ansible.

This only makes the value reachable. What the manager does with it is
decided in osism/testbed, which dispatches on CEPH_STACK.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
@ideaship ideaship self-assigned this Oct 1, 2026
@ideaship
ideaship marked this pull request as ready for review October 2, 2026 10:53
@berendt
berendt merged commit 60e5f47 into main Oct 2, 2026
3 checks passed
@berendt
berendt deleted the ceph-stack-cephadm branch October 2, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants