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

Insufficient permission for opensearch startup error reporting[BUG] #125

Open
suwei999 opened this issue Jun 2, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@suwei999
Copy link

suwei999 commented Jun 2, 2023

I deployed the opensearch cluster using k8s, and during the startup process, I found an error with insufficient permissions, but it did not affect the normal startup and use of the cluster. The detailed error report is as follows:

[root@master01 ~]# kubectl logs opensearch-cluster-master-0
Enabling execution of install_demo_configuration.sh for OpenSearch Security Plugin


** This tool will be deprecated in the next major release of OpenSearch **
** opensearch-project/security#1755 **


OpenSearch Security Demo Installer
** Warning: Do not use on production or public reachable systems **
Basedir: /usr/share/opensearch
OpenSearch install type: rpm/deb on NAME="Amazon Linux"
OpenSearch config dir: /usr/share/opensearch/config
OpenSearch config file: /usr/share/opensearch/config/opensearch.yml
OpenSearch bin dir: /usr/share/opensearch/bin
OpenSearch plugins dir: /usr/share/opensearch/plugins
OpenSearch lib dir: /usr/share/opensearch/lib
Detected OpenSearch Version: x-content-2.0.0
Detected OpenSearch Security Version: 2.0.0.0

tee: /usr/share/opensearch/config/opensearch.yml: Permission denied

@suwei999 suwei999 added bug Something isn't working untriaged Issues that have not yet been triaged labels Jun 2, 2023
@dblock dblock transferred this issue from opensearch-project/OpenSearch Jun 6, 2023
@prudhvigodithi prudhvigodithi removed the untriaged Issues that have not yet been triaged label Jun 8, 2023
@prudhvigodithi
Copy link
Collaborator

[Untriage]
@suwei999 can you share the manifests you are using with k8s. Did you try using the supported helm-charts or k8s operator?
https://github.com/opensearch-project/helm-charts
https://github.com/Opster/opensearch-k8s-operator

@prudhvigodithi prudhvigodithi added question Further information is requested and removed bug Something isn't working labels Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Backlog
Development

No branches or pull requests

2 participants