Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue summary
In the minio operator console, when creating a tenant, the user is not able to select any different EC Parity than an invalid
EC:4
orEC:2
.See #1901 for more details
Test summary
Test 0 - Reproduce issue on master.
EC:8,7,6,5,4,3,2
, THEN a 1 node 1 drive configuration were selected that those same paritiesEC:8,7,6,5,4,3,2
are selectable still, even though they cannot be applied to a 1 node 1 drive configuration.Fix on recommend-trivial-parity branch
Test 1 - As reported by user, attempt to create a tenant with 1 node and 1 drive with 1GiB storage Observe valid parity EC:0 is now available
Test 2 - Actually create the tenant and validate its storage
Verbose tests here:
https://github.com/allanrogerr/public/wiki/operator%E2%80%901901
Fixes: #1901