-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve checking for mismatched unit workload versions
If the units of an application are running mismatched workload versions, this is normally ok (a user may have manually ran an apt upgrade for example). But if the versions are so mismatched that they are detected as being for mismatched openstack releases, then that's a problem, potentially indicating a failed upgrade on a unit for example. Eg. if one unit is running a workload version only for victoria, while the other two units are running a version for wallaby, this is a consistency problem, and COU should block an automated upgrade. COU was previously checking this case fine, but the error message was not clear. This commit improves the error message here, to clearly show: - the workload version per unit - interpreted openstack release per unit - that the information was retrieved from the unit workload information from juju This should help the user to start debugging the issue. Fixes: #487
- Loading branch information
1 parent
e9633e1
commit e74517a
Showing
2 changed files
with
31 additions
and
31 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