Skip to content

DNM Dev#3982

Draft
bogdando wants to merge 6 commits into
openstack-k8s-operators:mainfrom
bogdando:dev
Draft

DNM Dev#3982
bogdando wants to merge 6 commits into
openstack-k8s-operators:mainfrom
bogdando:dev

Conversation

@bogdando
Copy link
Copy Markdown
Contributor

@bogdando bogdando commented Jun 5, 2026

No description provided.

bogdando added 4 commits June 5, 2026 17:57
When no Ansible inventory host matches a k8s node hostname
(e.g. bare metal SNO where the node is not SSH-accessible),
the role silently skips directory creation while still creating
PVs that reference non-existent paths. Add an oc debug fallback
that creates directories on each node via a debug pod.

Generated-by: claude-4.6-opus-high
Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
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>
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>
On SNO with a single EDPM compute (single-host CephHCI), the Ceph
ingress service (haproxy/keepalived) is not deployed because the
ceph_rgw.yml.j2 spec template only creates it for multi-host clusters.

Add a hook to correct the Keystone Swift endpoint for this case.

The proper fix belongs in cifmw_cephadm/tasks/configure_object.yml
which should detect whether ingress is deployed and choose VIP:8080
vs host_ip:8082 accordingly.

Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 5, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 5, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign rebtoor for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@centosinfra-prod-github-app
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.

Modify cifmw_block_device role to support loop back and thin LVM
devices.

For ceph deploy hook, when cifmw_ceph_thin_pool is defined, create thin
LVs from an existing VG thin pool instead of loop-backed files.

This supports baremetal hosts where the disk is fully consumed by a
thin pool with no raw devices available for cephadm.

The new play runs before the existing loop device play and sets
cifmw_ceph_spec_data_devices with explicit LV paths, which also
causes the loop device play to be skipped.

Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
Modify bm_sno role to let it provision thin volumes by
LVM Storage operator for a proper bare metal performance in BM
SNO CI jobs.

Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/6dc3e643abdc4df4ab1d7bbfedbca6dc

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 21m 22s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 24m 50s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 42m 30s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 06m 28s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 48m 00s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 28s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 08s
✔️ cifmw-pod-k8s-snippets-source SUCCESS in 5m 39s
cifmw-pod-pre-commit FAILURE in 9m 00s
✔️ cifmw-architecture-validate-hci SUCCESS in 5m 07s
✔️ cifmw-molecule-bm_sno SUCCESS in 5m 07s
✔️ cifmw-molecule-ci_gen_kustomize_values SUCCESS in 6m 46s
cifmw-molecule-ci_local_storage TIMED_OUT in 30m 56s
✔️ cifmw-molecule-cifmw_block_device SUCCESS in 5m 22s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant