-
Notifications
You must be signed in to change notification settings - Fork 96
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] Can't upload configuration #96
Comments
|
It seems the Playbook isn't supplying needed configuration files:
|
Where does the |
This bug was introduced in 436136d |
@peterzhuamazon @ssi444 I had to apply the following change (reverting a part of mentioned commit) for the playbook to work, when configured with internal authentication: I suppose there should be be added some kind of "else" clause to the "when ... 'oidc'..." to handle both configuration cases (internal & oidc) |
I checked on version 1.3, I haven't looked at version 2 yet. I'll see how the time is and I'll write. |
This file is in the OpenSearch package. With auth_type 'internal', this file is simply not overwritten and that's it |
In version 2.x, the security plugin files were moved from the {os_home}/plugins/opensearch-security/securityconfig directory to the {os_home}/config/opensearch-security directory. To work correctly, you need to change the value of the os_sec_plugin_conf_path variable in the inventories/opensearch/group_vars/all/all.yml file I had this
It became so
|
Thus, I made only 3 changes to my configuration in order to deploy a cluster of version 2.3.0 instead of a cluster of version 1.3.2
|
There is another pitfall associated with
and
|
@ssi444 This helped a lot, thanks! Edit: Although I edited it in |
Fixed in #80 |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
inventories/opensearch/hosts
andinventories/opensearch/group_vars/all/all.yml
2.1 Fix various other problems with the Playbook, already mentioned in the Issues, which hinder the Playbook getting this far
ansible-playbook -i inventories/opensearch/hosts opensearch.yml --extra-vars "admin_password=Test@123 kibanaserver_password=Test@6789" --become
Security Plugin configuration | Initialize the opensearch security index in opensearch
Expected behavior
I expect the Playbook to run successfully and not into errors.
Playbook Name
roles/linux/opensearch/tasks/security.yml
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: