Skip to content

Conversation

@katarimanojk
Copy link
Contributor

No description provided.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 12, 2025

[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 dasm 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

@katarimanojk katarimanojk force-pushed the fix_missing_packages_in_cephnodes branch from 2241460 to 0c9047f Compare December 12, 2025 14:28
@github-actions
Copy link

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

Copy link
Contributor

@fultonj fultonj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you please consider a few small changes?

Copy link
Contributor

@fmount fmount left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than minor things that we can even address in a follow up, the patch seems good to go. @katarimanojk let me know if you have other iterations on it, otherwise we can land it.

@katarimanojk katarimanojk force-pushed the fix_missing_packages_in_cephnodes branch from e90853a to 483825e Compare January 20, 2026 07:38
@katarimanojk
Copy link
Contributor Author

Other than minor things that we can even address in a follow up, the patch seems good to go. @katarimanojk let me know if you have other iterations on it, otherwise we can land it.

@fmount Thanks for the suggestions, update the patch now

@katarimanojk katarimanojk requested a review from fmount January 20, 2026 07:39
fmount
fmount previously approved these changes Jan 20, 2026
Copy link
Contributor

@fmount fmount left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

cifmw_admin_distribute_private_key: true
no_log: "{{ cifmw_nolog | default(true) | bool }}"

- name: Ceph prerequisites
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with this patch, so we can land it.
While reviewing it I was thinking about the idea of installing cephadm to all the ceph nodes by default.
The advantage would be to have ceph cli access everywhere, which makes things easier in case you redeploy daemons on a different target node.
If we install cephadm everywhere (the ceph tools repo should be available in the EDPM nodes), we could remove the when condition and always run the prerequisites playbook.
However, because we use this playbook for several use cases, I think it's safe to land this patch as it is and discuss about these thoughts for a follow up patch that should be extensively tested with the existing Ceph related use cases.

@fmount
Copy link
Contributor

fmount commented Jan 21, 2026

@katarimanojk as per the recent failures I'm wondering if this patch should be extended to install not only cephadm but also the missing requirements [1].

[1] https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/cifmw_block_device/tasks/main.yml#L23

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 21, 2026

New changes are detected. LGTM label has been removed.

@katarimanojk
Copy link
Contributor Author

katarimanojk commented Jan 21, 2026

@katarimanojk as per the recent failures I'm wondering if this patch should be extended to install not only cephadm but also the missing requirements [1].

[1] https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/cifmw_block_device/tasks/main.yml#L23

@fmount i just updated the patch to install missing package, please review the latest change

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/e5db0069d16f45ca8a97bf33b950d6fe

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 08m 33s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 30m 57s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 22m 58s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 42m 47s
podified-multinode-hci-deployment-crc FAILURE in 53m 22s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 34s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 05s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 25s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 14s

hosts: "{{ cifmw_ceph_target | default('computes') }}"
gather_facts: false
become: true
when: cifmw_cephadm_install_on_all_nodes | default(false) | bool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope.

ERROR! 'when' is not a valid attribute for a Play

The error appears to be in '/home/zuul/src/github.com/openstack-k8s-operators/ci-framework/hooks/playbooks/ceph.yml': line 101, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Ceph prerequisites
  ^ here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, i missed it, thanks for pointing it. I will fix it in the follow up patch.

For adoption scenarios with external Ceph, cephadm and dependent packages
may be missing on nodes. Add separate play controlled by cifmw_cephadm_install_on_all_nodes
to install on all nodes when needed (defaults to false for standard deployments).
@katarimanojk katarimanojk force-pushed the fix_missing_packages_in_cephnodes branch from f17e5c7 to 3b24394 Compare January 21, 2026 17:21
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.

4 participants