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

Create reconcilers consistently from watcher_common and add timeout #12

Merged

Conversation

amoralej
Copy link
Contributor

This is implementing a mechanism to create the reconcilers consistently similar to the one used in nova-operator.

It is also including a RequeueTimeout parameter which can be used in the lower level calls to avoid that controller gets blocked at some point.

This PR is also implementing this timeout when waiting for the DB to be created.

This is implementing a mechanism to create the reconcilers consistently
similar to the one used in nova-operator.

It is also including a RequeueTimeout parameter which can be used in the
lower level calls to avoid that controller gets blocked at some point.
Replace WaitForDBCreate by WaitForDBCreatedWithTimeout and pass the
timeout from the RequeueTimeout reconciler parameter.
@openshift-ci openshift-ci bot requested review from olliewalsh and viroel November 25, 2024 15:36
@amoralej amoralej requested review from abays and SeanMooney November 25, 2024 15:37
Copy link
Collaborator

@SeanMooney SeanMooney left a comment

Choose a reason for hiding this comment

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

this is all as i expect it to be.

ill re review tomorrow and approve if others don't disagree with this change.

thanks for porting this.

Copy link

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

openshift-ci bot commented Nov 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays

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

@openshift-merge-bot openshift-merge-bot bot merged commit ae46d00 into openstack-k8s-operators:main Nov 25, 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.

3 participants