Hi

I have Kea servers on places where sometimes doesnt work power (longer than 
UPS)  
I have config, leases and hosts in database MySQL
When power is back server get up faster than switches and routers so interface 
is down and Kea doesnt start

říj 29 12:42:15 dhcp-01.hzsulk.cz kea-dhcp4[8647]: ERROR 
[kea-dhcp4.dhcp4.140105088432256] DHCP4_CONFIG_LOAD_FAIL configuration error 
using file: /etc/kea/kea-dhcp4.conf, reason: during update from config backend 
database: Unknown server host 'db.example.com' (-2)  
říj 29 12:42:15 dhcp-01.hzsulk.cz kea-dhcp4[8647]: ERROR 
[kea-dhcp4.dhcp4.140105088432256] DHCP4_INIT_FAIL failed to initialize Kea 
server: configuration error using file '/etc/kea/kea-dhcp4.conf': during update 
from config backend database: Unknown server host 'db.example.com' >  
říj 29 12:42:15 dhcp-01.hzsulk.cz kea-dhcp4[8647]: ERROR 
[kea-dhcp4.dhcp4.140105088432256] DHCP4_PARSER_COMMIT_FAIL parser failed to 
commit changes: during update from config backend database: Unknown server host 
'db.example.com' (-2)  


Config is:


"Dhcp4": {
    "server-tag": "DHCP-01",
    "interfaces-config": {
        "interfaces": ["ens33"],
        "service-sockets-max-retries": 100,
        "service-sockets-retry-wait-time": 5000
    },
    "config-control": {
        "config-databases": [{
                "type": "mysql",
                "name": "kea",
                "user": "kea",
                "password": "fhgfethfgthtfeg",
                "host": "db.example.com",
                "port": 3306,
#               "retry-on-startup": "true",
                "max-reconnect-tries" : 30000,
                "reconnect-wait-time": 3000
            }],
        "config-fetch-wait-time": 20
    },

No setting work to try connect again


VW
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to