VMware Cloud Community
KThorlund
Enthusiast
Enthusiast

vRA 7.6 Patch 15 Install Error - Times Out

Good morning, 

I have just tried to apply the Patch 15 on our vRA 7.6 installation, following the instructions in the guide. The Patch 15 is rather big, like 4.5 GB..

After 45 minutes the installation failed, thou I see no real error. As well doesnt the selfpatch.log not contain any usefull information. It says it times out.. How long should I expect it to run - do I need to adjust timeout parameters?

Can any of you point to a direct where to look - or have seen similar ? Any debug mode during the installation?

Regards, Kjeld

[master] vra03:~ # sh /usr/lib/vcac/patches/repo/contents/vRA-patch/patchscript.sh
Executing self-patch, please wait till process completes.
2020-10-14 05:40:15,094 - __main__ - INFO : 193 - Patching current node vra03.local
2020-10-14 05:40:15,100 - __main__ - INFO : 77 - Executing command: /usr/sbin/vcac-config patch-command --command-name execute-shell --args argument=chmod 644 /usr/lib/vcac/tools/config/repo/vcac-config-cli-7.6.0-SNAPSHOT.jar
2020-10-14 05:40:16,616 - __main__ - INFO : 199 - Result:
2020-10-14 05:40:16,641 - __main__ - INFO : 170 - Running get_hotfix_service_rpm_name
2020-10-14 05:40:16,641 - __main__ - INFO : 185 - hotfix_service_rpm_name: vCAC-IaaSManagementAgent-Setup.msi
2020-10-14 05:40:16,645 - __main__ - INFO : 222 - Executing command: /usr/sbin/vcac-config patch-command --command-name execute-shell --args argument=sh /tmp/install_hotfix_service_rpm.sh
2020-10-14 05:40:18,302 - __main__ - INFO : 230 - Copied binaries to /opt/vmware/share/htdocs/service/iaas/download/
2020-10-14 05:40:18,302 - __main__ - INFO : 161 - Updating DB constraints.
2020-10-14 05:40:18,302 - __main__ - INFO : 60 - Executing command: ['/usr/sbin/vcac-config', 'database-upgrade-cluster']
2020-10-14 05:40:19,831 - __main__ - INFO : 167 - Result:
2020-10-14 05:40:19,831 - __main__ - INFO : 60 - Executing command: ['/usr/sbin/vcac-config', 'cluster-config', '-list']
2020-10-14 05:40:21,366 - __main__ - INFO : 250 - Patching IaaS node: vra01.local, NodeId: 24C36220-5473-4D07-A1EA-BF8008999D6D
2020-10-14 05:40:21,366 - __main__ - INFO : 138 - Starting :: Patch IaaS nodes
2020-10-14 05:40:21,366 - __main__ - INFO : 60 - Executing command: ['/usr/sbin/vcac-config', 'command-execute', '--command', 'upgrade-management-agent', '--node', u'24C36220-5473-4D07-A1EA-BF8008999D6D']
2020-10-14 06:25:15,852 - __main__ - INFO : 66 - Error executing command: ['/usr/sbin/vcac-config', 'command-execute', '--command', 'upgrade-management-agent', '--node', u'24C36220-5473-4D07-A1EA-BF8008999D6D']
2020-10-14 06:25:15,852 - __main__ - ERROR : 258 - Exception occurred while applying selfpatch.
2020-10-14 06:25:15,852 - __main__ - ERROR : 259 - ('Command execution of all commands did not finish within the defined timeout time.\nCommand execution result:\nCommand id: c5e6ac82-4c2e-469d-bc99-7634bde0871d\n   Type: upgrade-management-agent\n   Node id: 24C36220-5473-4D07-A1EA-BF8008999D6D\n   Node host: vra01.local\n   Result: \n   Result description: \n   Status: QUEUED\n\n', 'Error executing command')
Traceback (most recent call last):
  File "selfpatchscript.py", line 251, in main
    patch_iaas_nodes(nodeId)
  File "selfpatchscript.py", line 143, in patch_iaas_nodes
    result = execute_command(args)
  File "selfpatchscript.py", line 67, in execute_command
    raise Exception(stderrdata, 'Error executing command')
Exception: ('Command execution of all commands did not finish within the defined timeout time.\nCommand execution result:\nCommand id: c5e6ac82-4c2e-469d-bc99-7634bde0871d\n   Type: upgrade-management-agent\n   Node id: 24C36220-5473-4D07-A1EA-BF8008999D6D\n   Node host: vra01.local\n   Result: \n   Result description: \n   Status: QUEUED\n\n', 'Error executing command')
2020-10-14 06:25:15,853 - __main__ - INFO : 265 - Saving selfpatch results to /usr/lib/vcac/patches/repo/contents/vRA-patch/self-patch.json.
2020-10-14 06:25:15,853 - __main__ - INFO : 287 - Set self-patch applied to false
Traceback (most recent call last):
  File "selfpatchscript.py", line 309, in <module>
    main()
  File "selfpatchscript.py", line 263, in main
    raise e
Exception: ('Command execution of all commands did not finish within the defined timeout time.\nCommand execution result:\nCommand id: c5e6ac82-4c2e-469d-bc99-7634bde0871d\n   Type: upgrade-management-agent\n   Node id: 24C36220-5473-4D07-A1EA-BF8008999D6D\n   Node host: vra01.local\n   Result: \n   Result description: \n   Status: QUEUED\n\n', 'Error executing command')
Error while applying self-patch. Check ./var/log/vmware/vcac/selfpatch.log for more details.

Last login: Wed Oct 14 05:23:00 UTC 2020 from 10.5.100.122 on ssh
[master] vra03:~ # sh /usr/lib/vcac/patches/repo/contents/vRA-patch/patchscript.sh
Executing self-patch, please wait till process completes.
2020-10-14 05:40:15,094 - __main__ - INFO : 193 - Patching current node vra03.local
2020-10-14 05:40:15,100 - __main__ - INFO : 77 - Executing command: /usr/sbin/vcac-config patch-command --command-name execute-shell --args argument=chmod 644 /usr/lib/vcac/tools/config/repo/vcac-config-cli-7.6.0-SNAPSHOT.jar
2020-10-14 05:40:16,616 - __main__ - INFO : 199 - Result:
2020-10-14 05:40:16,641 - __main__ - INFO : 170 - Running get_hotfix_service_rpm_name
2020-10-14 05:40:16,641 - __main__ - INFO : 185 - hotfix_service_rpm_name: vCAC-IaaSManagementAgent-Setup.msi
2020-10-14 05:40:16,645 - __main__ - INFO : 222 - Executing command: /usr/sbin/vcac-config patch-command --command-name execute-shell --args argument=sh /tmp/install_hotfix_service_rpm.sh
2020-10-14 05:40:18,302 - __main__ - INFO : 230 - Copied binaries to /opt/vmware/share/htdocs/service/iaas/download/
2020-10-14 05:40:18,302 - __main__ - INFO : 161 - Updating DB constraints.
2020-10-14 05:40:18,302 - __main__ - INFO : 60 - Executing command: ['/usr/sbin/vcac-config', 'database-upgrade-cluster']
2020-10-14 05:40:19,831 - __main__ - INFO : 167 - Result:
2020-10-14 05:40:19,831 - __main__ - INFO : 60 - Executing command: ['/usr/sbin/vcac-config', 'cluster-config', '-list']
2020-10-14 05:40:21,366 - __main__ - INFO : 250 - Patching IaaS node: vra01.local, NodeId: 24C36220-5473-4D07-A1EA-BF8008999D6D
2020-10-14 05:40:21,366 - __main__ - INFO : 138 - Starting :: Patch IaaS nodes
2020-10-14 05:40:21,366 - __main__ - INFO : 60 - Executing command: ['/usr/sbin/vcac-config', 'command-execute', '--command', 'upgrade-management-agent', '--node', u'24C36220-5473-4D07-A1EA-BF8008999D6D']
2020-10-14 06:25:15,852 - __main__ - INFO : 66 - Error executing command: ['/usr/sbin/vcac-config', 'command-execute', '--command', 'upgrade-management-agent', '--node', u'24C36220-5473-4D07-A1EA-BF8008999D6D']
2020-10-14 06:25:15,852 - __main__ - ERROR : 258 - Exception occurred while applying selfpatch.
2020-10-14 06:25:15,852 - __main__ - ERROR : 259 - ('Command execution of all commands did not finish within the defined timeout time.\nCommand execution result:\nCommand id: c5e6ac82-4c2e-469d-bc99-7634bde0871d\n   Type: upgrade-management-agent\n   Node id: 24C36220-5473-4D07-A1EA-BF8008999D6D\n   Node host: vra01.local\n   Result: \n   Result description: \n   Status: QUEUED\n\n', 'Error executing command')
Traceback (most recent call last):
  File "selfpatchscript.py", line 251, in main
    patch_iaas_nodes(nodeId)
  File "selfpatchscript.py", line 143, in patch_iaas_nodes
    result = execute_command(args)
  File "selfpatchscript.py", line 67, in execute_command
    raise Exception(stderrdata, 'Error executing command')
Exception: ('Command execution of all commands did not finish within the defined timeout time.\nCommand execution result:\nCommand id: c5e6ac82-4c2e-469d-bc99-7634bde0871d\n   Type: upgrade-management-agent\n   Node id: 24C36220-5473-4D07-A1EA-BF8008999D6D\n   Node host: vra01.local\n   Result: \n   Result description: \n   Status: QUEUED\n\n', 'Error executing command')
2020-10-14 06:25:15,853 - __main__ - INFO : 265 - Saving selfpatch results to /usr/lib/vcac/patches/repo/contents/vRA-patch/self-patch.json.
2020-10-14 06:25:15,853 - __main__ - INFO : 287 - Set self-patch applied to false
Traceback (most recent call last):
  File "selfpatchscript.py", line 309, in <module>
    main()
  File "selfpatchscript.py", line 263, in main
    raise e
Exception: ('Command execution of all commands did not finish within the defined timeout time.\nCommand execution result:\nCommand id: c5e6ac82-4c2e-469d-bc99-7634bde0871d\n   Type: upgrade-management-agent\n   Node id: 24C36220-5473-4D07-A1EA-BF8008999D6D\n   Node host: vra01.local\n   Result: \n   Result description: \n   Status: QUEUED\n\n', 'Error executing command')
Error while applying self-patch. Check ./var/log/vmware/vcac/selfpatch.log for more details.
0 Kudos
1 Reply
gradinka
VMware Employee
VMware Employee

well, better file an SR with vmware support.

Updating management agent is always with 80% of success as it's a widnows service, and it could be affected by permissions, policies, windows updates and whatnot.

0 Kudos