Open webvictim opened 3 years ago
I don't have the log anymore but I can confirm I saw this on 11.x
versions. Fortunately I was running this in Kubernetes so the pod restarted and continued on. However, not ideal either way.
I didn't have debug logs on but can confirm on Teleport Enterprise v11.2.3 git:api/v11.2.3-0-g73240bcab9 go1.19.5
ERROR: initialization failed
ValidationException: Cannot describe time to live while table is in CREATING state: Current table state is CREATING
"\tstatus code: 400, request id: XXXX"
Description
What happened: When Teleport is configured to use DynamoDB for storage and creates the tables itself, it can exit with an error while this process is happening:
What you expected to happen: The process should wait for the table to be created before attempting any operations on it. If there is an error, it should not cause the Teleport process to exit.
Reproduction Steps
Deploy Teleport into AWS using a config similar to this where the DynamoDB tables/S3 bucket are not created ahead of time.
Server Details
teleport version
):Teleport Enterprise v6.0.3 git:v6.0.3-0-g95a652648 go1.15.5
/etc/os-release
): EKSv1.18.9-eks-d1db3c