Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Cleanup/fix how we manage DeploymentReadyCondition #931

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

rabi
Copy link
Contributor

@rabi rabi commented Jun 10, 2024

  • Don't use deployemnt.Deployed as there could be more than one nodeset in a deployment.
  • Check NodeSetDeploymentReadyCondition for the nodeset rather than Ready condition for the deployment.
  • Break when a failed deployment for a nodeset is encountered. Continuing can overwrite the nodeset deployment conditions.

Jira: https://issues.redhat.com/browse/OSPRH-7617
Depends-On: openstack-k8s-operators/install_yamls#847

@rabi rabi force-pushed the conditions branch 2 times, most recently from d68d15c to f4e6130 Compare June 11, 2024 03:12
@rabi
Copy link
Contributor Author

rabi commented Jun 11, 2024

/test precommit-check

@rabi
Copy link
Contributor Author

rabi commented Jun 11, 2024

/test dataplane-operator-build-deploy-kuttl

- Don't use deployemnt.Deployed as there could be more than
  one nodeset in a deployment.
- Check NodeSetDeploymentReadyCondition for the nodeset rather than
  Ready condition for the deployment.
- Break when a failed deployment for a nodeset is encountered. Continuing
  can overwrite the nodeset deployment conditions.

Signed-off-by: rabi <ramishra@redhat.com>
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/159b95a57d6c498fb99f5834600d6087

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 20m 25s
podified-multinode-edpm-deployment-crc FAILURE in 1h 42m 52s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 31m 13s

@rabi
Copy link
Contributor Author

rabi commented Jun 11, 2024

zuul jobs require openstack-k8s-operators/install_yamls#847

@rabi
Copy link
Contributor Author

rabi commented Jun 11, 2024

recheck

@bogdando
Copy link

Break when a failed deployment for a nodeset is encountered

this aspect looks missing in the source jira issue. Wouldn't it change the users expectations about tolerating a partial failure of some edpm nodes during rhoso deployment, which also had been demoed recently?

@rabi
Copy link
Contributor Author

rabi commented Jun 11, 2024

Break when a failed deployment for a nodeset is encountered

this aspect looks missing in the source jira issue. Wouldn't it change the users expectations about tolerating a partial failure of some edpm nodes during rhoso deployment, which also had been demoed recently?

Partial failure is handled in ansible and AEE jobs won't fail if max_fail_percentage > 0 and failed node count for a play is within the tolerated value.

Copy link
Contributor

openshift-ci bot commented Jun 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fao89, rabi

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

@fao89
Copy link
Collaborator

fao89 commented Jun 11, 2024

recheck

@openshift-merge-bot openshift-merge-bot bot merged commit f057a68 into openstack-k8s-operators:main Jun 12, 2024
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants