When you use vRealize Automation Appliance Management to upgrade software agents, you can review log files to identify the cause of any problems you experience.

Problem

You might experience problems when you upgrade the software agents. By observing the log files during the software agent upgrade process, you can identify where there is a problem.

Note:

Server Logs

  • Tail the updateSoftwareAgents.log file on the server to observe the process: /storage/log/vmware/vcac/agentupdate/updateSoftwareAgents.log.

  • Tail the catlaina.out file on target appliance to see which software agents are succeeding: /var/log/vcac/catalina.out.

    Look for s string such as "ping" reported back for 7.4.0-SNAPSHOT.

You can find additional information at these locations.

  • /var/cache/vcac/agentupdate/{Tenant}/{UUID}/UUID.plan

  • /var/cache/vcac/agentupdate/{Tenant}/{UUID}/UUID.log

  • /var/cache/vcac/agentupdate/sqa/UUID/UUID.log (per OS)

Before you start a major batch upgrade, you should always perform a test virtual appliance software agent upgrade. For an overview of the process:

  • Observe the first request made to the target virtual appliance to identify the agent versions.

  • Observe the request made to the source virtual appliance for upgrade.

  • Observe the agents reporting their new 7.4 version in the target virtual appliance.

  • Between these events, observe the updateSoftwareAgents.log file at /storage/log/vmware/vcac/agentupdate/updateSoftwareAgents.log

Note:

Client Logs

Linux agent logs are in appdirector agent logs folder: /opt/vmware-appdirector/agent/logs/*.log

You might see log errors like these, which are temporary because the EBS queues go out and in during the upgrade process.

Feb 15 2018 16:54:10.105 ERROR [EventPoller-sw-agent-0ad2418d-5b42-4231-a839-a05dd618e43e] [] com.vmware.vcac.platform.event.broker.client.rest.RestEventSubscribeHandler - Error while polling events for subscription '{}'.

org.springframework.web.client.HttpClientErrorException: 404 Not Found

at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[nobel-agent.jar:na]

at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641) ~[nobel-agent.jar:na]

at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597) ~[nobel-agent.jar:na]

at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:557) ~[nobel-agent.jar:na]

at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:503) ~[nobel-agent.jar:na]

at com.vmware.vcac.platform.event.broker.client.rest.RestEventSubscribeHandler.pollEvents(RestEventSubscribeHandler.java:297) ~[nobel-agent.jar:na]

at com.vmware.vcac.platform.event.broker.client.rest.RestEventSubscribeHandler$EventPoller.run(RestEventSubscribeHandler.java:329) ~[nobel-agent.jar:na]