Devstack used in development is about things coming and going
quickly. The long dhcp leases mean that we might miss a release, and
keep a stale lease around for way too long. See if this helps.
Change-Id: I9a58a4e64777f56ad7ec66242a319f985469469e
| ... | ... |
@@ -709,6 +709,8 @@ function create_nova_conf_nova_network {
|
| 709 | 709 |
iniset $NOVA_CONF DEFAULT public_interface "$PUBLIC_INTERFACE" |
| 710 | 710 |
iniset $NOVA_CONF DEFAULT vlan_interface "$VLAN_INTERFACE" |
| 711 | 711 |
iniset $NOVA_CONF DEFAULT flat_network_bridge "$FLAT_NETWORK_BRIDGE" |
| 712 |
+ # force down dhcp leases to 5 minutes, which lets us expire faster |
|
| 713 |
+ iniset $NOVA_CONF DEFAULT dhcp_lease_time 300 |
|
| 712 | 714 |
if [ -n "$FLAT_INTERFACE" ]; then |
| 713 | 715 |
iniset $NOVA_CONF DEFAULT flat_interface "$FLAT_INTERFACE" |
| 714 | 716 |
fi |