Risoluzione dei problemi relativi alle AMI personalizzate - AWS ParallelCluster

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

Risoluzione dei problemi relativi alle AMI personalizzate

Quando usi un'AMI personalizzata, puoi visualizzare i seguenti avvisi:

"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." } ]

Se sei sicuro che venga utilizzata l'AMI corretta, puoi ignorare questi avvisi.

Se non desideri visualizzare questi avvisi in futuro, contrassegna l'AMI personalizzata con i seguenti tag, dove my-osè uno dialinux2, ubuntu2204 ubuntu2004centos7, o rhel8 e «3.7.0" è la pcluster versione in uso:

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