[BUG] OpenSearchNodesClient#info
is unable to parse custom roles
#893
Labels
bug
Something isn't working
OpenSearchNodesClient#info
is unable to parse custom roles
#893
What is the bug?
When a node exists in the cluster having a (custom) role which is not listed in
NodeRole
, executingOpenSearchClient#nodes#info
fails with aJsonParsingException: Invalid enum 'customrole'
.How can one reproduce the bug?
Start a node in the cluster with a custom role.
What is the expected behavior?
OpenSearchClient#nodes#info
should succeed, either stripping the custom role from the list of roles of that node, or returning a collection of strings instead of enums.What is your host/environment?
Operating system, version.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: