Merge lp:~wallyworld/juju-core/upgrade-remove-old-config into lp:~go-bot/juju-core/trunk
Proposed by
Ian Booth
Status: | Merged |
---|---|
Approved by: | Ian Booth |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2374 |
Proposed branch: | lp:~wallyworld/juju-core/upgrade-remove-old-config |
Merge into: | lp:~go-bot/juju-core/trunk |
Prerequisite: | lp:~axwalk/juju-core/upgrade-syslog-port |
Diff against target: |
282 lines (+161/-12) 9 files modified
cmd/jujud/upgrade_test.go (+6/-0) provider/openstack/config.go (+12/-5) provider/openstack/config_test.go (+22/-6) upgrades/deprecatedattributes.go (+30/-0) upgrades/deprecatedattributes_test.go (+83/-0) upgrades/export_test.go (+1/-0) upgrades/steps118.go (+5/-0) upgrades/steps118_test.go (+1/-0) upgrades/systemsshkey_test.go (+1/-1) |
To merge this branch: | bzr merge lp:~wallyworld/juju-core/upgrade-remove-old-config |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+208986@code.launchpad.net |
Description of the change
Deprecated attributes upgrader
Previous versions of Juju will have left deprecated
attributes hanging around in the environment. This
upgrader will remove such attributes from env state.
eg default-image-id which is ignored will be put
into env state. This upgrader removes it. Also,
the deprecated attributes are no longer propagated
when a new env config is made.
To post a comment you must log in.
Reviewers: mp+208986_ code.launchpad. net,
Message:
Please take a look.
Description:
Deprecated attributes upgrader
Previous versions of Juju will have left deprecated
attributes hanging around in the environment. This
upgrader will remove such attributes from env state.
eg default-image-id which is ignored will be put
into env state. This upgrader removes it. Also,
the deprecated attributes are no longer propagated
when a new env config is made.
https:/ /code.launchpad .net/~wallyworl d/juju- core/upgrade- remove- old-config/ +merge/ 208986
Requires: /code.launchpad .net/~axwalk/ juju-core/ upgrade- syslog- port/+merge/ 208724
https:/
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/70230049/
Affected files (+165, -16 lines): machine. go upgrade_ test.go openstack/ config. go openstack/ config_ test.go deprecatedattri butes.go deprecatedattri butes_test. go export_ test.go steps118. go steps118_ test.go systemsshkey_ test.go
A [revision details]
M cmd/jujud/
M cmd/jujud/unit.go
M cmd/jujud/
M cmd/logging.go
M cmd/logging_test.go
M provider/
M provider/
A upgrades/
A upgrades/
M upgrades/
M upgrades/
M upgrades/
M upgrades/