OpenNebula network configuration is ignored for distros with predictable interface names.
Bug #1716397 reported by
Enol Fernández
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Enol Fernández |
Bug Description
OpenNebula network configuration is provided in context with device identifiers in the form ETH[0-9] but with newer distros using predictable interface names this configuration is no longer applied and device MAC should be checked instead of the identifier.
Even when providing matching device name, this information is not being correctly propagated by the OpenNebula data source to the other cloud-init modules
Related branches
~chad.smith/cloud-init:ubuntu/devel
- Server Team CI bot: Approve (continuous-integration)
- Scott Moser: Pending requested
-
Diff: 1537 lines (+767/-173)23 files modified.gitignore (+1/-0)
cloudinit/config/cc_resizefs.py (+11/-1)
cloudinit/config/cc_rsyslog.py (+5/-5)
cloudinit/net/__init__.py (+2/-2)
cloudinit/net/dhcp.py (+42/-1)
cloudinit/net/network_state.py (+12/-0)
cloudinit/sources/DataSourceAzure.py (+129/-9)
cloudinit/sources/DataSourceEc2.py (+7/-16)
cloudinit/sources/DataSourceOpenNebula.py (+59/-53)
cloudinit/sources/__init__.py (+1/-1)
cloudinit/sources/helpers/azure.py (+14/-8)
cloudinit/temp_utils.py (+8/-3)
cloudinit/tests/test_util.py (+46/-0)
cloudinit/url_helper.py (+20/-9)
cloudinit/util.py (+17/-6)
debian/changelog (+13/-0)
doc/rtd/topics/network-config-format-v1.rst (+1/-1)
tests/unittests/test_datasource/test_azure.py (+151/-6)
tests/unittests/test_datasource/test_ec2.py (+1/-1)
tests/unittests/test_datasource/test_opennebula.py (+177/-46)
tests/unittests/test_handler/test_handler_resizefs.py (+21/-1)
tests/unittests/test_net.py (+15/-3)
tools/read-version (+14/-1)
~sw37th/cloud-init:fix_for_opennebula
- Scott Moser: Approve
- Server Team CI bot: Needs Fixing (continuous-integration)
-
Diff: 501 lines (+241/-104)4 files modifiedcloudinit/net/__init__.py (+2/-2)
cloudinit/sources/DataSourceOpenNebula.py (+59/-53)
tests/unittests/test_datasource/test_opennebula.py (+177/-46)
tests/unittests/test_net.py (+3/-3)
Changed in cloud-init: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Enol Fernández (enolfc) |
Changed in cloud-init: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
https:/ /bugs.launchpad .net/cloud- init/+bug/ 1719157/ comments/ 3
I wrote a patch which supports Predictable Network Interface Names for DataSourceOpenN ebula.py.
Please try it.