Project

General

Profile

Bug #20492

Updated by Peter Amstutz 11 months ago

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: 

 <pre> 
    # 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 
 </pre> 

 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. 

Back