Permalink
Please sign in to comment.
Browse files
Merge pull request #1906 from wallyworld/fix-certs-on-boot
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/)
- Loading branch information...
Showing
with
146 additions
and 15 deletions.
- +7 −0 cert/cert.go
- +19 −2 cert/cert_test.go
- +53 −1 cmd/jujud/agent/machine.go
- +45 −0 cmd/jujud/agent/machine_test.go
- +1 −1 environs/config/config.go
- +9 −4 mongo/mongo.go
- +6 −4 worker/certupdater/certupdater.go
- +6 −3 worker/certupdater/certupdater_test.go
0 comments on commit
97028ee