Ubuntu host configure breaks undefined network configuration

Bug #2037094 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
Triaged
Medium
Unassigned

Bug Description

When running an Ubuntu 20.04 VM in OpenStack, the network configuration is defined using system-networkd with:

/run/systemd/network/10-netplan-enp3s0.network
/run/systemd/network/10-netplan-enp3s0.link

If AUFN is run on this VM, the `seed hypervisor host configure` step will perform the following:

TASK [network-debian : Remove netplan.io packages]
changed: [seed-hypervisor]

TASK [network-debian : meta]

RUNNING HANDLER [network-debian : Find netplan systemd-networkd configuration]
ok: [seed-hypervisor]

RUNNING HANDLER [network-debian : Remove netplan systemd-networkd configuration]
changed: [seed-hypervisor] => (item=/run/systemd/network/10-netplan-enp3s0.network)
changed: [seed-hypervisor] => (item=/run/systemd/network/10-netplan-enp3s0.link)

Some network configuration is then applied in /etc/systemd/network. However, this doesn't include the main interface of the VM:

/etc/systemd/network/50-kayobe-braio.netdev
/etc/systemd/network/50-kayobe-dummy1.network
/etc/systemd/network/50-kayobe-p-braio-phy.network
/etc/systemd/network/50-kayobe-p-braio-ovs.network
/etc/systemd/network/50-kayobe-p-braio-phy.netdev
/etc/systemd/network/50-kayobe-braio.network

Networking connectivity won't break right away but it will fail at the time of lease renewal (24 hours after last renewal?)

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

seems strange, which version of the kayobe used? also please provide at least etc/kayobe/seed-hypervisor.yml

Changed in kayobe:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kayobe because there has been no activity for 60 days.]

Changed in kayobe:
status: Incomplete → Expired
Pierre Riteau (priteau)
Changed in kayobe:
status: Expired → New
Will Szumski (willjs)
Changed in kayobe:
importance: Undecided → Medium
Will Szumski (willjs)
Changed in kayobe:
status: New → Triaged
Revision history for this message
Inglar (inglarstern) wrote :
Download full text (6.4 KiB)

I have the similar problem.
Attempt to deploy seed-hyperviosor and seed external.

the same part of the deployment failed

I use ubuntu 22.04.3, eth0->ipmi,eth1->admin

Do you have any ideas, any help?

kayobe seed host configure

TASK [Update the IP allocations fact with IP allocation requests] *********************************************************************************************************************************************************************************************************
Monday 29 January 2024 08:40:45 +0000 (0:00:00.079) 0:00:00.114 ********
ok: [seed] => (item=admin)
ok: [seed] => (item=ipmi)

TASK [ip-allocation : Ensure IP addresses are allocated] ******************************************************************************************************************************************************************************************************************
Monday 29 January 2024 08:40:45 +0000 (0:00:00.128) 0:00:00.242 ********
ok: [seed -> localhost] => (item={'net_name': 'admin', 'cidr': '192.168.10.0/24', 'allocation_pool_start': None, 'allocation_pool_end': None})
ok: [seed -> localhost] => (item={'net_name': 'ipmi', 'cidr': '192.168.20.0/24', 'allocation_pool_start': None, 'allocation_pool_end': None})

PLAY RECAP ****************************************************************************************************************************************************************************************************************************************************************
seed : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

TASK [Validate network interface configuration] ***************************************************************************************************************************************************************************************************************************
Monday 29 January 2024 08:41:11 +0000 (0:00:01.063) 0:00:24.586 ********
skipping: [seed] => (item=admin)
skipping: [seed] => (item=ipmi)
skipping: [seed]

TASK [Validate bridge interface configuration] ****************************************************************************************************************************************************************************************************************************
Monday 29 January 2024 08:41:11 +0000 (0:00:00.067) 0:00:24.653 ********
skipping: [seed]

TASK [Validate bond interface configuration] ******************************************************************************************************************************************************************************************************************************
Monday 29 January 2024 08:41:12 +0000 (0:00:00.037) 0:00:24.691 ********
skipping: [seed]

TASK [Configure the network] **********************************************************************************************************************************************************************************************************************************************
Monday 29 January 2024 08:41:12 +0000 (0:00:00.055) 0:00:24.747 ********

TASK [ahuffman.resolv : Configure...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.