awslabs / dynamodb-cross-region-library

A library to facilitate cross-region replication with Amazon DynamoDB Streams.
Apache License 2.0
275 stars 98 forks source link

Create Fails, not seeing any logs? #15

Closed DaveWK closed 8 years ago

DaveWK commented 8 years ago

I have created a replication group with an existing table and master. When I create, it says "WAITING" under the "replication connections", then eventually just says "CREATE FAILED"

Is there any place I should be looking for indications as to why it failed or why it's waiting? I don't see anything helpful in beanstalk logs.

DaveWK commented 8 years ago

Found the cloudwatch logs. seeing this in log:

ERROR com.amazonaws.services.dynamodbv2.replication.coordinator.state.DynamoDBReplicationGroupMemberPriorityTransition - Launching resources failed for replication member with ARN: XXXX ! Exception: java.lang.IllegalStateException: Timeout waiting for service DynamoDBTableCopy439b6c80d380673e7eca518d0212a2f0 to become ACTIVE.

DaveWK commented 8 years ago

Figured it out: ECS cluster didn't have enough resources to spawn the task. Added another ec2 to cluster.