Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the config of ceph backends to a template file, gating++ #1666

Merged

Conversation

tosky
Copy link
Contributor

@tosky tosky commented May 9, 2024

Use 'template' instead of 'copy' to generate the Kustomization which will be used to configure the services with ceph as backend. This is needed because, according the ansible documentation, "If you need variable interpolation in copied files, use the ansible.builtin.template module. Using a variable with the content parameter produces unpredictable results." https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html#synopsis

Remove an old template, previously used for the same purpose, then removed and readded by mistake in a rebase.

Finally, make sure that a job which deploys ceph with HCI and use all these files actually is triggered when these files are changed, and actually readd the HCI job to the pipeline used to test ci-framework itself.

As a pull request owner and reviewers, I checked that:

  • Appropriate testing is done and actually running
  • Appropriate documentation exists and/or is up-to-date:
    • README in the role
    • Content of the docs/source is reflecting the changes

@openshift-ci openshift-ci bot requested review from afazekas and arxcruz May 9, 2024 12:52
@viroel viroel self-assigned this May 9, 2024
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://review.rdoproject.org/zuul/buildset/1cfe208c7d5344eb8ee50051953d4062

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 37m 48s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 37s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 17m 39s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 58s
cifmw-pod-pre-commit FAILURE in 8m 09s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 09s

@tosky tosky force-pushed the ceph_backend_template branch from e9b48f4 to f6e6265 Compare May 10, 2024 08:29
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://review.rdoproject.org/zuul/buildset/1b9d59cbac2347a88613df076b864e5e

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 04m 27s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 16m 23s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 22m 28s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 46m 06s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 17s
cifmw-pod-pre-commit FAILURE in 7m 44s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 36s

@tosky tosky force-pushed the ceph_backend_template branch 4 times, most recently from 4f78bc9 to 2ade0fa Compare May 13, 2024 06:47
@pablintino
Copy link
Collaborator

/approve

Copy link
Contributor

openshift-ci bot commented May 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pablintino

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

The pull request process is described 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

@cjeanner
Copy link
Contributor

/lgtm

Use 'template' instead of 'copy' to generate the Kustomization
which will be used to configure the services with ceph as backend.
This is needed because, according the ansible documentation,
"If you need variable interpolation in copied files, use the
ansible.builtin.template module. Using a variable with
the content parameter produces unpredictable results."
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html#synopsis

Remove an old template, previously used for the same purpose, then
removed and readded by mistake in a rebase.

Finally, make sure that a job which deploys ceph with HCI
and use all these files actually is triggered when these
files are changed, and actually readd the HCI job to the
pipeline used to test ci-framework itself.
@tosky tosky force-pushed the ceph_backend_template branch from 2ade0fa to 585e1b6 Compare May 13, 2024 07:16
@openshift-ci openshift-ci bot removed the lgtm label May 13, 2024
@tosky
Copy link
Contributor Author

tosky commented May 13, 2024

Updated again to fix the name of the template file (which has been moved around in the meantime) in the zuul files list

@pablintino
Copy link
Collaborator

/lgtm

@openshift-merge-bot openshift-merge-bot bot merged commit 9a42447 into openstack-k8s-operators:main May 13, 2024
6 checks passed
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.

5 participants