Skip to content

Conversation

danpawlik
Copy link
Contributor

@danpawlik danpawlik commented Jul 23, 2025

We would like to avoid tasks, where we do 'import_playbook'.
In that case, instead of split ceph playbook into role (now),
let's keep the playbook as it is (because it is used in few places)
and run that play using hooks, like we do with other additional
services.

Until migration process is not done (many projects are using that
playbook), there is a symlink done to old location, so we should avoid
outage.

Related-to: openstack-k8s-operators/install_yamls#1083
Related-to: openstack-k8s-operators/architecture#604

Copy link
Contributor

openshift-ci bot commented Jul 23, 2025

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

Copy link
Contributor

openshift-ci bot commented Jul 23, 2025

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

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

@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch from 522dde1 to cbce513 Compare July 23, 2025 16:05
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/c51fd93f68f04784940931becc8c3ff6

✔️ openstack-k8s-operators-content-provider SUCCESS in 36m 47s
podified-multinode-edpm-deployment-crc FAILURE in 15m 15s
cifmw-crc-podified-edpm-baremetal FAILURE in 22m 32s
podified-multinode-hci-deployment-crc FAILURE in 16m 52s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 03s
cifmw-pod-pre-commit FAILURE in 7m 58s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 08s
✔️ build-push-container-cifmw-client SUCCESS in 15m 53s

@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch 2 times, most recently from b236189 to cf5861b Compare July 24, 2025 09:41
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/5029b8e685c14b60b2ee1048289da2e2

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 50m 05s
podified-multinode-edpm-deployment-crc FAILURE in 54m 53s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 35m 23s
podified-multinode-hci-deployment-crc FAILURE in 45m 50s
adoption-standalone-to-crc-ceph-provider RETRY_LIMIT in 21m 11s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 7m 47s
cifmw-pod-pre-commit FAILURE in 5m 53s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 14s
✔️ build-push-container-cifmw-client SUCCESS in 20m 23s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 57s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 11s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 21s

@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch from cf5861b to 812e445 Compare July 24, 2025 11:34
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/e33dfee9c20049928220e5eef321ec32

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 27m 15s
podified-multinode-edpm-deployment-crc FAILURE in 1h 01m 02s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 21m 23s
podified-multinode-hci-deployment-crc FAILURE in 46m 15s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 33s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 11m 51s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 53s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 00s
✔️ build-push-container-cifmw-client SUCCESS in 16m 59s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 30s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 19s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 22s

@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch from 812e445 to e8a6adf Compare July 24, 2025 15:14
@danpawlik
Copy link
Contributor Author

TASK [cifmw_cephadm : Install cephadm package name=cephadm, state=present] *****
Thursday 24 July 2025  15:43:35 +0000 (0:00:00.033)       0:00:30.239 ********* 
FAILED - RETRYING: [compute-0]: Install cephadm package (8 retries left).
FAILED - RETRYING: [compute-0]: Install cephadm package (7 retries left).
FAILED - RETRYING: [compute-0]: Install cephadm package (6 retries left).
FAILED - RETRYING: [compute-0]: Install cephadm package (5 retries left).
FAILED - RETRYING: [compute-0]: Install cephadm package (4 retries left).
FAILED - RETRYING: [compute-0]: Install cephadm package (3 retries left).
FAILED - RETRYING: [compute-0]: Install cephadm package (2 retries left).
FAILED - RETRYING: [compute-0]: Install cephadm package (1 retries left).
task path: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/cifmw_cephadm/tasks/install_cephadm.yml:25
fatal: [compute-0]: FAILED! => 
    attempts: 8
    changed: false
    failures:
    - No package cephadm available.
    msg: Failed to install some of the specified packages
    rc: 1
    results: []

@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch 2 times, most recently from aefe56d to 09e68da Compare July 24, 2025 20:00
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/b25a4ca3423e4f33932b70bd78e48e6e

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 22m 43s
podified-multinode-edpm-deployment-crc FAILURE in 19m 33s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 37m 33s
podified-multinode-hci-deployment-crc FAILURE in 41m 45s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 43s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 05m 35s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 29s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 49s
✔️ build-push-container-cifmw-client SUCCESS in 16m 21s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 1m 54s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 25s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 34s

@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch 4 times, most recently from d0e5f5f to 43d3040 Compare July 25, 2025 10:10
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/0f6f38421a724d648f05b508deb8fefd

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 16m 28s
podified-multinode-edpm-deployment-crc FAILURE in 58m 21s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 25m 57s
podified-multinode-hci-deployment-crc FAILURE in 45m 09s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 56s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 00m 38s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 03s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 24s
✔️ build-push-container-cifmw-client SUCCESS in 20m 23s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 29s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 31s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 12s
✔️ cifmw-molecule-run_hook SUCCESS in 3m 20s

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

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/dae45cb64dbd44b992a22d386e59ad20

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 17m 14s
podified-multinode-edpm-deployment-crc FAILURE in 52m 55s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 22m 53s
podified-multinode-hci-deployment-crc FAILURE in 43m 06s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 37s
adoption-standalone-to-crc-ceph-provider FAILURE in 3h 03m 22s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 7m 52s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 56s
✔️ build-push-container-cifmw-client SUCCESS in 16m 43s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 19s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 24s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 17s
✔️ cifmw-molecule-run_hook SUCCESS in 3m 32s

@danpawlik
Copy link
Contributor Author

recheck

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/48d83803a2a54f92a829402bfd393de4

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 49m 02s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 09m 51s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 26m 34s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 31m 35s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 14s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 34m 18s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 36s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 48s
✔️ build-push-container-cifmw-client SUCCESS in 16m 02s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 20s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 26s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 16s
✔️ cifmw-molecule-run_hook SUCCESS in 3m 21s

@danpawlik
Copy link
Contributor Author

recheck

@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch from b228dca to 8841c7c Compare August 26, 2025 14:11
tosky
tosky previously approved these changes Aug 26, 2025
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/d8aa777b9ea64183987e41da8860e134

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 44m 28s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 09m 18s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 24m 52s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 30m 08s
cifmw-pod-zuul-files FAILURE in 4m 48s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 27m 48s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 04s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 15s
✔️ build-push-container-cifmw-client SUCCESS in 16m 29s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 22s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 27s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 09s

@danpawlik
Copy link
Contributor Author

recheck

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/3aace6ec17b74f3795d9abbb5aca2975

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 54m 12s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 10m 47s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 24m 24s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 27m 23s
cifmw-pod-zuul-files FAILURE in 4m 30s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 39m 17s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 01s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 50s
✔️ build-push-container-cifmw-client SUCCESS in 16m 05s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 30s
✔️ cifmw-molecule-cifmw_cephadm SUCCESS in 4m 42s
✔️ cifmw-molecule-hci_prepare SUCCESS in 4m 17s

@danpawlik
Copy link
Contributor Author

recheck

@michburk
Copy link

michburk commented Aug 26, 2025

should this pr also update the ceph playbook CODEOWNERS entry?

@danpawlik
Copy link
Contributor Author

should this pr also update the ceph playbook CODEOWNERS entry?

TBH we are still not maintaining that play, just "fit" it to our requirements.

evallesp
evallesp previously approved these changes Aug 27, 2025
We would like to avoid tasks, where we do 'import_playbook'.
In that case, instead of split ceph playbook into role (now),
let's keep the playbook as it is (because it is used in few places)
and run that play using hooks, like we do with other additional
services.
Until migration process is not done (many projects are using that
playbook), there is a symlink done to old location, so we should avoid
outage.

Related-to: openstack-k8s-operators/install_yamls#1083
Related-to: openstack-k8s-operators/architecture#604

Signed-off-by: Daniel Pawlik <[email protected]>
@danpawlik danpawlik dismissed stale reviews from evallesp and tosky via 54b9272 August 27, 2025 15:54
@danpawlik danpawlik force-pushed the move-ceph-into-hooks branch from 8841c7c to 54b9272 Compare August 27, 2025 15:54
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.

The symlink is in place so this should be safe.

I see some calls which are replaced with importing the hook which won't be protected with that though I know there has been testing. I'm OK with merging this and if there's an issue we can revert.

Thanks @danpawlik

@danpawlik danpawlik enabled auto-merge (rebase) August 27, 2025 17:46
@danpawlik danpawlik merged commit 8b753f5 into openstack-k8s-operators:main Aug 27, 2025
5 checks passed
danpawlik added a commit to danpawlik/ci-framework that referenced this pull request Aug 28, 2025
After merging change [1], the places where Ceph playbook was used, have
been moved to use hooks.
Let's drop the symlink and verify in all used job, that the playbook
path has been updated correctly.

[1] openstack-k8s-operators#3154

Signed-off-by: Daniel Pawlik <[email protected]>
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.

8 participants