Skip to content

Update -PinstalledPlugins documentation to reflect opensearch-security plugin requirements - #22469

Merged
reta merged 1 commit into
opensearch-project:mainfrom
reta:fix.docs
Jul 14, 2026
Merged

Update -PinstalledPlugins documentation to reflect opensearch-security plugin requirements#22469
reta merged 1 commit into
opensearch-project:mainfrom
reta:fix.docs

Conversation

@reta

@reta reta commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Update -PinstalledPlugins documentation to reflect opensearch-security plugin requirements. Running ./gradlew run -PinstalledPlugins="['opensearch-security']" fails with:

» [2026-07-14T13:56:38,082][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [runTask-0] fatal error in thread [main], exiting
»  java.lang.NoClassDefFoundError: org/bouncycastle/jcajce/provider/BouncyCastleFipsProvider
»       at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
»       at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:2985)
»       at java.base/java.lang.Class.getConstructors(Class.java:2025)
»       at org.opensearch.plugins.PluginsService.loadPlugin(PluginsService.java:906)
»       at org.opensearch.plugins.PluginsService.loadBundle(PluginsService.java:874)
»       at org.opensearch.plugins.PluginsService.loadBundles(PluginsService.java:657)
»       at org.opensearch.plugins.PluginsService.<init>(PluginsService.java:227)
»       at org.opensearch.node.Node.<init>(Node.java:576)
»       at org.opensearch.node.Node.<init>(Node.java:504)
»       at org.opensearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:264)
»       at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:264)
»       at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:426)
»       at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:168)
»       at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:159)
»       at org.opensearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:110)
»       at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
»       at org.opensearch.cli.Command.main(Command.java:101)
»       at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:125)
»       at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:91)
»  Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider

Setting crypto.standard explicitly eliminates the issue: ./gradlew run -PinstalledPlugins="['opensearch-security']" -Pcrypto.standard=FIPS-140-3 (since BC dependencies are going to be bundled).

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…y plugin requirements

Signed-off-by: Andriy Redko <drreta@gmail.com>
@reta
reta requested a review from a team as a code owner July 14, 2026 17:58
Comment thread build.gradle
@github-actions

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions

Copy link
Copy Markdown
Contributor

✅ Gradle check result for 2c53a09: SUCCESS

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.42%. Comparing base (d69286a) to head (2c53a09).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #22469      +/-   ##
============================================
- Coverage     73.44%   73.42%   -0.03%     
+ Complexity    76488    76445      -43     
============================================
  Files          6104     6104              
  Lines        346576   346578       +2     
  Branches      49885    49886       +1     
============================================
- Hits         254558   254482      -76     
- Misses        71736    71836     +100     
+ Partials      20282    20260      -22     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@reta
reta merged commit 57720f4 into opensearch-project:main Jul 14, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants