-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] java.lang.IllegalArgumentException: unknown setting [node] please check that any required plugins are installed #132
Comments
@opensearch-project/transfer-request |
moving to helm-charts. If you think that was an error, please lmk. :) |
Not sure if it's helm specifically or a problem with the codebase itself |
@samirmajen Did you use the official helm chart for opensearch? |
Yep |
Looks like it doesn't like the env vars node.0 node.1 and node.2 which are in the official chart |
Faced the same issue, removing the env vars (these lines from the statefulset definition) helped. |
@tomasodehnal did you get it stable after that? I then get tls errors [opensearch-cluster-master-2] OpenSearchException[Illegal parameter in http or transport request found. |
@samirmajen Beside the env vars I performed no other changes and fresh installation without any custom values worked. Are you using demo certs? |
I am also facing this problem when moving from Chart 1.2.4 to 1.3.0.
to
|
yes these values are the issue, as @tomasodehnal mentioned switching to a previous helm version fixes the issue. The only changes between versions are those env vars. Erbzn your values are the wrong way round, the incorrect ones are:
These should be changed to :
|
Thanks guys for the investigation, would love if any of you could issue a PR for the fix. @erbzn @samirmajen @tomasodehnal Thanks. |
@peterzhuamazon PR sent. The new environment variable |
Describe the bug
Running the latest version of opensearch (1.1.0) as a helm template in kubernetes gives the following error in the logs:
uncaught exception in thread [main]
java.lang.IllegalArgumentException: unknown setting [node] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:557)
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:502)
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:473)
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:444)
at org.opensearch.common.settings.SettingsModule.(SettingsModule.java:162)
at org.opensearch.node.Node.(Node.java:417)
at org.opensearch.node.Node.(Node.java:301)
at org.opensearch.bootstrap.Bootstrap$5.(Bootstrap.java:240)
at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:240)
at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:406)
at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:182)
at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:173)
at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99)
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
at org.opensearch.cli.Command.main(Command.java:103)
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:139)
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:105)
For complete error details, refer to the log at /usr/share/opensearch/logs/opensearch-cluster.log
The log file /usr/share/opensearch/logs/opensearch-cluster.log is empty
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Opensearch cluster should start up successfully
Plugins
Please list all plugins currently enabled.
opensearch-alerting
opensearch-anomaly-detection
opensearch-asynchronous-search
opensearch-cross-cluster-replication
opensearch-index-management
opensearch-job-scheduler
opensearch-knn
opensearch-notebooks
opensearch-performance-analyzer
opensearch-reports-scheduler
opensearch-security
opensearch-sql
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: