View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018391 | CentOS-7 | cloud-init | public | 2022-01-24 19:24 | 2022-01-27 07:33 |
Reporter | gaurav.mittal | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 7.9.2009 | ||||
Summary | 0018391: cloud-init script does not update the secondary network interface details in EC2 instance | ||||
Description | There are 2 interfaces created in the EC2 instance. Once the VM is up and logged in we see only file as - /etc/sysconfig/network-scripts/ifcfg-eth0 for the eth1 there are no files created. Also there is no route or rules file created from the eth1. Since the NetworkManager is up and running ip gets assigned to the interface. but ping and out traffic flow does not happen as the proper rules and routes for eth1 is not created. Cloud-init version is 19.4 | ||||
Tags | "Network", cloud-init, eth1, interface, NetworkManager | ||||
abrt_hash | |||||
URL | |||||
What is the exact version of cloud-init that is installed? rpm -q cloud-init CentOS 7 has had a "19.4" version of cloud-init since March 2020 and there have been 12 separate updates to it since then. |
|
$ rpm -q cloud-init cloud-init-19.4-7.el7.centos.5.x86_64 $ |
|
sir, if needed we can have a session to show the issue so that we can get some work-around if possible. | |
Got the solution for this issue. Below are the steps to compile and install the net-utils in the CenOS7 # yum -y install git make systemd systemd-units rpm-build # git clone --branch=1.x --single-branch --depth 1 https://github.com/aws/amazon-ec2-net-utils.git # cd amazon-ec2-net-utils/ # curl -LO 'https://github.com/aws/amazon-ec2-net-utils/archive/1.5.tar.gz' # rpmbuild --define "_sourcedir $PWD" -bb amazon-ec2-net-utils.spec # ls ~/rpmbuild/RPMS/noarch/ # yum localinstall ls ~/rpmbuild/RPMS/noarch/amazon-ec2-net-utils-1.5-1.el7.noarch.rpm |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-01-24 19:24 | gaurav.mittal | New Issue | |
2022-01-24 19:24 | gaurav.mittal | Tag Attached: "Network" | |
2022-01-24 19:24 | gaurav.mittal | Tag Attached: cloud-init | |
2022-01-24 19:24 | gaurav.mittal | Tag Attached: eth1 | |
2022-01-24 19:24 | gaurav.mittal | Tag Attached: interface | |
2022-01-24 19:24 | gaurav.mittal | Tag Attached: NetworkManager | |
2022-01-24 19:49 | TrevorH | Note Added: 0038825 | |
2022-01-25 03:11 | gaurav.mittal | Note Added: 0038826 | |
2022-01-26 02:56 | gaurav.mittal | Note Added: 0038829 | |
2022-01-27 07:33 | gaurav.mittal | Note Added: 0038832 |