Descriptionupgrades: Local provider 1.16 to 1.18 migration
This adds a couple of utility methods:
- agent.MigrateConfig() - allows to atomically
change and save an existing agent config (only DataDir,
LogDir, Jobs or Values);
- agent.PatchConfig (only for tests) - to facilitate
testing of the above.
Then, we add an upgrade step for migrating existing
1.16 local environments to 1.18, including:
- agent config (DataDir, LogDir, Jobs, Values)
- rsyslog configuration and setup
- environment config (container and namespace settings)
- removing deprecated stuff (shared-storage dir and the
related settings in the agent config).
In addition, a few changes and drive-by fixes were done
to related packages.
Tested extensively live using a 1.16 local environment
upgrading to 1.18.
https://code.launchpad.net/~dimitern/juju-core/340-lp-1291400-1.16-to-1.18-agent-config-migration/+merge/211560
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 16
Patch Set 2 : upgrades: Local provider 1.16 to 1.18 migration #
Total comments: 2
Patch Set 3 : upgrades: Local provider 1.16 to 1.18 migration #
MessagesTotal messages: 5
|