Skip to content

Restore the service proxier when unidling is disabled #10667

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

Merged

Conversation

knobunc
Copy link
Contributor

@knobunc knobunc commented Aug 26, 2016

The unidling code change had inadvertently removed the proxier when
idling was disabled. This change restores the default proxier
(userspace or iptables depending on the config).

Bug 1370435

@knobunc
Copy link
Contributor Author

knobunc commented Aug 26, 2016

@DirectXMan12 PTAL

@knobunc
Copy link
Contributor Author

knobunc commented Aug 26, 2016

[test]

@knobunc
Copy link
Contributor Author

knobunc commented Aug 26, 2016

@DirectXMan12 on line 479 is it okay to call SyncLoop on the idler proxy (or is it even preferable?)

@DirectXMan12
Copy link
Contributor

@knobunc yeah, we should have been calling it on the hybrid proxy all along. We didn't "miss" it because the functionality in the userspace proxy's sync code is just ensurePortals and a bit of extra periodic cleanup on an internal hashmap in the loadbalancer, both of which are taken care of in some form or another at other points in the code. We do actually want to do the normal periodic checks and cleanup, so calling the hybrid proxy's SyncLoop (which calls Sync on both the iptables proxy and the unidling userspace proxy) is preferable.

@ncdc
Copy link
Contributor

ncdc commented Aug 26, 2016

[testextended][extended:core(idling)]

@knobunc knobunc force-pushed the bug/bz1370435-unidling-problem branch 2 times, most recently from ee7669d to 921da85 Compare August 26, 2016 17:08
@knobunc
Copy link
Contributor Author

knobunc commented Aug 26, 2016

[testextended][extended:core(idling)]

@knobunc knobunc force-pushed the bug/bz1370435-unidling-problem branch from 921da85 to babed07 Compare August 26, 2016 18:58
@knobunc
Copy link
Contributor Author

knobunc commented Aug 26, 2016

[testextended][extended:core(idling)]

The unidling code change had inadvertently removed the proxier when
idling was disabled.  This change restores the default proxier
(userspace or iptables depending on the config).

Bug 1370435
@knobunc knobunc force-pushed the bug/bz1370435-unidling-problem branch from babed07 to 07c01a6 Compare August 26, 2016 19:58
@knobunc
Copy link
Contributor Author

knobunc commented Aug 26, 2016

[testextended][extended:core(idling)]

@openshift-bot
Copy link
Contributor

Evaluated for origin testextended up to 07c01a6

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 07c01a6

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/testextended SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin_extended/446/) (Extended Tests: core(idling))

@ncdc
Copy link
Contributor

ncdc commented Aug 26, 2016

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented Aug 26, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8507/) (Image: devenv-rhel7_4939)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 07c01a6

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8507/)

@openshift-bot openshift-bot merged commit 66ead38 into openshift:master Aug 26, 2016
@knobunc
Copy link
Contributor Author

knobunc commented Aug 27, 2016

I entered https://bugzilla.redhat.com/show_bug.cgi?id=1370680 so we remember to reenable the UDP test.

@knobunc knobunc deleted the bug/bz1370435-unidling-problem branch October 11, 2016 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants