Skip to content

e2e-pool: Better wait for controllers to be ready#2087

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
2uasimojo:e2e-pool/better-wait-for-controllers
Aug 10, 2023
Merged

e2e-pool: Better wait for controllers to be ready#2087
openshift-merge-robot merged 1 commit into
openshift:masterfrom
2uasimojo:e2e-pool/better-wait-for-controllers

Conversation

@2uasimojo
Copy link
Copy Markdown
Member

It turns out we weren't actually disabling managed DNS for e2e-pool -- see openshift/release#42172. However, attempting to do so revealed a timing problem which was being papered over: We were using oc wait to wait for the controllers to become ready, but hive-operator hadn't yet gotten a chance to create those deployments. (When we were enabling managed DNS, that process took some time and waited for those deployments, so we never noticed.)

With this commit, after waiting for the hive-operator deployment itself to become Available, we then wait for HiveConfig to report Ready, indicating that the operator has created the deployments.

It turns out we weren't actually disabling managed DNS for e2e-pool --
see openshift/release#42172. However, attempting
to do so revealed a timing problem which was being papered over: We were
using `oc wait` to wait for the controllers to become ready, but
hive-operator hadn't yet gotten a chance to create those deployments.
(When we were enabling managed DNS, that process took some time *and*
waited for those deployments, so we never noticed.)

With this commit, after waiting for the hive-operator deployment itself
to become Available, we then wait for HiveConfig to report Ready,
indicating that the operator has created the deployments.
@2uasimojo
Copy link
Copy Markdown
Member Author

/assign @dlom

@openshift-ci openshift-ci Bot requested review from abutcher and lleshchi August 10, 2023 15:29
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 10, 2023
@dlom
Copy link
Copy Markdown
Contributor

dlom commented Aug 10, 2023

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 10, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Aug 10, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo, dlom

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

The pull request process is described here

Details 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-ci-robot
Copy link
Copy Markdown

/retest-required

Remaining retests: 0 against base HEAD ed65ea1 and 2 for PR HEAD f635b74 in total

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Aug 10, 2023

@2uasimojo: all tests passed!

Full PR test history. Your PR dashboard.

Details

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 4cca135 into openshift:master Aug 10, 2023
@2uasimojo 2uasimojo deleted the e2e-pool/better-wait-for-controllers branch August 10, 2023 21:31
@2uasimojo
Copy link
Copy Markdown
Member Author

/cherry-pick mce-2.3
/cherry-pick mce-2.2

@openshift-cherrypick-robot
Copy link
Copy Markdown

@2uasimojo: new pull request created: #2089

Details

In response to this:

/cherry-pick mce-2.3
/cherry-pick mce-2.2

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants