How to rename a vLCM image in SDDC manager.
search cancel

How to rename a vLCM image in SDDC manager.

book

Article ID: 401381

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

This KB provides instructions on renaming the vLCM image from the lifecycle manager database without impacting the system functionality.

Environment

VMware Cloud Foundation 5.x

Cause

Renaming the vLCM image using the API Explorer's Personality option is currently not possible due to limitations in the SDDC Manager user interface.

Resolution

The issue will be resolved in a future 5.x SDDC release. 

Workaround: 

The vLCM image name can be renamed using the SDDC lifecycle manager database by following the steps below:

  • Take ssh to the SDDC manager virtual machine using the root user. 
  • Identify the personality_id matching the existing personality name in the lifecycle manager database .  
    • /usr/pgsql/13/bin/psql -h localhost -U postgres -d lcm -c "select personality_id,personality_name from personality"
  • Update the personality name to the new image name.
    • Replace New_personality_name and ID as per the output from the above step.  
      • /usr/pgsql/13/bin/psql -h localhost -U postgres -d lcm -c "update personality set personality_name='New_personality_name" where personality_id='ID';
  • Verify the updated personality name using the below command. 
    • /usr/pgsql/13/bin/psql -h localhost -U postgres -d lcm -c "select personality_id,personality_name from personality"