Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionDavide F Bragalone
2018-10-24 13:09:41 UTC
Customer opened a ticket asking if this could implemented to RHEL, stating that this is something already doable with SuSE on AWS via 'cloud-netconfig'[1] tool:
https://www.suse.com/c/multi-nic-cloud-netconfig-ec2-azure/
It would be very helpful if similar solution would be available for RHEL as well.
Upstream merged the "nm-cloud-setup" tool.
Note that this is the first shot at this tool. It's not yet production ready, but something we can start testing and improve upon.
While this is not yet the full solution, I move the bug to MODIFIED and ON_QA.
This was we can start testing and collect more specific bug reports about the remaining issues (if any).
setup:
dnf install NetworkManager-cloud-setup
sed -i "s/#Environment=NM_CLOUD_SETUP_EC2=yes/Environment=NM_CLOUD_SETUP_EC2=yes/" /usr/lib/systemd/system/nm-cloud-setup.service
before running nm-cloud-setup:
ip a s eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc fq_codel state UP group default qlen 1000
link/ether 0a:b8:42:8d:3b:c6 brd ff:ff:ff:ff:ff:ff
inet 172.31.23.196/20 brd 172.31.31.255 scope global dynamic noprefixroute eth0
valid_lft 3194sec preferred_lft 3194sec
inet6 fe80::8b8:42ff:fe8d:3bc6/64 scope link
valid_lft forever preferred_lft forever
after
systemctl restart nm-cloud-setup
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc fq_codel state UP group default qlen 1000
link/ether 0a:b8:42:8d:3b:c6 brd ff:ff:ff:ff:ff:ff
inet 172.31.23.196/20 brd 172.31.31.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet 172.31.23.36/20 brd 172.31.31.255 scope global secondary noprefixroute eth0
valid_lft forever preferred_lft forever
This is enough to verify this bug, however test case is not written.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:1847