-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary of changes: - Added remove and upgrade integration test that reproduced the issue. - Added upgrade event handler. - Modified K8S resources installation to use forced conflict resolution in upgrade path. - Added error handling and logging to indicate conflict scenario. - Modified code to apply and then apply with conflict resoltion as suggested in K8S docs. - Added remove_without_resources test case. This should complete remove/upgrade test suite. - Manually merged GenericCharmRuntimeError. - Updated unit tests. - Updated logging. - Updated doc string. - Changed log message to indicate what happened. Still having error message displayed for clarity. - Moved MaintenanceStatus to apply() to make clearer what is going on. NOTES: - `install` event handler needs to be looked at. Applying K8S resources in install event handler might create some issues as described in other repos/PRs. This was introduced some time ago to speed up deployment. Now it is proposed to review/remove it. - Use of Chisme update layer should be added as well. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Maksim Beliaev <beliaev.m.s@gmail.com> Co-authored-by: Daniela Plascencia <daniela.plascencia@canonical.com>
- Loading branch information
1 parent
a80b922
commit 2149ca3
Showing
3 changed files
with
195 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters