Open ssrslm opened 1 year ago
@ssrslm, could you try to fix the access_denied_exception by making sure the application has the right access to the directory?
@ssrslm You need to ensure that the opensearch
user has permission to access /usr/share/opensearch/snapshots
. If it does not, then you can modify permissions using chown
.
Describe the bug Create repository is failing in multi node setup and the same is working if we configure as single node setup
To Reproduce Steps to reproduce the behavior:
docker-compose.yml
Expected behavior Register repository should be functional.
Plugins All default plugins are enabled
Screenshots
Error
{“error”:{“root_cause”:[{“type”:“repository_exception”,“reason”:“[testrepo] cannot create blob store”}],“type”:“repository_verification_exception”,“reason”:“[testrepo] path is not accessible on cluster-manager node”,“caused_by”:{“type”:“repository_exception”,“reason”:“[testrepo] cannot create blob store”,“caused_by”:{“type”:“access_denied_exception”,“reason”:“/usr/share/opensearch/snapshots/test_repo_location”}}},“status”:500}
Host/Environment (please complete the following information):
Additional context Need help to resolve through local docker setup or how to resolve it through OpenSearch Operator