vCenter Upgrade failure due to vCenter session timeout.
search cancel

vCenter Upgrade failure due to vCenter session timeout.

book

Article ID: 380881

calendar_today

Updated On:

Products

VMware SDDC Manager VMware vCenter Server

Issue/Introduction

vCenter upgrade fails with the error: com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated.

Environment

VCF 4.x

VCF 5.x

Cause

If vCenter session is created at the beginning of the upgrade and if some pre-upgrade stage takes more than half hour to complete (for e.g., some Product API taking too long to complete the task), then subsequent calls to vCenter using the old session ID will fail with unauthenticated error.

Resolution

Increase the vCenter idle session timeout to 60 minutes by performing the following steps:



  1. Add the below block in the <vmacore> section inside /etc/vmware-vpx/vpxd.cfg:
    <soap>
    <sessionTimeout>60</sessionTimeout>
    </soap>

  2. Restart vpxd  service.

    service-control --restart vpxd