socallinuxexpo / scale-network

SCaLE's on-site expo network configurations, wifi, tooling, and scripts
https://www.socallinuxexpo.org/
BSD 3-Clause "New" or "Revised" License
40 stars 16 forks source link

Remove workaround when Kea dhcp4 fails to open socket #755

Open sarcasticadmin opened 3 months ago

sarcasticadmin commented 3 months ago

Description

Related to: https://github.com/socallinuxexpo/scale-network/pull/670

Upstream issue: https://gitlab.isc.org/isc-projects/kea/-/issues/2776

I was having an issue running microvm with qemu and the kea dhcp4 service not binding to all interfaces. It would be ok if I restarted the service but it wouldnt come up cleanly on its own. Even after trying to add additional requirements/deps to the unit file nothing seemed to work. The following workaround was the only thing that seems to resolve the issue:

"interfaces-config": {
        ...
        "service-sockets-max-retries": 5,
        "service-sockets-retry-wait-time": 5000
    },

See: https://github.com/socallinuxexpo/scale-network/blob/c6e657d6cca7fc17aac370905dd1e8105d087f8b/facts/inventory.py#L445-L449

There are other related issues to this:

Acceptance Criteria