Skip to content

Instantly share code, notes, and snippets.

@verdimrc
Created January 18, 2024 02:52
Show Gist options
  • Save verdimrc/421dcd9885769d96715dd366e6614b34 to your computer and use it in GitHub Desktop.
Save verdimrc/421dcd9885769d96715dd366e6614b34 to your computer and use it in GitHub Desktop.
pcluster-notes.md

Various notes on pcluster

PCluster does not work with vanilla DLAMI.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment