You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Description.
Unable to send backup to company's internal s3 storage
when running the backup command, the utility does not parse the address of the required s3 storage from the configuration
Caused by: software.amazon.awssdk.core.exception.SdkClientException: Received an UnknownHostException when attempting to interact with a service. See cause for the exact endpoint that is failing to resolve. If this is happening on an endpoint that previously worked, there may be a network connectivity issue or your DNS cache could be storing endpoints for too long.
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 1 failure: Unable to execute HTTP request: s3.ru.amazonaws.com: Name or service not known
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 2 failure: Unable to execute HTTP request: s3.ru.amazonaws.com
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 3 failure: Unable to execute HTTP request: s3.ru.amazonaws.com
Caused by: java.net.UnknownHostException: s3.ru.amazonaws.com
at the same time running aws s3 ls gives correct results, i.e. the settings in the system are correct
Replay
The utility is installed from the rpm package
run with the command
esop backup --jmx-service={{ip}}:7199 --jmx-user={{user}} --jmx-password={{password}} --storage-location s3://{{my_bucket}} --data-dir /opt/ssd1 --data-dir /opt/ssd2/ --data-dir /opt/ssd3 --data-dir /opt/ssd4 --data-dir /opt/ssd5 --data-dir /opt/ssd6
The URL is specified in $AWS_ENDPOINT and in $AWS_ENDPOINT_URL, as well as in .aws/config
[default]
region = ru
output = json
endpoint_url = https://{{specific_host}}
services = s3-specific
The reason was that it was increasingly difficult to maintain all possible s3 providers (and test that it works!) etc (ceph, minio, oracle ...) If you use something internal, that tells me you are doing something custom / have some specific s3 implementation where this is necessary.
Looking into the current code, we are reading endpoint here
Could you checkout 5b96a28 (one commit before the deletion happened) and try if that works for you? We were supporting that back then like visible here
Error Description.
Unable to send backup to company's internal s3 storage
when running the backup command, the utility does not parse the address of the required s3 storage from the configuration
Caused by: software.amazon.awssdk.core.exception.SdkClientException: Received an UnknownHostException when attempting to interact with a service. See cause for the exact endpoint that is failing to resolve. If this is happening on an endpoint that previously worked, there may be a network connectivity issue or your DNS cache could be storing endpoints for too long.
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 1 failure: Unable to execute HTTP request: s3.ru.amazonaws.com: Name or service not known
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 2 failure: Unable to execute HTTP request: s3.ru.amazonaws.com
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 3 failure: Unable to execute HTTP request: s3.ru.amazonaws.com
Caused by: java.net.UnknownHostException: s3.ru.amazonaws.com
at the same time running aws s3 ls gives correct results, i.e. the settings in the system are correct
Replay
The utility is installed from the rpm package
run with the command
esop backup --jmx-service={{ip}}:7199 --jmx-user={{user}} --jmx-password={{password}} --storage-location s3://{{my_bucket}} --data-dir /opt/ssd1 --data-dir /opt/ssd2/ --data-dir /opt/ssd3 --data-dir /opt/ssd4 --data-dir /opt/ssd5 --data-dir /opt/ssd6
The URL is specified in $AWS_ENDPOINT and in $AWS_ENDPOINT_URL, as well as in .aws/config
[default]
region = ru
output = json
endpoint_url = https://{{specific_host}}
services = s3-specific
[profile s3-prod]
endpoint_url = https://{{specific_host}}
services = s3-specific
[services s3-specific]
s3 =
endpoint_url = https://{{specific_host}}
Expected Behaviour
The utility connects to the correct specified s3 storage and sends the backup there
System and versions (please fill in the following information):.
Additional Context
Add any other information about the problem here.
The text was updated successfully, but these errors were encountered: