配置Aquila Server安装报错
2022-06-25T01:39:02.226 [Master] ========== Task 274 start to run. ==========
2022-06-25T01:39:02.227 [Master] Starting task local part ...
2022-06-25T01:39:02.228 [Master] Start handle role task...
2022-06-25T01:39:02.282 [Master] execute command: DirectiveDetail.CreateDirsOp(paths=[/etc/aquila/], mode=400, owner=null, group=null)
2022-06-25T01:39:02.282 [Master] execute command: DirectiveDetail.CreateDirsOp(paths=[/etc/aquila/conf], mode=755, owner=null, group=null)
2022-06-25T01:39:02.282 [Master] execute command: DirectiveDetail.CreateDirsOp(paths=[/var/log/aquila], mode=755, owner=null, group=null)
2022-06-25T01:39:02.282 [Master] execute command: DirectiveDetail.RenderFileOp(templateType=FreeMarker, templatePath=guardian-site.xml.ftl, targetPath=/etc/aquila/conf/guardian-site.xml, mode=755, owner=null, group=null, opsTpl=false)
2022-06-25T01:39:02.282 [Master] rendering content of: /etc/aquila/conf/guardian-site.xml
2022-06-25T01:39:02.283 [Master] content of host tdhc-manager file /etc/aquila/conf/guardian-site.xml generated
2022-06-25T01:39:02.283 [Master] Start executing [chmod 755 /var/lib/transwarp-manager/master/content/resources/nodes/tdhc-manager/@etc@aquila@conf@guardian-site.xml]
2022-06-25T01:39:02.287 [Master] Execute success.
2022-06-25T01:39:02.287 [Master] Start copy from [localhost] /var/lib/transwarp-manager/master/content/resources/nodes/tdhc-manager/@etc@aquila@conf@guardian-site.xml to [tdhc-manager] /var/lib/transwarp-manager/agent/resource-tmp/@etc@aquila@conf@guardian-site.xml
2022-06-25T01:39:02.289 [Master] Copy success.
2022-06-25T01:39:02.289 [Master] execute command: DirectiveDetail.RenderFileOp(templateType=FreeMarker, templatePath=server/env.sh.ftl, targetPath=/etc/aquila/conf/server/env.sh, mode=755, owner=null, group=null, opsTpl=false)
2022-06-25T01:39:02.289 [Master] rendering content of: /etc/aquila/conf/server/env.sh
2022-06-25T01:39:02.290 [Master] content of host tdhc-manager file /etc/aquila/conf/server/env.sh generated
2022-06-25T01:39:02.290 [Master] Start executing [chmod 755 /var/lib/transwarp-manager/master/content/resources/nodes/tdhc-manager/@etc@aquila@conf@server@env.sh]
2022-06-25T01:39:02.294 [Master] Execute success.
2022-06-25T01:39:02.294 [Master] Start copy from [localhost] /var/lib/transwarp-manager/master/content/resources/nodes/tdhc-manager/@etc@aquila@conf@server@env.sh to [tdhc-manager] /var/lib/transwarp-manager/agent/resource-tmp/@etc@aquila@conf@server@env.sh
2022-06-25T01:39:02.296 [Master] Copy success.
2022-06-25T01:39:02.296 [Master] execute command: DirectiveDetail.RenderFileOp(templateType=FreeMarker, templatePath=server/application.yml.ftl, targetPath=/etc/aquila/conf/server/application.yml, mode=755, owner=null, group=null, opsTpl=false)
2022-06-25T01:39:02.296 [Master] rendering content of: /etc/aquila/conf/server/application.yml
2022-06-25T01:39:02.301 [Master] FreeMarker template error:
The following has evaluated to null or missing:
==> kundb['kungate.server.port'] [in nameless template at line 48, column 58]
----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign hostPorts = hostPorts + [r.ho... [in nameless template at line 48, column 5]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:481)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:92)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:57)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.ListLiteral._eval(ListLiteral.java:49)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:57)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.Assignment.accept(Assignment.java:134)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:657)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.process(Environment.java:326)
at freemarker.template.Template.process(Template.java:383)
at io.transwarp.manager.common.util.freemarker.FreeMarkerUtils.process(FreeMarkerUtils.java:81)
at io.transwarp.manager.common.util.freemarker.FreeMarkerUtils.renderToFile(FreeMarkerUtils.java:52)
at io.transwarp.manager.master.operation.execution.localrunner.RoleTaskLocalRunner.execute(RoleTaskLocalRunner.java:165)
at io.transwarp.manager.master.operation.execution.localrunner.RoleTaskLocalRunner.execute(RoleTaskLocalRunner.java:49)
at io.transwarp.manager.master.operation.execution.localrunner.AbstractTaskLocalRunner.run(AbstractTaskLocalRunner.java:98)
at io.transwarp.manager.master.operation.execution.TaskDriver$TaskRunHelper.runTask(TaskDriver.java:224)
at io.transwarp.manager.master.operation.execution.TaskDriver$TaskRunHelper$$FastClas*ySpringCGLIB$$e353057f.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
2022-06-25T01:39:02.301 [Master] The command is necessary but failed!
2022-06-25T01:39:02.304 [Master] The Task 274 run failed: java.lang.RuntimeException: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> kundb['kungate.server.port'] [in nameless template at line 48, column 58]
----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign hostPorts = hostPorts + [r.ho... [in nameless template at line 48, column 5]
----
at io.transwarp.manager.master.operation.execution.TaskDriver$TaskRunHelper.runTask(TaskDriver.java:226)
at io.transwarp.manager.master.operation.execution.TaskDriver$TaskRunHelper$$FastClas*ySpringCGLIB$$e353057f.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> kundb['kungate.server.port'] [in nameless template at line 48, column 58]
----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign hostPorts = hostPorts + [r.ho... [in nameless template at line 48, column 5]
----
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:481)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:92)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:57)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.ListLiteral._eval(ListLiteral.java:49)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:57)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.Assignment.accept(Assignment.java:134)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:657)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.process(Environment.java:326)
at freemarker.template.Template.process(Template.java:383)
at io.transwarp.manager.common.util.freemarker.FreeMarkerUtils.process(FreeMarkerUtils.java:81)
at io.transwarp.manager.common.util.freemarker.FreeMarkerUtils.renderToFile(FreeMarkerUtils.java:52)
at io.transwarp.manager.master.operation.execution.localrunner.RoleTaskLocalRunner.execute(RoleTaskLocalRunner.java:165)
at io.transwarp.manager.master.operation.execution.localrunner.RoleTaskLocalRunner.execute(RoleTaskLocalRunner.java:49)
at io.transwarp.manager.master.operation.execution.localrunner.AbstractTaskLocalRunner.run(AbstractTaskLocalRunner.java:98)
at io.transwarp.manager.master.operation.execution.TaskDriver$TaskRunHelper.runTask(TaskDriver.java:224)
... 10 more