Enable enaSupport attribute on EC2 AMIs

Bug #1664198 reported by José Martínez
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloud-images
Fix Released
Undecided
Unassigned

Bug Description

The Ubuntu kernel now ships with the AWS ENA driver (see bug #1635721) for enhanced networking on the most recent EC2 instance types. However, this driver is never used because the "EnaSupport" attribute is not set in the AMIs.

Instances with ENA do not support the Intel 82599 VF driver, so these instances will fall back to the default and slow "vif" driver.

$ curl http://169.254.169.254/latest/meta-data/instance-type
r4.2xlarge

$ modinfo ena
filename: /lib/modules/4.4.0-62-generic/kernel/drivers/net/ethernet/amazon/ena/ena.ko
version: 1.0.2
license: GPL
description: Elastic Network Adapter (ENA)
author: Amazon.com, Inc. or its affiliates
srcversion: 881520E877FD2888486C76A
alias: pci:v00001D0Fd0000EC21sv*sd*bc*sc*i*
alias: pci:v00001D0Fd0000EC20sv*sd*bc*sc*i*
alias: pci:v00001D0Fd00001EC2sv*sd*bc*sc*i*
alias: pci:v00001D0Fd00000EC2sv*sd*bc*sc*i*
depends:
intree: Y
vermagic: 4.4.0-62-generic SMP mod_unload modversions
parm: debug:Debug level (0=none,...,16=all) (int)

$ ethtool -i eth0
driver: vif
version:
firmware-version:
expansion-rom-version:
bus-info: vif-0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

$ aws ec2 describe-images --image-ids ami-98ecb7fe --query "Images[].EnaSupport"
[]

Revision history for this message
Dan Watkins (oddbloke) wrote :

Hi José,

Thanks for reporting this bug! We're currently working through the changes required to our publication infrastructure to make this happen, but rest assured that this will be coming soon.

Thanks,

Dan

Changed in cloud-images:
status: New → Confirmed
Revision history for this message
Mathias Bogaert (mathias-bogaert) wrote :

Hi Dan, any progress on this one? I see images being pushed daily now. Thanks

Revision history for this message
Dan Watkins (oddbloke) wrote :

Hi!

This is still working its way through; we've had a couple of set-backs internally, but it should be landing Real Soon Now(TM). Apologies for the delay!

Dan

Revision history for this message
José Martínez (xosemp) wrote :

I'd like to raise awareness of a comment from AWS on bug #1668129 that might also impact ENA:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1668129/comments/25

I didn't have any issues with ENA (or at least I didn't notice them) on my limited testing with it. But I think it's worth considering that enabling ENA on the AMIs right now may cause issues until that bug is fixed.

Revision history for this message
Philip Roche (philroche) wrote :

14.04 Trusty now has ENA attribute set for all serials greater than 20170727

Changed in cloud-images:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.