refuse to scale if clustering is not enabled

Bug #1901963 reported by Paul Collins on 2020-10-29
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-k8s-mattermost
Medium
Unassigned

Bug Description

If clustering is not enabled, more than one unit doesn't make sense and in fact will probably cause problems.

To enable clustering, an Enterprise Edition licence must be installed.

Unfortunately, it's not possible for Juju charms to refuse scaling requests: https://discourse.juju.is/t/scale-application-vs-application-requirements/3750

So the best we can do here is to set the charm status to blocked with a suitable error message if the scale > 1 and clustering is not enabled.

Paul Collins (pjdc) on 2020-10-29
Changed in charm-k8s-mattermost:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers