-
Notifications
You must be signed in to change notification settings - Fork 106
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
Run ceph update if part of the deployment #2349
Run ceph update if part of the deployment #2349
Conversation
Thanks for the PR! ❤️ |
I'd like to testproject this before doing any change or marking as ready. |
This PR is stale because it has been for over 15 days with no activity. |
4333761
to
c6de525
Compare
+2 This patch looks good to me. Want to rebase it and take it out of draft ? |
Thank you @fultonj for looking at it. I'm currently trying this patch as part of unigamma in a testproject. When we have a green CI I'll post the results and we can move forward! |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/e645da52ead8490f9a83d6e1e660c966 ❌ openstack-k8s-operators-content-provider FAILURE in 7m 51s |
b9091cb
to
137e928
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/3d4c83f753f54156998703076f100e9a ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 16m 46s |
4f5857f
to
be0df12
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/50a952529bc2431996df08ac79c12ac1 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 26m 35s |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/7ec8c233c5b446e79574bc74fc850739 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 52m 13s |
In case we run a minor update job where Ceph is deployed, the procedure should update Ceph according to a given container tag. This is useful to verify that the combination between the target Ceph version and the target RHOSO version is still healthy. This patch introduces the playbook/tasks that are supposed to invoke the Ceph update before openstack: - it results in a noop in case the ceph container image tag is the <= of the current deployed Ceph cluster - it is skipped by default if no "ceph_update" variable is passed or it is set to false - it can be skipped by passing --skip-tags ceph_update to the playbook By doing this we have the ability to trigger a Ceph update and make sure we continue to test the combination between the two projects, but at the same time we are not introducing an hard dependency as it can easily be skipped. Jira: https://issues.redhat.com/browse/OSPRH-9697 Signed-off-by: Francesco Pantano <fpantano@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fultonj 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 |
753c18d
into
openstack-k8s-operators:main
/cherrypick 18.0-fr1 |
@fmount: new pull request created: #2499 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
In case we perform a minor update job where
Ceph
is deployed, as part of the minor update procedure we might want to updateCeph
(according to a givencontainer image tag
) to verify the combination between the target Ceph version and the target OpenStack version is still healthy. This patch introduces the tasks that are supposed to call theCeph
update before OpenStack:Ceph
clustercifmw_ceph_update
variable is passed or it is set tofalse
(which is the default)--skip-tags ceph_update
to the playbookBy doing this we have the ability to trigger a Ceph update and make sure we continue to test the combination between the two projects, but at the same time we are not introducing an hard dependency as it can easily be skipped.
Jira: https://issues.redhat.com/browse/OSPRH-9697