You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full cluster configuration without any credentials or personal data.
Bug description and how to reproduce:
Configure a cluster without ssh key, or with ad/slurm db secrets, etc.
We have a working cluster configuration (can be created with pcluster, but throws warnings about custom ami (tags) and NOT having ssh keys.
However, when the same configuration is fed to the cloudformation cust resource, the cluster creation fails.
This is what makes it to the lambda logs
[DEBUG] 2024-08-21T18:16:40.433Z 055d99f4-71af-426e-ae04-149ed2cd0664 {
"Status": "FAILED",
"PhysicalResourceId": "PCCustomeResorucev393POC_PclusterCluster_ROHRJ80V",
"StackId": "arn:aws:cloudformation:us-east-2:654225707598:stack/PCCustomeResorucev393POC/e69c0250-5fe8-11ef-a3d1-062b7185899d",
"RequestId": "cbdf6360-209a-4b1b-83f9-7c4aa7815555",
"LogicalResourceId": "PclusterCluster",
"Reason": "c-PCCustomeResorucev393POC: ResourceCreationFailure (LogGroup: /aws/lambda/pcluster-cfn-eb556bb0-5fe8-11ef-9563-063a67fe5cf5)",
"Data": {
"validationMessages": "[{\"level\": \"WARNING\", \"type\": \"CustomAmiTagValidator\", \"message\": \"The custom AMI may not have been created by pcluster. You can ignore this warning if the AMI is shared or copied from another pcluster AMI. If the AMI is indeed not created by pcluster, cluster creation will fail. If the cluster creation fails, please go to https://docs.aws.amazon.com/parallelcluster/latest/ug/troubleshooting.html#troubleshooting-stack-creation-failures for troubleshooting.\"}, {\"level\": \"WARNING\", \"type\": \"AmiOsCompatibleValidator\", \"message\": \"Could not check node AMI ami-0f1e16e791ca50af0 OS and cluster OS ubuntu2204 compatibility, please make sure they are compatible before cluster creation and update operations.\"}, {\"level\": \"WARNING\", \"type\": \"PasswordSecretArnValidator\", \"message\": \"Cannot validate secret arn:aws:secretsmanager:us-east-2:654225707598:secret:/a2ai/a2ai-cloud/SlurmAccountingDB-admin-password-7yiQip due to lack of permissions. Please refer to ParallelCluster official documentation for more information.\"}, {\"level\": \"WARNING\", \"type\": \"PasswordSecretArnValidator\", \"message\": \"Cannot validate secret arn:aws:secretsmanager:us-east-2:654225707598:secret:/a2ai/a2ai-cloud/ad_bind_user_password-0oxi9e due to lack of permissions. Please refer to ParallelCluster official documentation for more information.\"}, {\"level\": \"WARNING\", \"type\": \"KeyPairValidator\", \"message\": \"If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in\"}]",
"clusterName": "c-PCCustomeResorucev393POC",
"cloudformationStackStatus": "CREATE_IN_PROGRESS",
"cloudformationStackArn": "arn:aws:cloudformation:us-east-2:654225707598:stack/c-PCCustomeResorucev393POC/37ad55e0-5fe9-11ef-a822-06ddf3cbf353",
"region": "us-east-2",
"version": "3.9.3",
"clusterStatus": "CREATE_IN_PROGRESS"
}
}
This probably should be a warning, not a fatal provisioning issue. Pcluster proceeds with with creating the cluster with warnings... but the cloudformation fails.
The text was updated successfully, but these errors were encountered:
Required Info:
Bug description and how to reproduce:
Configure a cluster without ssh key, or with ad/slurm db secrets, etc.
We have a working cluster configuration (can be created with pcluster, but throws warnings about custom ami (tags) and NOT having ssh keys.
However, when the same configuration is fed to the cloudformation cust resource, the cluster creation fails.
This is what makes it to the lambda logs
This probably should be a warning, not a fatal provisioning issue. Pcluster proceeds with with creating the cluster with warnings... but the cloudformation fails.
The text was updated successfully, but these errors were encountered: