Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.
Memecahkan masalah AMI khusus
Saat Anda menggunakan AMI kustom, Anda dapat melihat peringatan berikut:
"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." } ]
Jika Anda yakin bahwa AMI yang benar sedang digunakan, Anda dapat mengabaikan peringatan ini.
Jika Anda tidak ingin melihat peringatan ini di masa mendatang, beri tag AMI khusus dengan tag berikut, di mana
salah satu dari,my-os
alinux2
,, ubuntu2204
ubuntu2004
centos7
, atau rhel8
dan “3.7.0"
adalah versi yang pcluster
digunakan:
$
aws ec2 create-tags \ --resources
ami-yourcustomAmi
\ --tags Key="parallelcluster:version",Value="3.7.0"
Key="parallelcluster:os",Value="my-os"