Skip to content

Commit

Permalink
cloud/awscloud: exclude really old instance types
Browse files Browse the repository at this point in the history
RHEL 10 (nightly) builds fail on stage with "Fatal glibc error: CPU does
not support x86-64-v3", this is most likely due to very old instance
types not supporting a specific instruction set.
  • Loading branch information
croissanne committed Nov 29, 2024
1 parent e7a7cda commit 38b799f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions internal/cloud/awscloud/secure-instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,17 @@ func (a *AWS) createOrReplaceLT(hostInstanceID, imageID, sgID, iamProfile, keyNa
Max: aws.Int32(0),
},
BareMetal: ec2types.BareMetalExcluded,
// el10 needs x86_64-v3
ExcludedInstanceTypes: []string{
"m1.*",
"c1.*",
"t1.*",
"m2.*",
"i2.*",
"m3.*",
"c3.*",
"r3.*",
},
MemoryMiB: &ec2types.MemoryMiBRequest{
Min: aws.Int32(4096),
},
Expand Down

0 comments on commit 38b799f

Please sign in to comment.