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

Leader election config update. #2282

Merged
merged 1 commit into from Jul 3, 2023

Conversation

cappetersson
Copy link
Contributor

@cappetersson cappetersson commented Mar 15, 2023

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #1391

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

@netlify
Copy link

netlify bot commented Mar 15, 2023

Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 335c3e4
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/6489cacb069ef00008d40d55
😎 Deploy Preview https://deploy-preview-2282--hypershift-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@openshift-ci openshift-ci bot requested review from csrwng and enxebre March 15, 2023 19:41
@openshift-ci openshift-ci bot added area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release and removed do-not-merge/needs-area labels Mar 15, 2023
@cappetersson
Copy link
Contributor Author

/retest

@hasueki
Copy link
Contributor

hasueki commented Apr 20, 2023

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 20, 2023

@hasueki: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@hasueki
Copy link
Contributor

hasueki commented Apr 20, 2023

/retest

3 similar comments
@hasueki
Copy link
Contributor

hasueki commented Apr 21, 2023

/retest

@hasueki
Copy link
Contributor

hasueki commented Apr 26, 2023

/retest

@a-dsouza
Copy link
Contributor

/retest

@cappetersson cappetersson requested a review from muraee May 26, 2023 13:21
@muraee
Copy link
Contributor

muraee commented May 26, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2023
@cappetersson
Copy link
Contributor Author

@muraee
I noticed that the ci/prow/e2e-aws-test is failing on other open PRs. Would this indicate that the error is not specific to my changes? Just checking to see if there are additional things I need to do to get this PR merged.

@muraee
Copy link
Contributor

muraee commented May 30, 2023

@cappetersson yeah, I think there was another problem last week.
/retest-required

@cappetersson
Copy link
Contributor Author

@muraee
Is there anywhere I can check the status of the CI? Just to know if all tests should pass if my additions are correct. Please correct me if I'm wrong but the failing tests, both seems to be prometheus related, are not caused by my changes so therefor all I can do is wait until the CI is fixed and re-run the tests.

@muraee
Copy link
Contributor

muraee commented May 30, 2023

@cappetersson we don't have a direct way to check the status of our CI, we have a blocking job on CI stream so you could check the latest release for an indication (e.g. e2e-hypershift is failing here https://amd64.ocp.releases.ci.openshift.org/releasestream/4.14.0-0.ci/release/4.14.0-0.ci-2023-05-29-185629).

Actually we have a problem with our CI currently :)

@cappetersson
Copy link
Contributor Author

Oh that is super helpful, thanks for showing me that @muraee! I will keep my eyes on the release page and then re-run the tests when I can see that those problems have been solved:+1:

@cappetersson
Copy link
Contributor Author

/retest

@cappetersson
Copy link
Contributor Author

@muraee
Do we need the two failing tests to pass before this PR can be merged?
Thanks

@muraee
Copy link
Contributor

muraee commented Jun 5, 2023

@cappetersson we need ci/prow/e2e-aws which is our main e2e test

@cappetersson
Copy link
Contributor Author

/retest

@cappetersson
Copy link
Contributor Author

/retest

@muraee
Copy link
Contributor

muraee commented Jun 15, 2023

@cappetersson kube-controller-manager logs show this:

Error: unknown flag: --leader-elect-renew-deadline-duration

The flag should be only --leader-elect-renew-deadline

@cappetersson
Copy link
Contributor Author

Ah yes there it is. How were you able to know to look in that specific folder for the logs? Is that just something you know or would I be able to tell based on the information given by the failing tests.

@muraee
Copy link
Contributor

muraee commented Jun 15, 2023

well if all tests are failing without a clear reason, the first thing I do is to look at the HostedCluster/HostedControlPlane conditions which in this case shows:

  - lastTransitionTime: "2023-06-14T19:08:05Z"
    message: kube-controller-manager deployment has 1 unavailable replicas
    observedGeneration: 1
    reason: UnavailableReplicas
    status: "True"
    type: Degraded

so the next step naturally is to check the logs of the failing component.

@cappetersson
Copy link
Contributor Author

/retest

1 similar comment
@cappetersson
Copy link
Contributor Author

/retest

@cappetersson
Copy link
Contributor Author

@muraee

Finally was able to get all tests to pass. Thanks for all the help on this.

@muraee
Copy link
Contributor

muraee commented Jun 23, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2023
@cappetersson
Copy link
Contributor Author

/retest

@cappetersson
Copy link
Contributor Author

@muraee
Any idea on when I will be able to get some reviews on this?
Thanks

@csrwng
Copy link
Contributor

csrwng commented Jul 3, 2023

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cappetersson, csrwng

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 3, 2023
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 56be8ca and 2 for PR HEAD 4586a24 in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD e2ca008 and 1 for PR HEAD 4586a24 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 3, 2023

@cappetersson: all tests passed!

Full PR test history. Your PR dashboard.

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 43e396a into openshift:main Jul 3, 2023
12 checks passed
@cappetersson
Copy link
Contributor Author

/cherry-pick release-4.12

@openshift-cherrypick-robot

@cappetersson: new pull request created: #2800

In response to this:

/cherry-pick release-4.12

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.

@cappetersson
Copy link
Contributor Author

/cherry-pick release-4.13

@cappetersson
Copy link
Contributor Author

/cherry-pick release-4.14

@cappetersson
Copy link
Contributor Author

/cherry-pick release-4.15

@openshift-cherrypick-robot

@cappetersson: new pull request created: #2801

In response to this:

/cherry-pick release-4.13

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.

@openshift-cherrypick-robot

@cappetersson: new pull request could not be created: failed to create pull request against openshift/hypershift#release-4.14 from head openshift-cherrypick-robot:cherry-pick-2282-to-release-4.14: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"No commits between openshift:release-4.14 and openshift-cherrypick-robot:cherry-pick-2282-to-release-4.14"}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"}

In response to this:

/cherry-pick release-4.14

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.

@openshift-cherrypick-robot

@cappetersson: new pull request could not be created: failed to create pull request against openshift/hypershift#release-4.15 from head openshift-cherrypick-robot:cherry-pick-2282-to-release-4.15: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"No commits between openshift:release-4.15 and openshift-cherrypick-robot:cherry-pick-2282-to-release-4.15"}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"}

In response to this:

/cherry-pick release-4.15

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. area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants