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
{{ message }}
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.
Check the records aws route53 list-resource-record-sets --hosted-zone-id %hostedzoneid% and see that there are only A records.
[root@ip-10-5-10-105 ec2-user]# /usr/local/bin/ecssd_agent -sync
ERRO[0000] InvalidChangeBatch: Tried to create resource record set [name='ip-10-5-10-105.servicediscovery.internal.', type='A', set-identifier='ip-10-5-10-105.eu-west-1.compute.internal'] but it already exists
status code: 400, request id: 9802ac73-06b1-11e8-a4eb-11c465327fe3
ERRO[0000] Error creating host A record
INFO[0000] Zone 'servicediscovery.internal' for host 'ip-10-5-10-105.eu-west-1.compute.internal' out of sync, adding 1 and removing 0 records
ecssd_agent continuously shows adding 1, but nothing happens
The text was updated successfully, but these errors were encountered:
I'm having a similar issue. I think it's because I have two VPCs (Production & Test) with private hosted zones for each. Both hosted zones have the same namespace (servicediscovery.internal).
the essd_agent uses ListHostedZonesByNameInput to find the HostedZone to add SRV records and ListHostedZonesByNameInput doesn't seem to return Hosted Zones associated to the VPC from which the ECS Container is running, so it's the agent is trying to add the Production service to the Test Hosted Zone.
How to reproduce:
aws route53 list-resource-record-sets --hosted-zone-id %hostedzoneid%
and see that there are only A records.ecssd_agent continuously shows
adding 1
, but nothing happensThe text was updated successfully, but these errors were encountered: