Error while upgrading VCSA6.0 to 6.5 in Stage2, preupgrade checks fails with error message " internal error during execution of upgrade process"
Also unable to locate upgrade-source-requirements.log file on both source and target VCSA.
ERROR Message :
From Bootstrap log file:
2017-08-29T05:51:18.818Z ERROR upgrade_commands Pre-upgrade checks failed. Check upgrade-source-requirements.log log for details.
2017-08-29T05:51:18.900Z ERROR upgrade_commands Unable to download pre-upgrade checks result file /tmp/vmware-root/tmpvmware188/upgrade-requirements-output.json from xx.xx.xx.xx
2017-08-29T05:51:18.900Z INFO apply_networking Checking network adapter eth0
2017-08-29T05:51:18.900Z INFO apply_networking Extracting active network adapters on host xx.xx.xx.xx
2017-08-29T05:51:21.123Z INFO apply_networking Active Network adapters found are ['eth0']
2017-08-29T05:51:21.123Z INFO apply_networking Network adapter eth0 present in ['eth0']: True
2017-08-29T05:51:25.289Z INFO transfer_network IPv4 configuration -> source vCSA: ipv4=xx.xx.xx.xx subnet=255.255.255.192 destination vCSA: ipv4=10.86.144.145 subnet=255.255.255.192
2017-08-29T05:51:25.290Z INFO transfer_network Source and destination vCSA are in the same subnet.
2017-08-29T05:51:34.814Z INFO sdk_utils Appliance has version 6.0.0.0
2017-08-29T05:51:35.106Z INFO transfer_network Source is not configured with NTP server.
2017-08-29T05:51:40.325Z ERROR upgrade_commands Unable to execute pre-upgrade checks on host xx.xx.xx.xx
Traceback (most recent call last):
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/upgrade_commands.py", line 2199, in execute
preupgradeResult = self._executePreupgradeChecks()
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/upgrade_commands.py", line 2693, in _executePreupgradeChecks
ssoIps = preupgradeResult.get('extraArguments', {}).get('ur.appliance.sso.ipaddresses', {})
AttributeError: 'NoneType' object has no attribute 'get'
2017-08-29T05:51:40.327Z INFO upgrade_commands Prune InstallInfo spec
2017-08-29T05:51:40.327Z INFO upgrade_commands Persisting preupgrade-checks to "/var/log/vmware/upgrade/prechecks.json"
2017-08-29T05:51:40.328Z INFO upgrade_commands Persisting preupgrade-checks to temporary file "/var/log/vmware/upgrade/prechecks.json.tmp"
2017-08-29T05:51:40.329Z INFO base_commands Cleaning up remote host...
2017-08-29T05:51:40.329Z INFO base_commands Download directory /var/log/vmware/upgrade to /var/log/vmware/upgrade
2017-08-29T05:51:40.409Z WARNING proxy got Cannot download directory because remote directory /var/log/vmware/upgrade does not exist, retrying ...
2017-08-29T05:51:40.497Z WARNING proxy got Cannot download directory because remote directory /var/log/vmware/upgrade does not exist, retrying ...
2017-08-29T05:51:40.585Z WARNING proxy got Cannot download directory because remote directory /var/log/vmware/upgrade does not exist, retrying ...
2017-08-29T05:51:40.681Z WARNING proxy got Cannot download directory because remote directory /var/log/vmware/upgrade does not exist, retrying ...
2017-08-29T05:51:40.767Z WARNING proxy got Cannot download directory because remote directory /var/log/vmware/upgrade does not exist, retries maxed out
2017-08-29T05:51:40.767Z ERROR base_commands Unable to upload required files to [xx.xx.xx.xx]
Traceback (most recent call last):
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/base_commands.py", line 500, in execute
self.opsManager.downloadDirectory(destinationPath, sourcePath)
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/ssh_utils.py", line 1057, in downloadDirectory
self.sshTransport.downloadDirectory(remoteDirPath, localDirPath)
File "/usr/lib/vmware/cis_upgrade_runner/libs/sdk/proxy.py", line 81, in __call__
ret = self.func(*args, **kwargs)
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/ssh_utils.py", line 788, in downloadDirectory
'directory %s does not exist' % remoteDirPath)
FileException: Cannot download directory because remote directory /var/log/vmware/upgrade does not exist
2017-08-29T05:51:40.768Z INFO base_commands Executing command: [<class 'base_commands.RemoveFilesCommand'>]
2017-08-29T05:51:40.941Z INFO base_commands Directory /tmp/vmware-root/tmpvmware188 is successfully removed
2017-08-29T05:51:40.941Z INFO base_commands Executing command: [<class 'upgrade_commands.CleanupRemoteLinuxTransportCommand'>]
2017-08-29T05:51:40.941Z INFO upgrade_commands Cleanup SSH transport on remote host: "xx.xx.xx.xx"
2017-08-29T05:51:41.317Z INFO ssh_utils Remote authorization ssh file has been removed
2017-08-29T05:51:41.317Z INFO ssh_utils Private ssh key file /root/.ssh/id_rsa has been removed.
2017-08-29T05:51:41.317Z INFO ssh_utils Public ssh key file /root/.ssh/id_rsa.pub has been removed.
2017-08-29T05:51:41.317Z INFO ssh_utils Local ssh knownhosts file /root/.ssh/upgrade_known_hosts has been removed
2017-08-29T05:51:41.317Z INFO ssh_utils Ssh password-less transport has been cleaned up
2017-08-29T05:51:41.318Z INFO shell_utils Active shell has already been set to: /bin/bash,
2017-08-29T05:51:41.318Z INFO upgrade_commands SSH transport is successfully cleanup on remote host: "xx.xx.xx.xx"
2017-08-29T05:51:41.318Z INFO shell_utils Active shell has already been set to: /bin/appliancesh,
2017-08-29T05:51:41.318Z INFO upgrade_commands SSH transport is successfully cleanup on local host
2017-08-29T05:51:41.318Z ERROR __main__ ERROR: Fatal error during upgrade REQUIREMENTS. For more details take a look at: /var/log/vmware/upgrade/requirements-upgrade-runner.log
2017-08-29T05:51:41.319Z INFO root Exiting with exit-code 1
Hi Andre,
Error got fixed after upgrading source vcenter VCSA6.0U2 to 6.0u3 and then initiating upgrade to 6.5.
JFYI...Both source VCSA and Target VCSA time were in sync and also update manager server where migration assistant was running.
Welcome to the Community,
Maybe Internal error occurs during execution of upgrade process" error when upgrading to vCenter Server Ap... helps!?
If not, provide more information like the upgrade log files.
André
Hi Andre
I have gone through this KB article , there is no change in ethernet adapters, eth0 exists.
A quick question: Did you already install the required Client-Integration-Plugin for the new version?
André
Nope...
Sorry, my bad. Forget about the Client Integration Plugin. It doesn't exist for v6.5 anymore, and was only required for previous versions.
What you may do is to check whether all prerequisites are met, especially time sync (the log complains about a missing NTP setting).
see Prerequisites for Upgrading the vCenter Server Appliance or Platform Services Controller Appliance
André
Hi Andre,
Error got fixed after upgrading source vcenter VCSA6.0U2 to 6.0u3 and then initiating upgrade to 6.5.
JFYI...Both source VCSA and Target VCSA time were in sync and also update manager server where migration assistant was running.