(Azure elastic agent)Failed to install go agent on gocd-azure-c413d70b

15 views
Skip to first unread message

Robert Lounsberry

unread,
Jun 9, 2020, 9:25:57 AM6/9/20
to go-cd
Has anyone run into this error with the Go Azure Elastic Agent not installing the agent on the VM that it spins up? I'm not even sure where to look to find this information for it to be edited. 

Failed to install go agent on gocd-azure-c413d70b-f776-4d01-8435-5b77799a3ddf for job settingsrouter_experiment/2/build/1/windows due to error: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> plugin_id  [in template "windows_install_go_agent.template.flth" at line 20, column 17]

----
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: ${plugin_id}  [in template "windows_install_go_agent.template.flth" at line 20, column 15]

Aravind SV

unread,
Jun 9, 2020, 9:40:24 AM6/9/20
to go...@googlegroups.com
Hello Robert,

Since there were changes made to open-source it, maybe there was a mistake somewhere. If you want, I can try and work with you to make sure it works. If that's ok, please open an issue on the repo and we can collaborate there.

I can spend time in my evenings though. So, you might not get an immediate response.

Cheers,
Aravind

Robert Lounsberry

unread,
Jun 9, 2020, 11:34:31 AM6/9/20
to go-cd
i would greatly appreciate your help here. I have done so, and thank you very much for the quick response to this issue. The issue is posted - https://github.com/gocd/gocd/issues/8218 If there is something formatted wrong or you need more information, I'll be monitoring that post. Thanks again!

Robert Lounsberry

unread,
Jun 9, 2020, 2:02:13 PM6/9/20
to go-cd
The updated plugin resolved this specific issue. Thank you. 
Reply all
Reply to author
Forward
0 new messages