vCenter Update Planner error - Internal server error occurred on authorization: Issuer of JWT Token is invalid
search cancel

vCenter Update Planner error - Internal server error occurred on authorization: Issuer of JWT Token is invalid

book

Article ID: 368406

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 7.0

Issue/Introduction

When browsing to the vSphere Update Planner the following error banner is observed :

Environment

  • VMware vCenter Server Appliance 7.x

Cause

A case mismatch is detected between the vCenter PNID and the PNID in /etc/vmware/systemname_info.json file.

Primary Network Identifier (PNID)

  • /usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
  • Output : vcenter.sample.com

Check the content of config files

  • cat /etc/vmware/systemname_info.json
  • Output : {"PNIDChangeAllowed": true,  "PNID": "VCENTER.sample.com", "status:"  "success"}

Resolution

  1. Take a snapshot of vCenter
  2. Take a backup of /etc/vmware/systemname_info.json
  3. Run this command :
    1. cp /etc/vmware/systemname_info.json /etc/vmware/systemname_info.json.bk
  4. Edit systemname_info.json to correct the PNID
    1. cd /etc/vmware/
    2. vi systemname_info.json
    3. Press i to insert
    4. Change VCENTER.sample.com  to vcenter.sample.com
    5. Press esc
    6. Save the file :wq!
  5. Restart all vCenter Services : service-control --stop --all && service-control --start --all