カスタム AMI の問題のトラブルシューティング - AWS ParallelCluster

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

カスタム AMI の問題のトラブルシューティング

カスタム AMI を使用すると、次の警告が表示されます。

"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-0000012345 OS and cluster OS alinux2 compatibility, please make sure they are compatible before cluster creation and update operations." } ]

正しい AMI が使用されていることを確認できる場合、これらの警告は無視できます。

今後、これらの警告が表示されないようにするには、カスタム AMI に次のタグを付けます。my-os は、alinux2ubuntu2204ubuntu2004centos7、または rhel8 のいずれかで、「3.7.0」 は使用中の pcluster のバージョンです。

$ aws ec2 create-tags \ --resources ami-yourcustomAmi \ --tags Key="parallelcluster:version",Value="3.7.0" Key="parallelcluster:os",Value="my-os"