vCenter upgrade fails with "Internal error occurs during export of VMware vSphere Update Manager"
search cancel

vCenter upgrade fails with "Internal error occurs during export of VMware vSphere Update Manager"

book

Article ID: 387378

calendar_today

Updated On:

Products

VMware vCenter Server 7.0

Issue/Introduction

Symptoms:

  • vCenter upgrade is being performed from 6.7 to 7.0
  • Upgrade fails during stage 2 with the below error:

Internal error occurs during export of VMware vSphere Update Manager
Please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions.
If none can be found, collect a support bundle and open a support request

  • In the /var/log/vmware/upgrade/export-upgrade-runner.log, you may find entries similar to:

YYYY-MM-DDTHH:MM:SS.114Z INFO upgrade.states.component_states vcIntegrity:Export: YYYY-MM-DDTHH:MM:SS.842Z ERROR __main__ Upgrade Phase 'vcIntegrity:Export' failed. Exception: list index out of range
YYYY-MM-DDTHH:MM:SS.114Z INFO upgrade.states.component_states vcIntegrity:Export: Traceback (most recent call last):
YYYY-MM-DDTHH:MM:SS.114Z INFO upgrade.states.component_states vcIntegrity:Export:   File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/componentPhaseLauncher.py", line 461, in main
YYYY-MM-DDTHH:MM:SS.114Z INFO upgrade.states.component_states vcIntegrity:Export:     executionResult = systemExtension(exeContext)
YYYY-MM-DDTHH:MM:SS.115Z INFO upgrade.states.component_states vcIntegrity:Export:   File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/libs/sdk/extensions.py", line 94, in __call__
YYYY-MM-DDTHH:MM:SS.115Z INFO upgrade.states.component_states vcIntegrity:Export:     result = self.extension(*args)
YYYY-MM-DDTHH:MM:SS.115Z INFO upgrade.states.component_states vcIntegrity:Export:   File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/libs/sdk/extensions.py", line 110, in _func
YYYY-MM-DDTHH:MM:SS.115Z INFO upgrade.states.component_states vcIntegrity:Export:     return func(*args)
YYYY-MM-DDTHH:MM:SS.116Z INFO upgrade.states.component_states vcIntegrity:Export:   File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/component-scripts/vcIntegrity/__init__.py", line 50, in doExport
YYYY-MM-DDTHH:MM:SS.116Z INFO upgrade.states.component_states vcIntegrity:Export:     return vcIntegrity_upgrade.exportData(context)
YYYY-MM-DDTHH:MM:SS.116Z INFO upgrade.states.component_states vcIntegrity:Export:   File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/component-scripts/vcIntegrity/vcIntegrity_upgrade.py", line 379, in exportData
YYYY-MM-DDTHH:MM:SS.117Z INFO upgrade.states.component_states vcIntegrity:Export:     exportDataLin(context)
YYYY-MM-DDTHH:MM:SS.117Z INFO upgrade.states.component_states vcIntegrity:Export:   File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/component-scripts/vcIntegrity/vcIntegrity_upgrade.py", line 357, in exportDataLin
YYYY-MM-DDTHH:MM:SS.117Z INFO upgrade.states.component_states vcIntegrity:Export:     vumDBPassword = vumDBPasswordElem[0].text
YYYY-MM-DDTHH:MM:SS.117Z INFO upgrade.states.component_states vcIntegrity:Export: IndexError: list index out of range
YYYY-MM-DDTHH:MM:SS.117Z INFO upgrade.states.component_states vcIntegrity:Export: Script completed for 11.096481323242188 secs with return-code='1', and executionId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

YYYY-MM-DDTHH:MM:SS.119Z ERROR upgrade.states.component_states vcIntegrity:Export: Remote script failed with an error [InternalError()]
YYYY-MM-DDTHH:MM:SS.119Z ERROR upgrade.states.component_states vcIntegrity:Export: failed with internal error. For details take a look at Export_com.vmware.vcIntegrity_YYYY_MM_DD_HH_MM.log.
YYYY-MM-DDTHH:MM:SS.131Z WARNING wf.wf_processor State Export com.vmware.vcIntegrity has failed.
YYYY-MM-DDTHH:MM:SS.132Z ERROR wf.wf_processor Workflow execution has failed

  • In the /var/log/vmware/upgrade/Export_com.vmware.vcIntegrity_YYYY_MM_DD_HH_MM.log, you will find entries similar to:

YYYY-MM-DDTHH:MM:SS.842Z ERROR __main__ Upgrade Phase 'vcIntegrity:Export' failed. Exception: list index out of range
Traceback (most recent call last):
  File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/componentPhaseLauncher.py", line 461, in main
    executionResult = systemExtension(exeContext)
  File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/libs/sdk/extensions.py", line 94, in __call__
    result = self.extension(*args)
  File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/libs/sdk/extensions.py", line 110, in _func
    return func(*args)
  File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/component-scripts/vcIntegrity/__init__.py", line 50, in doExport
    return vcIntegrity_upgrade.exportData(context)
  File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/component-scripts/vcIntegrity/vcIntegrity_upgrade.py", line 379, in exportData
    exportDataLin(context)
  File "/tmp/vmware-upgrade-temp-diroVwAxenPev/tmp6BElRfolFi/payload/component-scripts/vcIntegrity/vcIntegrity_upgrade.py", line 357, in exportDataLin
    vumDBPassword = vumDBPasswordElem[0].text
IndexError: list index out of range

Environment

VMware vCenter Server 7.x

Cause

This issue occurs when the upgrade attempt is performed from a newer version of 6.7 to an older version of 7.0.

Example:

Performing an upgrade from vCenter Server 6.7 Update 3w released on 2024-10-28 to vCenter Server 7.0 Update 3a released on 2021-10-21  will fail with the above error. This is considered back in time release upgrade and is not supported as per vCenter Server Back-in-time release upgrade restriction

Resolution

  • To resolve this issue, upgrade to a vCenter version which is released on or after your current vCenter version.

Example:

If your current vCenter server is vCenter Server 6.7 Update 3w released on 2024-10-28, upgrade your vCenter to vCenter Server 7.0 Update 3t which is released on 2024-10-21

Note: In the above example, vCenter 7.0 is released a week before 6.7 but this is supported upgrade path

  • To identify the supported upgrade path to your vCenter installation, kindly refer the Interoperability Matrix Tool.
  • Select "VMware vCenter server" as a solution and uncheck "Hide patch Releases"

Note: For upgrades from 6.7 to 7.0 or 8.0, uncheck "Hide Legacy Releases"