|
Machine agent runs upgrade operations
When the machine agent starts, it runs whatever upgrade
operations are relevant according to the agents's jobs.
The upgrades need to complete before any of the workers
are started.
Changes to machine agent tests were needed because now
a machine needs to be properly provisioned for the agent to
start up, since the access to the state api will fail unless
a machine is provisioned.
Also included are some drive by fixes to some syslog and
version tests from other reviews.
https://code.launchpad.net/~wallyworld/juju-core/machine-agent-run-upgrades/+merge/208060
Requires: https://code.launchpad.net/~wallyworld/juju-core/delete-rsyslog-upgrader/+merge/208058
(do not edit description out of merge proposal)
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+388 lines, -141 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
agent/agent.go
|
View
|
1
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
agent/agent_test.go
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
agent/format-1.16.go
|
View
|
1
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/agent_test.go
|
View
|
|
5 chunks |
+18 lines, -16 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine.go
|
View
|
1
|
10 chunks |
+115 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine_test.go
|
View
|
|
22 chunks |
+68 lines, -51 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/unit_test.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
cmd/jujud/upgrade_test.go
|
View
|
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
M |
log/syslog/config_test.go
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
log/syslog/testing/syslogconf.go
|
View
|
1
|
2 chunks |
+33 lines, -28 lines |
0 comments
|
Download
|
 |
M |
state/api/apiclient.go
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
upgrades/upgrade.go
|
View
|
1
|
4 chunks |
+22 lines, -6 lines |
0 comments
|
Download
|
 |
M |
upgrades/upgrade_test.go
|
View
|
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
version/version_test.go
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5
|