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 1909502: pkg/operator: tolerate removal of etcd records from proxy config #2315
Bug 1909502: pkg/operator: tolerate removal of etcd records from proxy config #2315
Conversation
7954371
to
6ac51e1
Compare
6ac51e1
to
58af6a5
Compare
@hexfusion: This pull request references Bugzilla bug 1909502, 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
In response to this:
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. |
58af6a5
to
202e16c
Compare
/retest |
202e16c
to
952c68c
Compare
From proxy test cluster
|
@hexfusion: This pull request references Bugzilla bug 1909502, which is valid. 3 validation(s) were run on this bug
In response to this:
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. |
1 similar comment
@hexfusion: This pull request references Bugzilla bug 1909502, which is valid. 3 validation(s) were run on this bug
In response to this:
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. |
/test e2e-agnostic-upgrade |
/test e2e-aws-serial |
952c68c
to
9f8a6e1
Compare
5711f04
to
4691c78
Compare
/hold |
4691c78
to
662b8d5
Compare
/hold cancel At this point I am not 100% sure what other direction we would go here. I think this PR will mitigate any sync issues with etcd records in the NoProxy config. It seems though that a doc should be added to the release outlining manual removal of the stale records themselves. It is hard to say what the cluster might still be doing with these old etcd A records if we remove them we could break something. I think it would be reasonable to tolerate them and ask the user to remove? If someone has another solution to automating removal please let me know. cc @kikisdeliveryservice @staebler PTAL |
I'd like a successful e2e-aws run before approving (and it's reqd to merge anyway) but we're waiting on the kubelet fix upstream for ci to unblock. But just to understand we will merge this, then the two prs above, then revert this? /retest |
correct |
/test e2e-aws |
/retest |
/test e2e-ovn-step-registry |
cc @kikisdeliveryservice think CI is back ! |
/retest |
/assign @staebler |
good q above from @marun /hold |
9dc6834
to
812b23d
Compare
/hold cancel |
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
812b23d
to
81df151
Compare
Based on comments from @staebler speaking with @marun as well as reviewing API[1], we feel proxy should never contain the newline rune at end of the config. I have updated the tests to reflect. I had based my test on the BZ[2] which after looking at it further is not the actual value. [1] https://github.com/openshift/machine-config-operator/blob/master/vendor/github.com/openshift/api/config/v1/types_proxy.go#L82 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hexfusion, kikisdeliveryservice, marun 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 |
@hexfusion: The following test failed, say
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. |
@hexfusion: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with Bugzilla bug 1909502 has not been moved to the MODIFIED state. In response to this:
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. |
Since 4.4 etcd no longer has a DNS dependency. Currently, we are still passing etcd records to the proxy config which should be removed.
In order to remove the deprecated etcd records from the proxy config, we must tolerate the old etcd records.
This PR allows the toleration of this divergence providing the user a chance to update the NoProxy config and in the meantime allow CI to pass for the below PRs.
blocks: