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

[release-4.12] OCPBUGS-15771: Fix metallb controller condition reason string #176

Conversation

liornoy
Copy link

@liornoy liornoy commented Jul 4, 2023

This commit brings a fix to the metallb controller that is missing from 4.12, 4.11.

The fix:
The Reason string in Condition object can't be empty and must have atleast one character. so use condition string when it's empty.

This commit brings a fix to the metallb controller
that is missing from 4.12, 4.11.

The fix:
The Reason string in Condition object can't be empty and must have atleast
one character. so use condition string when it's empty.

Signed-off-by: liornoy <lnoy@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 4, 2023
@openshift-ci-robot
Copy link

@liornoy: This pull request references Jira Issue OCPBUGS-15771, which is valid. The bug has been moved to the POST state.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-8433 is in the state Closed (Done), which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE))
  • dependent Jira Issue OCPBUGS-8433 targets the "4.13.z" version, which is one of the valid target versions: 4.13.0, 4.13.z
  • bug has dependents

Requesting review from QA contact:
/cc @asood-rh

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This commit brings a fix to the metallb controller that is missing from 4.12, 4.11.

The fix:
The Reason string in Condition object can't be empty and must have atleast one character. so use condition string when it's empty.

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-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Jul 4, 2023
@openshift-ci openshift-ci bot requested review from asood-rh, dcbw and dougbtv July 4, 2023 11:11
@cgoncalves
Copy link

For reference, the upstream PR is metallb#219
Any reason why you are not also backporting the test code?
metallb@56b095d#diff-84511590037f485163cb9de0451ef94fdd46c1955b3464b2b84ab050bf007b89

@liornoy
Copy link
Author

liornoy commented Jul 4, 2023

For reference, the upstream PR is metallb#219 Any reason why you are not also backporting the test code? metallb@56b095d#diff-84511590037f485163cb9de0451ef94fdd46c1955b3464b2b84ab050bf007b89

because they are added here: c4cd3bf

@cgoncalves
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 5, 2023
@fedepaol
Copy link
Member

fedepaol commented Jul 5, 2023

/override ci/prow/ci-index-upgrade-bundle

@fedepaol
Copy link
Member

fedepaol commented Jul 5, 2023

/approve
/lgtm

@fedepaol
Copy link
Member

fedepaol commented Jul 5, 2023

/label backport-risk-assessed

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Jul 5, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 5, 2023

@fedepaol: Overrode contexts on behalf of fedepaol: ci/prow/ci-index-upgrade-bundle

In response to this:

/override ci/prow/ci-index-upgrade-bundle

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-ci
Copy link

openshift-ci bot commented Jul 5, 2023

@liornoy: 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-ci
Copy link

openshift-ci bot commented Jul 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fedepaol, liornoy

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 5, 2023
@asood-rh
Copy link

asood-rh commented Jul 5, 2023

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Jul 5, 2023
@openshift-merge-robot openshift-merge-robot merged commit 6be7bca into openshift:release-4.12 Jul 5, 2023
7 checks passed
@openshift-ci-robot
Copy link

@liornoy: Jira Issue OCPBUGS-15771: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-15771 has been moved to the MODIFIED state.

In response to this:

This commit brings a fix to the metallb controller that is missing from 4.12, 4.11.

The fix:
The Reason string in Condition object can't be empty and must have atleast one character. so use condition string when it's empty.

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.

@liornoy liornoy deleted the fix-metallb-controller-reason-text branch July 5, 2023 14:01
@liornoy
Copy link
Author

liornoy commented Jul 9, 2023

/cherry-pick release-4.11

@openshift-cherrypick-robot

@liornoy: new pull request created: #177

In response to this:

/cherry-pick release-4.11

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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. 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

7 participants