Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch version 2.11
Describe the issue:
I was previously using OpenSearch 2.8 with docker-compose setup then upgraded the setup from 2.8 to 2.11. After that alert was not working. Tried to add new channel and sender still It is showing the creds issues
[status_exception] {“event_status_list”: [{“config_id”:“asdasdaas1212”,“config_type”:“email”,“config_name”:“testchanneltwo”,“email_recipient_status”:[{“recipient":"somemail@gmail.com”,“delivery_status”:{“status_code”:“502”,“status_text”:“sendEmail Error, status:530 Authentication required\n”}}],“delivery_status”:{“status_code”:“502”,“status_text”:“sendEmail Error, status:530 Authentication required\n”}}]}
I’am also facing s3 bucket repo issue I cannot take or list snapshot in a repo getting weird error
{
“error”: {
“root_cause”: [
{
“type”: “repository_exception”,
“reason”: “[eventsbetsolarchive] Unexpected exception when loading repository data”
}
],
“type”: “repository_exception”,
“reason”: “[eventsbetsolarchive] Unexpected exception when loading repository data”,
“caused_by”: {
“type”: “sdk_client_exception”,
“reason”: “Unable to load region from any of the providers in the chain software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain@10943e64: [software.amazon.awssdk.regions.providers.SystemSettingsRegionProvider@78b1ae40: Unable to load region from system settings. Region must be specified either via environment variable (AWS_REGION) or system property (aws.region)., software.amazon.awssdk.regions.providers.AwsProfileRegionProvider@378916fa: No region provided in profile: default, software.amazon.awssdk.regions.providers.InstanceProfileRegionProvider@443f94d4: Unable to contact EC2 metadata service.]”
}
},
“status”: 500
}
Configuration:
Used this command line for smtp authentications
./bin/opensearch-keystore add plugins.alerting.destination.email.eventscronalert.username
./bin/opensearch-keystore add plugins.alerting.destination.email.eventscronalert.password
below command on s3 configurations
./bin/opensearch-keystore add s3.client.default.access_key
./bin/opensearch-keystore add s3.client.default.secret_key
Relevant Logs or Screenshots:
Please help me on this. Thanks