Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

AMI not enable Elastic Network Adapter #2160

Closed
ghost opened this issue Dec 1, 2017 · 3 comments
Closed

AMI not enable Elastic Network Adapter #2160

ghost opened this issue Dec 1, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 1, 2017

RancherOS Version: (ros os version)
v1.1.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
AWS EC2

Repro
Using aws ec2 run-instances --image-id ami-9515feed --instance-type c5.large to start new machines. Got error:

An error occurred (InvalidParameterCombination) when calling the RunInstances operation: Enhanced networking with the Elastic Network Adapter (ENA) is required for the 'c5.large' instance type. Ensure that you are using an AMI that is enabled for ENA.

@drpebcak
Copy link
Contributor

drpebcak commented Dec 4, 2017

This happens when trying to launch an instance in the m5family as well.

@SimonR
Copy link

SimonR commented Dec 5, 2017

I would like to use the new c5 and m5 types to support a number of managed services. Is there a timescale for the upgrade works?

@niusmallnan niusmallnan self-assigned this Dec 11, 2017
@niusmallnan niusmallnan added this to the v1.1.2 milestone Dec 11, 2017
niusmallnan added a commit to niusmallnan/os-packer that referenced this issue Dec 14, 2017
niusmallnan added a commit to niusmallnan/os-services that referenced this issue Dec 14, 2017
niusmallnan added a commit to niusmallnan/os-services that referenced this issue Dec 14, 2017
niusmallnan added a commit to rancher/os-services that referenced this issue Dec 14, 2017
niusmallnan added a commit to niusmallnan/os-packer that referenced this issue Dec 14, 2017
niusmallnan added a commit to niusmallnan/os-packer that referenced this issue Dec 14, 2017
niusmallnan added a commit to niusmallnan/os-packer that referenced this issue Dec 14, 2017
niusmallnan added a commit to rancher/os-kernel that referenced this issue Dec 14, 2017
niusmallnan added a commit to rancher/os-kernel that referenced this issue Dec 15, 2017
niusmallnan added a commit to niusmallnan/os-packer that referenced this issue Dec 15, 2017
niusmallnan added a commit to rancher/os-packer that referenced this issue Dec 15, 2017
@kingsd041
Copy link
Contributor

kingsd041 commented Dec 22, 2017

At eu-west-1, I can start a new machine.
aws ec2 run-instances --image-id ami-1567e46c --count 1 --instance-type m5.large
Login instance, we can use the command to check that ena has been enabled

# ethtool -i eth0
driver: ena
version: 1.0.2
...

# modinfo ena
filename:       /lib/modules/4.9.69-rancher/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:     6F645A5E6BD991AF7F7EA34
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.9.69-rancher SMP mod_unload
parm:           debug:Debug level (0=none,...,16=all) (int)

I found that use m5.large startup instance, the disk can not resize
Issue link: #2186

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants