사용자 지정 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-osalinux2, ubuntu2204, ubuntu2004, centos7 또는 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"