Ironic DHCP lease time not respected in Bifrost's dnsmasq.conf

Bug #2077062 reported by Martin Ananda Boeker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
New
Undecided
Unassigned

Bug Description

Kayobe 2023.2
Kolla/kolla-ansible 2023.2
OpenStack 2023.2
Ubuntu 22.04

Regardless of what is set as "ironic_dnsmasq_dhcp_default_lease_time" (by default 10 min), in Bifrost dnsmasq.conf the lease time is always set to 12h:

dhcp-range=10.0.2.30,10.0.2.230,255.255.255.0,12h

Revision history for this message
Will Szumski (willjs) wrote :

That variable affects Ironic deployed in the overcloud and not bifrost. The equivalent in bifrost land is:

https://github.com/openstack/bifrost/blob/1c95336154c9ed3995bb63c4b4d16f344290b796/playbooks/roles/bifrost-ironic-install/README.md?plain=1#L106

have you tried adding:

dhcp_lease_time: 48h

in ${KAYOBE_CONFIG_PATH}/kolla/config/bifrost/bifrost.yml as per:

https://docs.openstack.org/kayobe/latest/configuration/reference/bifrost.html#custom-configuration

If this works, it would be good to add to the documentation :)

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.