cloud-init fails to configure network interfaces running with OpenStack cloud
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
cloud-init |
Expired
|
Undecided
|
Madhuri Kumari |
Bug Description
cloud-init 18.5:
Node has 3 interfaces:
-enp5s0f0 - not connected
-enp5s0f1 - connected
-ib0 - an HFI port
Centos7.6 running on the node.
Openstack boots the server with two interfaces enp5s0f1 and ib0 and it is successful but the node is not reachable. On the node, the cloud-init configures the wrong interface enp5s0f0. It is because cloud-init fails to configure network interfaces running with OpenStack cloud if any of the network interfaces don't exist on the node. In this case, ib0 was missing.
Please note that when I try to boot the server with only 1 interface enp5s0f1, everything works fine and the node is reachable too.
Logs: http://
network-data and nics: http://
description: | updated |
Changed in cloud-init: | |
assignee: | nobody → Madhuri Kumari (madhuri-rai07) |
Hi,
The problem you're seeing here is a result of a failure to persist data between
cloud-init's local stage and network stage.
https:/ /bugs.launchpad .net/cloud- init/+bug/ 1801364