For the charm at a minimum let's create a sanity check on the replication configuration.
Partition-power defaults to 8. This seems like a nearly impossible task to predict the correct default for all situations. Ultimately, the value is configurable and we can't stop people from failing to adjust this value.
But since we have seen this fail in the wild let's explore Drew's suggestion of making ring initialization an action that can be performed post deployment. This would force consideration of the implications of all pertinent replication settings.
Another option is to remove the replication configuration settings' defaults making the charm go into blocked state until they are set also forcing consideration of their implications.
For the charm at a minimum let's create a sanity check on the replication configuration.
Partition-power defaults to 8. This seems like a nearly impossible task to predict the correct default for all situations. Ultimately, the value is configurable and we can't stop people from failing to adjust this value.
But since we have seen this fail in the wild let's explore Drew's suggestion of making ring initialization an action that can be performed post deployment. This would force consideration of the implications of all pertinent replication settings.
Another option is to remove the replication configuration settings' defaults making the charm go into blocked state until they are set also forcing consideration of their implications.