cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

cloud-init fails to configure a bond on CentOS 8

Open ubuntu-server-builder opened this issue 2 years ago • 5 comments

This bug was originally filed in Launchpad as LP: #1905358

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = None
date_created = 2020-11-24T06:15:30.936527+00:00
date_fix_committed = None
date_fix_released = None
id = 1905358
importance = medium
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1905358
milestone = None
owner = ltrager
owner_name = Lee Trager
private = False
status = triaged
submitter = ltrager
submitter_name = Lee Trager
tags = []
duplicates = []

Launchpad user Lee Trager(ltrager) wrote on 2020-11-24T06:15:30.936527+00:00

On a test system I configured a machine with a bond. Curtin successfully installed CentOS 8 but the deployment failed in MAAS. When I dug in it is because the bond never comes up so the machine has no way to communicate with MAAS. I can deploy the same machine with a bond on CentOS 7 or Ubuntu. I can also deploy with CentOS 8 using DHCP, static IP, or a bridge, just not a bond.

MAAS: 2.9.0-rc1 CentOS 8 image from images.maas.io cloud-init-19.4-1.el8.7.noarch

From /var/log/messages

messages:Nov 24 05:33:43 localhost NetworkManager[1025]: [1606196023.8922] ifcfg-rh: load[/etc/sysconfig/network-scripts/ifcfg-bond0]: failure to read file: bond.options: 'updelay' option requires 'miimon' option to be set

ubuntu-server-builder avatar May 12 '23 10:05 ubuntu-server-builder

Launchpad user Lee Trager(ltrager) wrote on 2020-11-24T06:16:58.495349+00:00

Launchpad attachments: curtin-centos8-bond.log

ubuntu-server-builder avatar May 12 '23 10:05 ubuntu-server-builder

Launchpad user Lee Trager(ltrager) wrote on 2020-11-24T06:20:19.269383+00:00

Launchpad attachments: centos8-var-log.tar.xz

ubuntu-server-builder avatar May 12 '23 10:05 ubuntu-server-builder

Launchpad user Lee Trager(ltrager) wrote on 2020-11-24T06:20:30.771721+00:00

Launchpad attachments: centos8-etc-sysconfig.tar.xz

ubuntu-server-builder avatar May 12 '23 10:05 ubuntu-server-builder

Launchpad user Dan Watkins(oddbloke) wrote on 2020-12-01T22:30:16.861999+00:00

Could we get a cloud-init collect-logs from an affected instance, please? (Set this back to New once added. :)

ubuntu-server-builder avatar May 12 '23 10:05 ubuntu-server-builder

Launchpad user Lee Trager(ltrager) wrote on 2020-12-08T23:46:28.971080+00:00

Attached are the cloud-init logs. Note due to the bond not coming up I could only access the system by booting into rescue mode(Ubuntu) and chrooting in to the CentOS install to gather logs. Launchpad attachments: cloud-init.tar.gz

ubuntu-server-builder avatar May 12 '23 10:05 ubuntu-server-builder