Hey Carl,

Agents can only pick up a job after they are upgraded to the version of the
server (shown in the footer of every page). So, as soon as an agent
finishes upgrading it becomes available ("idle"). It won't be able to pick
up anything till that happens.

The agent bootstrapper is the thing you actually installed (using a Debian
package, etc). It is a small component that is responsible for upgrading
the agent components (launcher and agent), which do the actual work. The
agent bootstrapper log should be in /var/log/go-agent/. The
agent-launcher.log (in the same location, on the agent machine) should have
some lines similar to this:

INFO  thoughtworks.go.util.PerfTimer:53 - Performance: Downloading new
admin/agent-launcher.jar with md5 signature: WZuIEwnR+Rkpjvs4/86f4Q== took
101ms
INFO  go.agent.launcher.ServerBinaryDownloader:108 - Downloading agent.jar
INFO  go.agent.launcher.ServerBinaryDownloader:115 - Got server response
INFO  go.agent.launcher.ServerBinaryDownloader:123 - Piped the stream to
admin/agent
INFO  thoughtworks.go.util.PerfTimer:53 - Performance: Downloading new
admin/agent with md5 signature: 7b6hZAvr2LJpmMyFZqoZoA== took 214ms
INFO  agent.common.util.JarUtil:68 - Attempting to load
Go-Agent-Bootstrap-Class from agent.jar File:
INFO  agent.common.util.JarUtil:83 - manifestClassKey:
Go-Agent-Bootstrap-Class: com.thoughtworks.go.agent.AgentProcessParentImpl
INFO  thoughtworks.go.agent.AgentProcessParentImpl:52 -

*Agent is version: 17.4.0-23620*
I don't believe the server shows the status of an agent as "Downloading" or
anything like that in the agents page.

Cheers,
Aravind

On Thu, May 4, 2017 at 3:45 PM, Carl Reid <[email protected]> wrote:

> We have  just updated from 17.2 to 17.4.
>
> I believe that the Go Agents upgrade automatically after the server is
> updated to a new version however I cannot see anything in the Go server log
>  /var/log/go-server/go-server.log  about this upgrade.
>
> From the server, how do you monitor the upgrade process and determine
> which agents have updated?
> From the agent, how do you show the current version of the agent?
>
> I saw another post that said you should look in the
> "go-agent-bootstrapper.log" however from the agents I have looked at this
> does not seem to get populated.
>
>
> thanks
>
> Carl
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to