Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Symptom
TAC stack fails to start. The error message on the AWS web console is shown below, but it is not very informative since it merely states that the waitHandle timed out.
Diagnostic
If you ssh into the TAC instance, and look in the /var/log/cfn-init.log file you will see the following:
2017-11-21 17:12:20,423 [INFO] Command 06-install-talend succeeded 2017-11-21 17:12:20,423 [DEBUG] Command 06-install-talend output: server-env: tacamc finished Talend Installation is starting. Please wait ... Error: License check for version 6.3.1 failed: Bad license format (companyName_64...)
Check the /home/ec2-user/generated/licenses/license file.
It should be a text representation of a binary license.
TALEND_QXuG1uN78kY5zcrU0iZEY3yIOJqqriCM9yNh1LGKaBC8OebjfLMRaRypR2...
However, in this case you will find an AWS error message as shown below.
<?xml version="1.0" encoding="UTF-8"?> <Error><Code>PermanentRedirect</Code>
<Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message>
<Bucket>yourlicensebucket</Bucket>
<Endpoint>yourlicensebucket.s3.amazonaws.com</Endpoint>
<RequestId>564FE25E7E6FE9B8</RequestId>
<HostId>PxHJFca8Rq/+tK7L2x56O4n49X3vcIrE5cCukXnUDSL6jucQwB3wqj5YW4tf4ceHiMQdR21H/YA=</HostId>
</Error>
Workaround
You must save your eval license to a bucket in us-east-1 (Northern Virginia).
Fix
Pending for release 2 you should be able to save your eval license to a bucket in any region.
NOTE: you license file should be in a private bucket at the top level of the bucket and should be called simply "license" with no extension.