We want to be able to validate the configuration file without
touching/accessing the production servers, for example for
developing/testing/validating changes in the software that generates the
configuration file.
On 27/08/2021 15:12, perl-list wrote:
Is it not possible to, instead, check the conf file on host2 where it will live?
----- Original Message -----
From: "Veronique Lefebure" <[email protected]>
To: "kea-users" <[email protected]>
Sent: Friday, August 27, 2021 5:39:15 AM
Subject: [Kea-users] kea-dhcp4 -t file: check the configuration file syntax and
exit but fails because of interface
Hi,
Before deploying a new kea configuration file on our DHCP server, we
want to validate it.
The configuration file "kea-dhcp4.conf" is generated on host1 where we
want to validate it by running
kea-dhcp4 -t kea-dhcp4.conf
And once validation has passed, we plan to deploy "kea-dhcp4.conf" ho
the KEA server running on host2.
The problem we have is that validation fails with the following error:
Error encountered: Failed to select interface: interface 'xxxxx' doesn't
exist in the system (kea-dhcp4.conf:225:9) (kea-dhcp4.conf:224:7)
coming from
"interfaces-config": {
"interfaces": [
"xxxxx"
],
"dhcp-socket-type": "udp"
},
Interface 'xxxxx' may exist on host2 but not on host1.
Is anyone encountering the same problem ?
Is there a work-around ?
Thanks,
Veronique
_______________________________________________
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users
_______________________________________________
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users
_______________________________________________
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users