<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Bertrand!</p>
<p>The "include" statements in the Kea Control Agent configuration
are supported from the 0.20.0 version.<br>
<br>
Stork uses a following pattern to recognize the imports:
<\?include\s*\"([^"]+\.json)\"\s*\?><br>
<br>
It means the included file must have the ".json" extension. But
you used ".include," which is rejected.</p>
<p>Best regards<br>
Slawek<br>
</p>
<div class="moz-cite-prefix">On 11/05/2023 21:30, Buclin, Bertrand
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DS0PR02MB9023DDB7F8B3125B1CF9B982CC779@DS0PR02MB9023.namprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 11 6 4 2 2 2 2 2 4;}@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
font-size:10.5pt;
font-family:Menlo;
color:black;}p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0cm;
font-size:10.5pt;
font-family:Menlo;
color:black;}span.s1
{mso-style-name:s1;}span.apple-converted-space
{mso-style-name:apple-converted-space;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:none;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The Stork Agent is not
happy when a KEA configuration file has an include statement
in it. This is the error I see on the syslog:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="p1"><span class="s1">level="error" msg="Invalid Kea
Control Agent config" file="</span><span
class="apple-converted-space">
</span><span class="s1">kea.go:215</span><span
class="apple-converted-space"> </span>
<span class="s1">" error="Cannot parse Kea Control Agent
config file: problem parsing Kea configuration: invalid
character '<' looking for beginning of object key string:
invalid character '<' looking for beginning of object key
string"</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">And the configuration
file it is trying to read is starting as:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="p1"><span class="s1">{</span></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="s1">"Control-agent": {</span></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="s1"><?include
"/mnt/data/etc/kea/local-ctrl-agent.include"?></span></p>
<p class="p2"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><b><span
style="color:#2F5597;mso-ligatures:none" lang="EN-US">Regards,
Bertrand</span></b></p>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
</body>
</html>