You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ami create: record the source's spawn version and MPI/job-array identity on the image #1364
spawn ami create / create-ami (cmd/create_ami.go, runCreateAMI) tags an image with only spawn:managed, spawn:created, spawn:created-from, spawn:source-region, spawn:arch, spawn:gpu, spawn:base-ami and the user's --tags. That set has not changed since the initial release (git log -p -- cmd/create_ami.go). None of the source's spawn:version, spawn:mpi-enabled or spawn:job-array-* tags reach the image. spawn:created-from names the source instance, but a terminated instance's tags disappear within about an hour, and MPI cohorts are short-lived.
Consequence: when a fix changes what an image must not carry, as #1338/#1343 did, spawn cannot recognise the images made before the fix. So it cannot warn at launch or in spawn ami list, and the only remedy is documentation (the #1343 CHANGELOG entry, spore-host/spore-host#614).
Proposal: also write spawn:image-spawn-version (the creating CLI's version) and copy the source's spawn:version, spawn:mpi-enabled and spawn:job-array-index as spawn:source-* tags. Future fixes could then key a warning on them. Cost: a few more tags on CreateImage, with no new IAM, because the tags ride CreateImage's TagSpecifications.
Activity
fix(mpi): strip inherited MPI cluster keys at boot (#1343)
fix(mpi): strip inherited MPI cluster keys at boot (#1343)
fix(mpi): strip inherited MPI cluster keys at boot (#1343) (#1363)
feat(ami): record the creating spawn and the source's version/MPI ide…