refuse to scale if clustering is not enabled

Bug #1901963 reported by Paul Collins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-k8s-mattermost
Triaged
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)
Changed in charm-k8s-mattermost:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.