Project

General

Profile

Actions

Bug #20492

open

EBS autoscaler possibly not deleting volumes on terminate

Added by Peter Amstutz 11 months ago. Updated 27 days ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
-
Target version:
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.


Subtasks 1 (1 open0 closed)

Task #20504: Try to collect more information to reproduceNewActions
Actions #1

Updated by Peter Amstutz 11 months ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz 11 months ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2023-05-10 sprint to Development 2023-05-24 sprint
Actions #4

Updated by Peter Amstutz 11 months ago

  • Assigned To set to Lucas Di Pentima
Actions #5

Updated by Peter Amstutz 10 months ago

  • Target version changed from Development 2023-05-24 sprint to Development 2023-06-07
Actions #6

Updated by Peter Amstutz 10 months ago

  • Target version changed from Development 2023-06-07 to To be scheduled
Actions #7

Updated by Peter Amstutz 7 months ago

  • Release set to 60
  • Target version deleted (To be scheduled)
Actions #8

Updated by Peter Amstutz 27 days ago

  • Target version set to Future
Actions

Also available in: Atom PDF