I have to delay the shards assignment after a failure and running this command for that
PUT _all/_settings
{
"settings": {
"index.unassigned.node_left.delayed_timeout": "5m"
}
}
Getting the following error while running this
{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "no permissions for [] and User [name=<my-email-address>, backend_roles=[admin], requestedTenant=null]"
}
],
"type" : "security_exception",
"reason" : "no permissions for [] and User [name=<my-email-address>, backend_roles=[admin], requestedTenant=null]"
},
"status" : 403
}
After a bit of research, I found a similar thread
https://forum.opensearch.org/t/no-permission-for-user-tenant-permission-error/1230
I tried to run the command from inside the Kibana EC2 instance along with certificates and got the following error
error reading X.509 key or certificate file: Error in parsing when sending certificate in Curl Request
This StackOverflow thread suggests to create new certificates
https://stackoverflow.com/questions/50390689/error-reading-x-509-key-or-certificate-file-error-in-parsing-when-sending-certi
I have two questions
- Can I apply the node delay settings some other way?
- If not, should I create new certificates? Will it cause any issues in the existing setup?