Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Merge pull request #1906 from wallyworld/fix-certs-on-boot #1907
Conversation
|
$$fixed-1434680$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Does not match ['fixes-1434544', 'fixes-1434680'] |
|
$$fixes-1434680$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$fixes-1434680$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$fixes-1434680$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$fixes-1434680$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
wallyworld commentedMar 23, 2015
Fix server cert on machine agent startup
Fixes: https://bugs.launchpad.net/bugs/1434680
This fix contains the 1.22 fix done by Menno plus new work required for 1.23.
The 1.22 fix ensures that when the state server certificate is updated, its DNSNames contains "local" and "juju-apiserver" and "juju-mongodb".
This 1.23 fix extends that by upgrading the state server cert as soon as the machine agent starts. This is because of an unrelated piece of work which updates the mongo upstart conf and caused mongo to restart. So this fix needs to occur right at the start of the machine agent startup, before EnsureServer() is called.
(Review request: http://reviews.vapour.ws/r/1229/)
(Review request: http://reviews.vapour.ws/r/1230/)