Skip to content
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

[Backport 2.x] Improve messaging on how to set initial admin password #3918

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 21c086c from #3879.

### Description
When the demo configuration script fails when no initial admin password
is set, it does not provide helpful output telling the user how to set
the initial admin password. This PR provides some helpful output
indicating what variable the user should modify in order for the setup
to succeed.

### Issues Resolved
[List any issues this PR will resolve]

Is this a backport? If so, please add backport PR # and/or commits #

### Testing
Changed test asserting output

### Check List
- [ ] New functionality includes testing
- [ ] New functionality has been documented
- [x] Commits are signed per the DCO using --signoff

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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

---------

Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit 21c086c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7efea06) 65.06% compared to head (1728f0c) 65.06%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.x    #3918      +/-   ##
==========================================
- Coverage   65.06%   65.06%   -0.01%     
==========================================
  Files         297      297              
  Lines       21007    21008       +1     
  Branches     3442     3442              
==========================================
  Hits        13668    13668              
- Misses       5632     5634       +2     
+ Partials     1707     1706       -1     
Files Coverage Δ
...y/tools/democonfig/SecuritySettingsConfigurer.java 74.10% <100.00%> (+0.18%) ⬆️

... and 3 files with indirect coverage changes

@peternied peternied merged commit 0da8452 into 2.x Jan 4, 2024
88 checks passed
@peternied peternied deleted the backport/backport-3879-to-2.x branch January 4, 2024 21:20
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