[multiple] nova05epsilon: adjust Ceph for BM SNO DCN cases#3773
[multiple] nova05epsilon: adjust Ceph for BM SNO DCN cases#3773bogdando wants to merge 2 commits into
Conversation
|
Skipping CI for Draft Pull Request. |
|
This PR is stale because it has been for over 15 days with no activity. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
This PR is stale because it has been for over 15 days with no activity. |
The ceph.yml post_stage_run hook (via cifmw_ceph_client role) writes Ceph config files to cifmw_ceph_client_fetch_dir (default /tmp/). This template reads those files and provides them as base64-encoded values under data.ceph_conf (DCN convention). Generated-by: claude-4.6-opus-high Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
84314e0 to
f9d684c
Compare
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider NODE_FAILURE Node(set) request 100-0000095747 failed in 0s |
To allow BM SNO with ceph using custom ceph CIDR values, make ssh_network_range and storage_mgmt_network_range overridable via cifmw_ceph_ssh_network_range and cifmw_ceph_storage_mgmt_network_range. Both are set in set_fact which clobbers extra vars, so we use the cifmw_ indirection with default() to preserve original defaults. NOTE: storage_network_range also needs this treatment. It use to be commented out in set_fact, and this change needs extra testing with Ceph ci jobs perhaps. Also gather network facts for IP-to-host mapping. Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 50m 26s |
|
recheck cifmw-crc-podified-edpm-baremetal |
Adjust ceph.yml post_stage_run hook for DCN conventions
The ceph.yml post_stage_run hook (via cifmw_ceph_client role) writes Ceph config files to
cifmw_ceph_client_fetch_dir (default /tmp/). This template reads those files and provides them as base64-
encoded values under data.ceph_conf (DCN convention).
Allow overriding ssh and storage_mgmt
To allow BM SNO with ceph using custom ceph CIDR values,
make ssh_network_range and storage_mgmt_network_range overridable via
cifmw_ceph_ssh_network_range and cifmw_ceph_storage_mgmt_network_range.
Both are set in set_fact which clobbers extra vars, so we use the
cifmw_ indirection with default() to preserve original defaults.
NOTE: storage_network_range also needs this treatment.
It use to be commented out in set_fact, and this change needs
extra testing with Ceph ci jobs perhaps.
Also gather network facts for IP-to-host mapping.
Add computes to zuul inventory for reproducer
Ceph hooks require edpm compute hosts in zuul inventory.
If explicitely requested by a cifmw job config,
add those to zuul inventory.
Jira: OSPRH-27641
Generated-by: claude-4.6-opus-high