-
Notifications
You must be signed in to change notification settings - Fork 280
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] Security Plugin does not have batch script for install demo configurations for windows #2148
Comments
[Triaged] @cwperks Can you please follow up with peterzhuamazon regarding this issue. |
@peterzhuamazon @bbarani The script for the batch file of According to the discussion on here (opensearch-project/OpenSearch#4942) - one solution is for core to revert a recent change that prevents opensearch nodes to be brought up on the github runners and re-work the change. |
Thanks @cwperks waiting for the backport of this: |
@cwperks opensearch-project/OpenSearch#4949 has been merged. |
Thank you @minalsha and @peterzhuamazon ! Would it be possible to create another snapshot distribution with the change included. We pull the snapshot distribution from here: https://github.com/opensearch-project/security/pull/2161/files#diff-3e971aab38c741b1cb89584068ce23192213a18b1ecc885ac7b450bf5a5bb86eR89 |
Hi @cwperks Im working on that right now might take some time. |
Ignore my last comment it is quicker than I think: |
The most recent windows plugin-install new CI step has completed successfully with the new snapshot build! https://github.com/opensearch-project/security/actions/runs/3340448709/jobs/5530552763 |
Closing this ticket since the Batch script is merged. I will file a new issue with the |
As a follow up to this issue:
#2122
The install demo configuration script is only available in Shell form.
This means it is not possible to run it in Windows env.
In ODFE we run the script pre-configured for user in LINUX machine before assembling the windows zip.
We have to do the same now for OpenSearch: opensearch-project/opensearch-build#2704.
The above is a temporary solution and we achieve this change by utilizing the mingw env within the windows jenkins agent, simulating a linux shell env to generate the demo certs, or the start up of the cluster will fail with security installed.
We think it is a better solution if security team can provide a batch file version of the install demo configuration script so we can resolve this issue natively on Windows without the need to pre-populate the certs for users, or simulating a LINUX shell env on Windows, as it is not done in Tarball as of yet.
Thanks.
The text was updated successfully, but these errors were encountered: