Error while adding S3 datasource

2.13 (relevant - OpenSearch/Dashboard/Server OS/Browser):

Hello all,

I am trying to add S3 datasource and i am getting below error message

{
“status”: 403,
“error”: {
“type”: “OpenSearchSecurityException”,
“reason”: “There was internal problem at backend”,
“details”: “no permissions for [cluster:admin/opensearch/ql/datasources/create] and User [name\u003dkibanaserver, backend_roles\u003d, requestedTenant\u003d__user__]”
}
}

Configuration:


I have also tried to use opensearch port 9200 for AWS index store

Relevant Logs or Screenshots:

2024-04-11T15:37:46,706][WARN ][o.o.p.c.u.JsonConverter ] [awuavopsa01.citc.health.nsw.gov.au] Json Mapping Error: Cannot invoke “java.lang.Long.longValue()” because “this.cacheMaxSize” is null (through reference chain: org.opensearch.performanceanalyzer.collectors.CacheConfigMetricsCollector$CacheMaxSizeStatus[“Cache_MaxSize”])
[2024-04-11T15:37:50,013][INFO ][o.o.s.p.PrivilegesEvaluator] [awuavopsa01.citc.health.nsw.gov.au] No cluster-level perm match for User [name=kibanaserver, backend_roles=, requestedTenant=user] Resolved [aliases=[], allIndices=[], types=[], originalRequested=[], remoteIndices=] [Action [cluster:admin/opensearch/ql/datasources/create]] [RolesChecked [own_index, kibana_server]]. No permissions for [cluster:admin/opensearch/ql/datasources/create]
[2024-04-11T15:37:50,104][INFO ][o.o.s.p.PrivilegesEvaluator] [awuavopsa01.citc.health.nsw.gov.au] No cluster-level perm match for User [name=kibanaserver, backend_roles=, requestedTenant=user] Resolved [aliases=[], allIndices=[], types=[], originalRequested=[], remoteIndices=] [Action [cluster:admin/opensearch/ppl]] [RolesChecked [own_index, kibana_server]]. No permissions for [cluster:admin/opensearch/ppl]
[2024-0

I was using wrong user, should have been admin.

1 Like