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

apiserver: fix data race on tls config #5455

Merged
merged 1 commit into from May 26, 2016
Merged

apiserver: fix data race on tls config #5455

merged 1 commit into from May 26, 2016

Conversation

davecheney
Copy link
Contributor

@davecheney davecheney commented May 25, 2016

Fixes LP 1518806
Fixes LP 1519097

Pass a copy of the current TLS config to the TLS server for the
accepted connection. This fixes a race where updateCertificate may
mutate its config, a reference to which has been passed to all the
active TLS connections.

This bug is at the bottom of a chain of other data race blockers so we
can remove a bunch of test skips under the race detector.

(Review request: http://reviews.vapour.ws/r/4896/)

Fixes LP 1518806
Fixes LP 1519097

Pass a _copy_ of the current TLS config to the TLS server for the
accepted connection. This fixes a race where updateCertificate may
mutate its config, a reference to which has been passed to _all_ the
active TLS connections.

This bug is at the bottom of a chain of other data race blockers so we
can remove a bunch of test skips under the race detector.
@davecheney
Copy link
Contributor Author

$$merge$$

1 similar comment
@davecheney
Copy link
Contributor Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented May 25, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented May 25, 2016

Build failed: Does not match ['fixes-1577945']
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/7863

@davecheney
Copy link
Contributor Author

$$fixes-1518806$$

@jujubot
Copy link
Collaborator

jujubot commented May 26, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented May 26, 2016

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/7864

@davecheney
Copy link
Contributor Author

$$fixes-1518806$$

@jujubot
Copy link
Collaborator

jujubot commented May 26, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented May 26, 2016

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/7865

@davecheney
Copy link
Contributor Author

$$fixes-1518806$$

@jujubot
Copy link
Collaborator

jujubot commented May 26, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 9fb1a31 into juju:master May 26, 2016
@davecheney davecheney deleted the fixedbugs/1518806 branch May 26, 2016 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants