Bug 46705 - EC2: Enable ENA and SRIOV
EC2: Enable ENA and SRIOV
Status: CLOSED DUPLICATE of bug 45426
Product: UCS
Classification: Unclassified
Component: General
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-4
Assigned To: Philipp Hahn
UCS maintainers
:
Depends on: 50443
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-20 16:13 CET by Philipp Hahn
Modified: 2023-06-19 14:02 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2018-03-20 16:13:09 CET
Our Linux-4.9 kernel provides both the "ena" and "ixgbevf" kernel modulse, so please mark the next AMI as ENA supported and sriovNet supported.

<https://docs.aws.amazon.com/de_de/AWSEC2/latest/UserGuide/enhanced-networking-ena.html>
<https://docs.aws.amazon.com/de_de/AWSEC2/latest/UserGuide/sriov-networking.html>

Be careful of: ixgbevf 0000:00:03.0 ens3: renamed from eth0
Comment 1 Philipp Hahn univentionstaff 2018-03-20 17:07:35 CET
QA: SRIOV works with m4.large:
 $ readlink /sys/class/net/eth0/device/driver
 ../../../bus/pci/drivers/ixgbevf

Here are two nice blog artivles from Amazon on howto enable ENA:
* <https://aws.amazon.com/de/blogs/aws/elastic-network-adapter-high-performance-network-interface-for-amazon-ec2/>
* <https://aws.amazon.com/de/blogs/aws/the-floodgates-are-open-increased-network-bandwidth-for-ec2-instances/>
Comment 2 Michel Smidt 2019-02-28 14:37:43 CET
Error message in AWS which raise:
Enhanced networking with the Elastic Network Adapter (ENA) is required for the 'm5.large' instance type. Ensure that you are using an AMI that is enabled for ENA. (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: eb9cd6eb-8d51-4d21-a1b4-545c401da196)
Comment 3 Ingo Steuwer univentionstaff 2021-05-14 15:41:04 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 4 Philipp Hahn univentionstaff 2021-05-20 10:52:26 CEST
Still TODO - even for UCS-5
Comment 5 Philipp Hahn univentionstaff 2021-12-14 14:44:07 CET
You can modify a STOPPED instance:
> aws ec2 modify-instance-attribute --instance-id i-$IMAGE --ena-support

but (re-)starting it afterward does not seem to be enough.
Need to require a new AMI?
Comment 6 Philipp Hahn univentionstaff 2023-06-19 13:52:22 CEST
generate-appliance now uses `register-image` and enabled ENA.
A 1st image was successfully built and tested: Bug #55704

*** This bug has been marked as a duplicate of bug 45426 ***