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

Bug 2100220: Fix completed pods releasing IP address on update #1158

Merged
merged 2 commits into from Jul 6, 2022

Conversation

trozet
Copy link
Contributor

@trozet trozet commented Jun 22, 2022

Clean backport from upstream

Previous to generic watcher/retry library we would pass the newer object
to be processed as a delete when there was an update to its status to
indicate the object was complete. In the pod deletion path there is
another check for podCompleted. This check will fail on the older
object, so we need to pass the new which will include the the terminal
status as well as latest ovnk annotations on the object.

Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 4ceb0ae)
The pods were being incorrectly created with the expected IP already
present in pod status field...before it was ever even allocated by OVNK.
This would cause the tests to function incorrectly as OVNK checks this
field to know whether or not it is safe to deallocate IPs (in case any
other pod has a duplicate IP).

Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 2a17c21)
@openshift-ci openshift-ci bot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Jun 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2022

@trozet: This pull request references Bugzilla bug 2100220, which is invalid:

  • expected the bug to target the "4.11.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 2100220: Fix completed pods releasing IP address on update

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.

@trozet
Copy link
Contributor Author

trozet commented Jun 22, 2022

/bugzilla refresh

@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Jun 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2022

@trozet: This pull request references Bugzilla bug 2100220, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @anuragthehatter

In response to this:

/bugzilla refresh

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.

@ricky-rav
Copy link
Contributor

/lgtm
Thanks, Tim!

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

openshift-ci bot commented Jun 22, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ricky-rav, trozet

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-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD b56a7ba and 8 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD b56a7ba and 7 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD b56a7ba and 6 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD aa43c16 and 5 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD aa43c16 and 4 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD aa43c16 and 3 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD 13f9329 and 2 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD 13f9329 and 1 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 13f9329 and 0 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 1b4e65f was retested 9 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 23, 2022
@trozet
Copy link
Contributor Author

trozet commented Jun 27, 2022

/hold cancel

@trozet
Copy link
Contributor Author

trozet commented Jun 27, 2022

/retest-required

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 27, 2022
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD dd08aab and 8 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD dd08aab and 7 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD dd08aab and 6 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD 6cce6d8 and 5 for PR HEAD 1b4e65f in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD 6cce6d8 and 4 for PR HEAD 1b4e65f in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 6, 2022

@trozet: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-vsphere-windows 1b4e65f link false /test e2e-vsphere-windows
ci/prow/e2e-openstack-ovn 1b4e65f link false /test e2e-openstack-ovn
ci/prow/e2e-aws-ovn-serial 1b4e65f link false /test e2e-aws-ovn-serial
ci/prow/okd-e2e-gcp-ovn 1b4e65f link false /test okd-e2e-gcp-ovn
ci/prow/e2e-aws-ovn-windows 1b4e65f link false /test e2e-aws-ovn-windows
ci/prow/e2e-vsphere-ovn 1b4e65f link false /test e2e-vsphere-ovn

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-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 6cce6d8 and 3 for PR HEAD 1b4e65f in total

@openshift-ci openshift-ci bot merged commit 7bd72af into openshift:master Jul 6, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 6, 2022

@trozet: All pull requests linked via external trackers have merged:

Bugzilla bug 2100220 has been moved to the MODIFIED state.

In response to this:

Bug 2100220: Fix completed pods releasing IP address on update

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.

@tssurya
Copy link
Contributor

tssurya commented Jul 7, 2022

/cherry-pick release-4.11

@openshift-cherrypick-robot

@tssurya: new pull request created: #1176

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. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. 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

5 participants