Steps to reproduce
Deploy an opensearch application with an invalid role (Example juju deploy --channel 2/edge opensearch --config roles="bad_role".
Expected behavior
The charm should be blocked complaining about an invalid role.
Actual behavior
The charm is not blocked and the role is set in the deployment description without any issues raised. The fix would be to validate the role based on a list of roles that are accepted by opensearch.
Charm revision:
LXD:
Log output
Juju debug log:
Additional context
Steps to reproduce
Deploy an opensearch application with an invalid role (Example
juju deploy --channel 2/edge opensearch --config roles="bad_role".Expected behavior
The charm should be blocked complaining about an invalid role.
Actual behavior
The charm is not blocked and the role is set in the deployment description without any issues raised. The fix would be to validate the role based on a list of roles that are accepted by opensearch.
Charm revision:
LXD:
Log output
Juju debug log:
Additional context