Actions
Bug #20492
openEBS autoscaler possibly not deleting volumes on terminate
Status:
In Progress
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
(Total: 0.00 h)
Story points:
-
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.
Updated by Peter Amstutz 23 days ago
- Target version changed from Development 2023-05-10 sprint to Development 2023-05-24 sprint
Updated by Peter Amstutz 8 days ago
- Target version changed from Development 2023-05-24 sprint to Development 2023-06-07
Actions