Skip to content

Bug 1903206: Check Ready condition status in Endpointslices#229

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
frobware:routes-traffic-bz-1903206
Dec 3, 2020
Merged

Bug 1903206: Check Ready condition status in Endpointslices#229
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
frobware:routes-traffic-bz-1903206

Conversation

@frobware
Copy link
Copy Markdown
Contributor

@frobware frobware commented Dec 2, 2020

When aggregating endpointslices check the Ready condition status. If
it is not ready then accumulate those addresses into the
NotReadyAddresses bucket. Although the router doesn't actually
use NotReadyAddresses we set this to have a faithful and technically
correct translation of EndpointSlices to Endpoints.

EndpointSlices were introduced in 4.6: see #154

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1903206

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent 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. labels Dec 2, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@frobware: This pull request references Bugzilla bug 1903206, which is valid. The bug has been moved to the POST state. 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.7.0) matches configured target release for branch (4.7.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
Details

In response to this:

Bug 1903206: Check Ready condition status in Endpointslices

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 2, 2020
When aggregating endpointslices check the Ready condition status. If
it is not ready then accumulate those addresses into the
NotReadyAddresses bucket.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1903206
@frobware frobware force-pushed the routes-traffic-bz-1903206 branch from ca81802 to 1ac9774 Compare December 2, 2020 12:23
@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 2, 2020

/cherry-pick 4.6

@openshift-cherrypick-robot
Copy link
Copy Markdown

@frobware: once the present PR merges, I will cherry-pick it on top of 4.6 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick 4.6

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.

@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 2, 2020

[sig-apps] ReplicaSet should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s]
[sig-apps] ReplicationController should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s]
[sig-network] pods should successfully create sandboxes by getting pod
[sig-network] pods should successfully create sandboxes by reading container

/retest

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@frobware: This pull request references Bugzilla bug 1903206, which is valid.

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

In response to this:

Bug 1903206: Check Ready condition status in Endpointslices

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.

Comment thread pkg/router/controller/router_controller.go
Comment thread pkg/router/controller/router_controller.go
@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 2, 2020

73 unit test failures.

/test e2e-agnostic

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@frobware: This pull request references Bugzilla bug 1903206, which is valid.

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

In response to this:

Bug 1903206: Check Ready condition status in Endpointslices

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.

@Miciah
Copy link
Copy Markdown
Contributor

Miciah commented Dec 2, 2020

/lgtm

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: frobware, Miciah

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 openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2020
@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 2, 2020

/retest

@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 2, 2020

 Using must-gather plug-in image: registry.redhat.io/openshift4/ose-must-gather:latest
Unable to connect to the server: dial tcp 35.237.165.255:6443: i/o timeout

/retest

@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 2, 2020

[sig-apps] ReplicationController should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s]
[sig-apps] ReplicaSet should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s]

/retest

@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 3, 2020

[sig-apps] ReplicaSet should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s]: [sig-apps] ReplicaSet should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s] 
[sig-apps] ReplicationController should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s] 
[sig-network] pods should successfully create sandboxes by writing network status 	0s
[sig-network] pods should successfully create sandboxes by getting pod 	0s
[sig-network] pods should successfully create sandboxes by reading container 	0s

/retest

@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 3, 2020

Test failures:

[sig-apps] ReplicationController should serve a basic image on each replica with a private image [Suite:openshift/conformance/parallel] [Suite:k8s] 
[sig-apps] ReplicaSet should serve a basic image on each replica with a private image

@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 3, 2020

Re:

[sig-network] pods should successfully create sandboxes by writing network status 	0s
[sig-network] pods should successfully create sandboxes by getting pod 	0s
[sig-network] pods should successfully create sandboxes by reading container

The pod unit test failures look like they are covered by this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1882750#c29

@openshift-merge-robot openshift-merge-robot merged commit 7b1d754 into openshift:master Dec 3, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

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

Bugzilla bug 1903206 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1903206: Check Ready condition status in Endpointslices

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

@frobware: cannot checkout 4.6: error checking out 4.6: exit status 1. output: error: pathspec '4.6' did not match any file(s) known to git

Details

In response to this:

/cherry-pick 4.6

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.

@frobware
Copy link
Copy Markdown
Contributor Author

frobware commented Dec 3, 2020

/cherry-pick release-4.6

@openshift-cherrypick-robot
Copy link
Copy Markdown

@frobware: new pull request created: #230

Details

In response to this:

/cherry-pick release-4.6

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.

frobware added a commit to frobware/router that referenced this pull request Dec 3, 2020
Moved the existing utility function into endpointsubset package. Added
unit tests to assert on EndpointSlices having Ready/NotReady
conditions.

Follow on from openshift#229
frobware added a commit to frobware/router that referenced this pull request Dec 3, 2020
Moved the existing utility function into endpointsubset package. Added
unit tests to assert on EndpointSlices having Ready/NotReady
conditions.

Follow on from openshift#229
frobware added a commit to frobware/router that referenced this pull request Dec 3, 2020
Moved the existing utility function into endpointsubset package. Added
unit tests to assert on EndpointSlices having Ready/NotReady
conditions.

Follow on from openshift#229
frobware added a commit to frobware/router that referenced this pull request Dec 3, 2020
Moved the existing utility function into endpointsubset package. Added
unit tests to assert on EndpointSlices having Ready/NotReady
conditions.

Follow on from openshift#229
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/router that referenced this pull request Dec 4, 2020
Moved the existing utility function into endpointsubset package. Added
unit tests to assert on EndpointSlices having Ready/NotReady
conditions.

Follow on from openshift#229
@frobware frobware deleted the routes-traffic-bz-1903206 branch May 1, 2024 12:04
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-urgent Referenced Bugzilla bug's severity is urgent 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.

6 participants