clusterinthecloud / support

If you need help with Cluster in the Cloud, this is the right place
2 stars 0 forks source link

AMI not found for Graviton instances #36

Closed andreipoe closed 3 years ago

andreipoe commented 3 years ago

Hello,

I'm following the 1-click installation to set up a Graviton cluster on AWS. All has gone well until the step where the aarch64 image is built. When I run packer, I get the following error:

[citc@mgmt ~]$ sudo /usr/local/bin/run-packer aarch64
amazon-ebs.aws: output will be in this color.

==> amazon-ebs.aws: Force Deregister flag found, skipping prevalidating AMI Name
==> amazon-ebs.aws: No AMI was found matching filters: {
==> amazon-ebs.aws:   Filters: [{
==> amazon-ebs.aws:       Name: "architecture",
==> amazon-ebs.aws:       Values: ["\"arm64\""]
==> amazon-ebs.aws:     },{
==> amazon-ebs.aws:       Name: "name",
==> amazon-ebs.aws:       Values: ["CentOS 8.*"]
==> amazon-ebs.aws:     }],
==> amazon-ebs.aws:   Owners: ["125523088429"]
==> amazon-ebs.aws: }
Build 'amazon-ebs.aws' errored after 174 milliseconds 180 microseconds: No AMI was found matching filters: {
  Filters: [{
      Name: "architecture",
      Values: ["\"arm64\""]
    },{
      Name: "name",
      Values: ["CentOS 8.*"]
    }],
  Owners: ["125523088429"]
}

==> Wait completed after 174 milliseconds 257 microseconds

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs.aws: No AMI was found matching filters: {
  Filters: [{
      Name: "architecture",
      Values: ["\"arm64\""]
    },{
      Name: "name",
      Values: ["CentOS 8.*"]
    }],
  Owners: ["125523088429"]
}

==> Builds finished but no artifacts were created.

From what I can tell in the AWS web console, there are images matching that name: image

What could have gone wrong here?

Thank you.

milliams commented 3 years ago

Your linked PR seems to have solved the issue for me.