Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DBM][postgresql] Agent fails to reconnect to RDS Aurora after failover #17386

Open
seanamos opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@seanamos
Copy link

Agent Version: 7.52.1 (this issue has existed for many versions)

Steps to reproduce the issue:

  1. Setup a RDS Postgres Aurora cluster with a least one read replica.
  2. Run the Datadog Agent in a docker container and ensure it is setup to connect to the cluster's writer DNS address.
  3. Manually failover the cluster.

Describe the results you received:
The agent is unable to reconnect to the writer DNS address. It continually reports in its log attempting to reconnect to the correct DNS address, but is unable to do so. The resolved IP address reported in the error log is the stale writer IP.

Manually restarting the agent's container resolves the issue.

Describe the results you expected:
The agent is able to reconnect to the promoted writer without manual intervention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant