Comment 0 for bug 1784699

Revision history for this message
Andres Rodriguez (andreserl) wrote :

When deploying bionic, cloud-init doesn't set the mac address for the bond or bridge interface, which causes issues when there's expectations between MAC/IP mappings.

For example, in Bionic:

curtin config sent (/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg): http://paste.ubuntu.com/p/25GnQXQVhn/
neplan config written to netplan (/etc/netplan/50-cloud-init.cfg): http://paste.ubuntu.com/p/XGQRzjGTDm/

The result is that each interface have a different MAC address from those told in the configuration:

ip addr sh: http://paste.ubuntu.com/p/25GnQXQVhn/

This results in inconsistency which was configured and intended by the user, vs what it was actually written.

For example, in Xenial, the issue above doesn't exist and the result is as expected:

curtin config: http://paste.ubuntu.com/p/DmFvryXdwm/
e/n/i config: http://paste.ubuntu.com/p/fsXYpmMzCb/
ip addr sh: http://paste.ubuntu.com/p/wXXSTNfwHK/