On Mon, Nov 06, 2023 at 10:22:57PM +0100, Miroslav Suchý wrote:
Dne 06. 11. 23 v 20:45 Kevin Fenzi napsal(a):
> Can we get what volume they are snapshots of? Perhaps the volume name
> would help us figure things out?
Most of the 6GiB volumes like snap-098326d474a07f706 is snapshot of
vol-ffffffff which does not exist (this snapshot is from 2018)
Even if I take
snap-0fdf88e3527a6ca6e (fedora-coreos-39.20231101.1.0-x86_64)
that was created
Fri Nov 03 2023 04:12:53 GMT+0100
with description
Copied for DestinationAmi ami-0e62f1adedc546f4d from SourceAmi
ami-0b9d8baf52b75e62c for SourceSnapshot snap-033116129e665e380. Task
created on 1,698,981,171,355.Copied for DestinationAmi ami-0e62f1adedc546f4d
from SourceAmi ami-0b9d8baf52b75e62c for SourceSnapshot
snap-033116129e665e380. Task created on 1,698,981,171,355.Copied for
DestinationAmi ami-0e62f1adedc546f4d from SourceAmi ami-0b9d8baf52b75e62c
for SourceSnapshot snap-033116129e665e380. Task created on
1,698,981,171,355.Copied for DestinationAmi ami-0e62f1adedc546f4d from
SourceAmi ami-0b9d8baf52b75e62c for SourceSnapshot snap-033116129e665e380.
Task created on 1,698,981,171,355. as snapshot of vol-ffffffff
that does not exists.
Hmm,
fromhttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-e... :
During the AMI-creation process, Amazon EC2 creates snapshots of your
instance's root volume and any other EBS volumes attached to your instance.
You're charged for the snapshots until you deregister the AMI
<
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html>
and delete the snapshots. If any volumes attached to the instance are
encrypted, the new AMI only launches successfully on instances that support
Amazon EBS encryption
<
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html>.
yeah, I am not sure here. I guess we could check fedimg code, and/or ask
any subject matter experts to chime in.
Well, actually, we should probibly check in on the thing thats cleaning
up the amis? and confirm that it is deleting the snapshots?
I think that is this:
roles/fedimg/templates/clean-amis.py
in ansible.
and it does delete the snapshot... so, perhaps indeed all these ones
with vol-ffffffff are some mistake or some other amis?
kevin