Closed rodolfovillordo closed 1 year ago
Hi @rodolfovillordo thanks for the contribution. I am just a bit confused why it is not needed in multi-node setup but only requires in single node? @prudhvigodithi
Hi @peterzhuamazon I havent tried to deploy a multi-node cluster yet. Those steps was the ones I've done when I identified the error. I've just tried on a multi-node deployment and experienced the same behavior:
TASK [linux/opensearch : Security Plugin configuration | Copy the opensearch security internal users template] ******************************************************************************************************************************************************************************************************************************************************************************
fatal: [os1]: FAILED! => {"changed": false, "checksum": "17c615cd8e9089aedb31891e7aedd1ff8fa32318", "msg": "Destination directory /usr/share/opensearch/plugins/opensearch-security/securityconfig does not exist"}
NO MORE HOSTS LEFT **************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
PLAY RECAP **********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
os1 : ok=27 changed=22 unreachable=0 failed=1 skipped=10 rescued=0 ignored=0
os2 : ok=20 changed=17 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
os3 : ok=20 changed=17 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
os4 : ok=20 changed=17 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
os5 : ok=20 changed=17 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
New findings, 1.x and 2.x using different folders for security plugin configs. https://github.com/opensearch-project/ansible-playbook/issues/80#issuecomment-1267371652
Need one more PR for the 2.x.
Signed-off-by: Rodolfo Camara Villordo rodolfovillordo@gmail.com
Description
Fix missing plugin configuration directory
Issues Resolved
https://github.com/opensearch-project/ansible-playbook/issues/80
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.