Actions
Bug #20492
openEBS autoscaler possibly not deleting volumes on terminate
Story points:
-
Release:
Release relationship:
Auto
Description
I'm looking at the "create-ebs-volume" script used by EBS autoscaler, it is possible that this needs to be updated to use DeviceName=$nvme_device:
# set volume delete on termination aws ec2 modify-instance-attribute \ --region $region \ --instance-id $instance_id \ --block-device-mappings "DeviceName=$device,Ebs={DeleteOnTermination=true,VolumeId=$volume_id}" \ > /dev/null logthis "volume $volume_id DeleteOnTermination ENABLED" if [ -n "$nvme_device" ] ; then echo "$nvme_device" else echo "$device" fi
The fix might be trivial but we need to test it.
Also I checked pirca, I found one lingering volume, so it's possible we're seeing it to, but just don't have the compute load to end up with lots of lingering volumes.
Actions