The error message must be pulled from head node's
/var/log/cloud-init-output.log
.
$ tail /var/log/cloud-init-output.log
...
+ reason='This AMI was not baked by ParallelCluster. Please use pcluster build-image command to create an AMI by providing your AMI as parent image.'
...
The CloudFormation stack will error due to timeout in the
HeadNodeWaitCondition
. While waiting, the stack will NOT show any error at all
on Cfn resources or Cfnevents, and CloudWatch log stream stays empty.
In other words, the error will happen as soon as the head node instance is created, but it takes (by default) 1h for Cfn to time-out.