Descriptionstate: upgrade charm for services/units
This introduces the following changes:
- Service.SetCharm now performs validation on the
configuration when changing the charm to ensure
what's about to be set is compatible with the
current service's charm. Also introduces multiple
settings per service (one for each unique charm URL),
and uses reference counting to manage these and clean
them up.
- Unit.SetCharmURL does more sanity checks before
changing the unit's charm and also maintains the
reference counts of service settings.
Fixes LP bug #1063621.
This CL was reverted before in r943, now reintroduced
and made to work with current trunk.
https://code.launchpad.net/~dimitern/juju-core/015-charm-upgrade-settings-refs/+merge/153853
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 15
Patch Set 2 : state: upgrade charm for services/units #
Total comments: 33
Patch Set 3 : state: upgrade charm for services/units #
Total comments: 16
Patch Set 4 : state: upgrade charm for services/units #Patch Set 5 : state: upgrade charm for services/units #Patch Set 6 : state: upgrade charm for services/units #
MessagesTotal messages: 12
|