Activity log for bug #1784699

Date Who What changed Old value New value Message
2018-07-31 18:33:26 Andres Rodriguez bug added bug
2018-07-31 18:44:23 Andres Rodriguez description 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/ 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/ Also note that in my configuration, I kept the same mac addresses for bridges/bond as the physical interfaces, but if I were to randomize those or choose other ones, the behavior is the same.
2018-08-01 15:08:49 Chad Smith cloud-init: assignee Scott Moser (smoser)
2018-08-01 15:08:52 Chad Smith cloud-init: status New In Progress
2018-08-01 15:08:55 Chad Smith cloud-init: importance Undecided Medium
2018-08-01 17:00:14 Launchpad Janitor merge proposal linked https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/352033
2018-08-06 19:34:02 Server Team CI bot cloud-init: status In Progress Fix Committed
2018-08-09 16:30:49 Launchpad Janitor merge proposal linked https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/352825
2018-10-02 21:13:24 Scott Moser cloud-init: status Fix Committed Fix Released
2023-05-11 15:01:48 James Falcon bug watch added https://github.com/canonical/cloud-init/issues/3216