VMware Cloud Community
eai
Enthusiast
Enthusiast
Jump to solution

External PSC upgrade error 6.0 -> 6.5

Been beating our heads against this for a day -

Upgrading an external PSC from 6.0 to 6.5.  Tried this via the CLI **and** the UI.  We manage to get past all the phase 1 export stuff - when we hit phase 2 (copying data over), the pre-upgrade checks run again and fail on a well-known issue in the README:

The upgrade of a vCenter Server Appliance might fail because a dependency shared library path is missing
The upgrade of a vCenter Server Appliance might fail before the export phase and the error log shows: /opt/vmware/share/vami/vami_get_network: error while loading shared libraries: libvami-common.so: cannot open shared object file: No such file or directory. This problem occurs due to missing dependency shared library path.

but this README item covers the fix for the FIRST phase on the original PSC you're upgrading, and does not anticipate the check failing on the NEW PSC you are deploying to.

The error surfaced to the installers is "Cannot collect upgrade requirements. For more details check out the server logs."

Not sure how/why these checks are even running again on phase 2, but I see no viable workaround.


Wondered if anyone has seen this, before I file a support ticket.

Tags (2)
20 Replies
vspheretester
Contributor
Contributor
Jump to solution

Error stuff in upgrade-source-requirements.log (vm-support.tgz)

2017-06-18T17:58:08.328Z ERROR apply_networking Failed to get source system network configuration stdout: , stderr: /opt/vmware/share/vami/vami_get_network: error while loading shared libraries: libvami-common.so: cannot open shared object file: No such file or directory

, exit-code: 127.

2017-06-18T17:58:08.328Z ERROR __main__ Fatal error during upgrade collect requirements.

Traceback (most recent call last):

  File "/tmp/vmware-root/tmpvmware206/bootstrap_scripts/run_linux_preupgrade_checks.py", line 1736, in main

    deploymentType, applianceVersion)

  File "/tmp/vmware-root/tmpvmware206/bootstrap_scripts/run_linux_preupgrade_checks.py", line 1391, in _addAppliancePnid

    mismatches)

  File "/tmp/vmware-root/tmpvmware206/bootstrap_scripts/run_linux_preupgrade_checks.py", line 1334, in _pickAppliance60Fqdn

    _validatePnidDnsResolvable(legacyPnid, mismatches)

  File "/tmp/vmware-root/tmpvmware206/bootstrap_scripts/run_linux_preupgrade_checks.py", line 1001, in _validatePnidDnsResolvable

    nwConfig = vamiGetNetwork(processManager=LocalOperationsManager())

  File "/tmp/vmware-root/tmpvmware206/bootstrap_scripts/apply_networking.py", line 144, in vamiGetNetwork

    output = _execNetworkConfigCommand(processManager, [VAMI_GET_NETWORK_CMD, interface])

  File "/tmp/vmware-root/tmpvmware206/bootstrap_scripts/apply_networking.py", line 72, in _execNetworkConfigCommand

    raise NetworkConfigError(error)

NetworkConfigError: Failed to get source system network configuration stdout: , stderr: /opt/vmware/share/vami/vami_get_network: error while loading shared libraries: libvami-common.so: cannot open shared object file: No such file or directory

, exit-code: 127.

2017-06-18T17:58:08.334Z INFO root Exiting with exit-code 1

For the above error, the workaround helps!

Thanks PuliSukumar.

Reply
0 Kudos