[Upgrade] Keep the same Paths
set for the old snap until unit is free to upgrade
#271
Labels
enhancement
New feature or request
At upgrade, two things should happen: (1) the
refresh
, which replaces the charm for the new charm version; and (2) the unit must wait for its turn to eventually be able to upgrade to the new version.Therefore, for a certain time, we need to account the original
Paths
and following env. variables must be created with the old values. Besides, we also must account to the factPaths
will be upgraded within a hook, where it will:During this time, we need to be able to update
Paths
and environment variables accordingly.With current #242, this is the error that happens at this stage:
The text was updated successfully, but these errors were encountered: