Upgrade to vCenter 8.0 U2d fails on stage 2 fails with error "A problem occurred while- Importing VMware vSphere Update Manager data..."
search cancel

Upgrade to vCenter 8.0 U2d fails on stage 2 fails with error "A problem occurred while- Importing VMware vSphere Update Manager data..."

book

Article ID: 371079

calendar_today

Updated On:

Products

VMware vCenter Server 8.0 VMware vCenter Server 7.0

Issue/Introduction

vCenter Server upgrade fails on Stage 2 on importing VMware vSphere Update Manager data with error "A problem occurred while- Importing VMware vSphere Update Manager data..."

Environment

  • VMware vCenter Server Appliance 7.0 U3
  • VMware vCenter Server Appliance 8.0 U2

Cause

  • Checking the import-upgrade-runner.log we see these entries:


2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import: 2024-06-26T11:46:17.557Z ERROR __main__ Upgrade Phase 'vcIntegrity:Import' failed. Exception: Service cannot be started. Error: Error executing start on service updatemgr. Details {
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:     "detail": [
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:         {
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             "id": "install.ciscommon.service.failstart",
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             "translatable": "An error occurred while starting service '%(0)s'",
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             "args": [
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:                 "updatemgr"
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             ],
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             "localized": "An error occurred while starting service 'updatemgr'"
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:         }
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:     ],
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:     "componentKey": null,
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:     "problemId": null,
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:     "resolution": null
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import: }
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import: Service-control failed. Error: {
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:     "detail": [
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:         {
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             "id": "install.ciscommon.service.failstart",
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             "translatable": "An error occurred while starting service '%(0)s'",
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             "args": [
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:                 "updatemgr"
2024-06-26T11:46:18.39Z INFO upgrade.states.component_states vcIntegrity:Import:             ],
2024-06-26T11:46:18.40Z INFO upgrade.states.component_states vcIntegrity:Import:             "localized": "An error occurred while starting service 'updatemgr'"
2024-06-26T11:46:18.40Z INFO upgrade.states.component_states vcIntegrity:Import:         }
2024-06-26T11:46:18.40Z INFO upgrade.states.component_states vcIntegrity:Import:     ],
2024-06-26T11:46:18.40Z INFO upgrade.states.component_states vcIntegrity:Import:     "componentKey": null,
2024-06-26T11:46:18.40Z INFO upgrade.states.component_states vcIntegrity:Import:     "problemId": null,
2024-06-26T11:46:18.40Z INFO upgrade.states.component_states vcIntegrity:Import:     "resolution": null
2024-06-26T11:46:18.40Z INFO upgrade.states.component_states vcIntegrity:Import: }


  • Checking the Import_com.vmware.vcIntegrity_2024_06_26_11_45.log we see these entries:


Service-control failed. Error: {
    "detail": [
        {
            "id": "install.ciscommon.service.failstart",
            "translatable": "An error occurred while starting service '%(0)s'",
            "args": [
                "updatemgr"
            ],
            "localized": "An error occurred while starting service 'updatemgr'"
        }
    ],
    "componentKey": null,
    "problemId": null,
    "resolution": null
}


  • Checking the vmware-vum-server-1.log we see these entries:



2024-06-26T13:46:16.343+02:00 info vmware-vum-server[45762] [Originator@6876 sub=CertsCache] [CertsCache 137] Downloading STS Certificates
2024-06-26T13:46:16.344+02:00 info vmware-vum-server[45762] [Originator@6876 sub=CertsCache] [CertsCache 152] VmAfdGetDomainNameA returned domainName : xxxx.local
2024-06-26T13:46:16.344+02:00 info vmware-vum-server[45762] [Originator@6876 sub=CertsCache] [CertsCache 169] Downloading STS certs from URL : http://localhost:1080/idm/tenant/xxxx.local/certificates?scope=TENANT&granularity=LEAF
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=miscUtil] [miscUtilPosix 296] Found proxy config [PROXY_ENABLED: yes]
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=miscUtil] [miscUtilPosix 296] Found proxy config [HTTP_PROXY: http://xxx.xxx.xxx.xxx:8083/]
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=miscUtil] [miscUtilPosix 296] Found proxy config [HTTPS_PROXY: http://xxx.xxx.xxx.xxx:8083/]
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=miscUtil] [miscUtilPosix 310] Set http_proxy: http://xxx.xxx.xxx.xxx:8083/
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=miscUtil] [miscUtilPosix 315] Set https_proxy: http://xxx.xxx.xxx.xxx:8083/
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 406] GetEasy() needs to allocate new CURL
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 614] Set CURLOPT_PROXY as http_proxy: http://xxx.xxx.xxx.xxx:8083/
2024-06-26T13:46:16.344+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 634] Unset CURLOPT_NOPROXY
2024-06-26T13:46:16.345+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] *   Trying xxx.xxx.xxx.xxx:8083...
2024-06-26T13:46:16.346+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] * Connected to xxx.xxx.xxx.xxx(xxx.xxx.xxx.xxx) port 8083 (#0)
2024-06-26T13:46:16.346+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] > GET http://localhost:1080/idm/tenant/xxxx.local/certificates?scope=TENANT&granularity=LEAF HTTP/1.1
2024-06-26T13:46:16.346+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] Host: localhost:1080
2024-06-26T13:46:16.346+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] Accept: */*
2024-06-26T13:46:16.346+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] Proxy-Connection: Keep-Alive
2024-06-26T13:46:16.346+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181]
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] < HTTP/1.1 404 Not Found
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] < Cache-Control: no-cache
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] < X-XSS-Protection: 1
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] < Connection: Keep-Alive
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] < Content-Type: text/html; charset=utf-8
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] < Content-Length: 785
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] < Pragma: no-cache
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] <
2024-06-26T13:46:16.679+02:00 verbose vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 181] * Connection #0 to host xxx.xxx.xxx.xxx left intact
2024-06-26T13:46:16.679+02:00 info vmware-vum-server[45762] [Originator@6876 sub=httpDownload] [httpDownloadPosix 691] curl_easy_perform() succeeded - url: http://localhost:1080/idm/tenant/xxxx.local/certificates?scope=TENANT&granularity=LEAF
2024-06-26T13:46:16.680+02:00 error vmware-vum-server[45762] [Originator@6876 sub=CertsCache] [CertsCache 191] Connecting to http://localhost:1080/idm/tenant/oshpr.local/certificates?scope=TENANT&granularity=LEAF failed, err: HTTP Error Code: 404
2024-06-26T13:46:16.680+02:00 error vmware-vum-server[45762] [Originator@6876 sub=CertsCache] [CertsCache 381] Error encountered while downloading and parsing certificates

We can see that it is trying to connect to the proxy to get the certificates that is causing the issue.

Resolution

Remove the proxy set on the VCSA VAMI page, restart the vCenter and try the upgrade again. Check this KB 370265 for more information on how to configure proxy on VCSA.