Open multimeric opened 5 years ago
@wleepang -- I don't believe I've ever seen this. Any ideas?
@TMiguelT - Thanks! The logs should help me debug what's going here. I've seen this intermittently in the past, but it was difficult to catch.
@TMiguelT - This should be resolved in the latest update to the CloudFormation templates at: https://docs.opendata.aws/genomics-workflows
The use of a Custom AMI is now deprecated in favor of EC2 Launch Templates.
Wow, great work! I look forward to trying them out
Got the same error in https://github.com/aws-samples/aws-refarch-wordpress
@wleepang Could you share what change you made to fix the problem? I'm getting the same error on my own CloudFormation template.
Can you please share the fix, i face the same issue in my template
I have been attempting to spin up the CloudFormation stack provided here. This intermittently fails and succeeds, I'm not sure why it sometimes does and sometimes doesn't work.
When it fails, it's because the EC2 instance fails to initialize. The most promising section I can find from the EC2 logs shows the following:
The line
EXT4-fs (dm-3): mounted filesystem with ordered data mode
is repeated about 100 times in the real logs (below), I've just abridged it here for clarity. Anyway, the main thing this tells us that it's failing during step 04 of the EC2 startup script, which does the following:My best guess as to what is happening, is this blog post, which suggests:
So perhaps the reason this issue is intermittent is because the length of the logs from this command are occasionally too long for the
cfn-init
script? Or this might be a red herring.To aid with debugging, here are some useful logs
aws cloudformation describe-stacks
on the stack I spun up. This should give you the exact parameters I used when it last failed.