vSphere Lifecycle Manager Image Upload Fails
search cancel

vSphere Lifecycle Manager Image Upload Fails

book

Article ID: 442993

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware SDDC Manager / VCF Installer

Issue/Introduction

In VMware Cloud Foundation (VCF), operations fail when attempting to upload a vSphere Lifecycle Manager image, or when running the task to download ESX metadata, VIBs, and vendor add-ons within SDDC Manager.

The /var/log/vmware/vcf/lcm/lcm-debug.log file on the SDDC Manager appliance records the following exception:

ClassNotfoundException: com.vmware.cis.SessionStub
at com.vmware.vcf.bindings.StubFactory.createStub(StubFactory.java:99)
...
Caused by: java.lang.ClassNotFoundException: com.vmware.cis.SessionStub

Environment

VMware Cloud Foundation 9.1.0.

Cause

A corrupted Java classpath or transient initialization failure within the SDDC Manager Lifecycle Management (vcf_lcm) service prevents the successful loading of the com.vmware.cis.SessionStub class, which is strictly required for vAPI/CIS communication between SDDC Manager and vCenter Server.

Resolution

 

  1. Connect to the SDDC Manager appliance via SSH and authenticate with the vcf user credentials.

  2. Switch to the super user context: su -

  3. Restart the LCM service to force a complete re-initialization of the Java JVM classpath and clear the corrupted state: systemctl restart lcm

  4. Verify the operational status of the service to ensure it has successfully started: systemctl status lcm

  5. Return to the SDDC Manager UI and retry the vSphere Lifecycle Manager image upload or depot synchronization task.

 

Additional Information

For more information on SDDC Manager services and lifecycle management administration, see the VMware Cloud Foundation Lifecycle Management documentation at Broadcom Technical Documentation