ERROR: Component nsx-lcp-bundle cannot be found in depot when checking the compliance for the image in the vCenter.
search cancel

ERROR: Component nsx-lcp-bundle cannot be found in depot when checking the compliance for the image in the vCenter.

book

Article ID: 435705

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • The host status is currently displayed as 'Unknown' and triggers the following error during a cluster image compliance check:


  • In vmware-vum-server.log, there is entry in the component and solution as well. In solutions, it is the latest version that is being used, in component it will be the old version.

    {
    -->     "add_on": null,
    -->     "alternative_images": null,
    -->     "base_image": {
    -->         "version": "8.0.3-0.79.24859861"
    -->     },
    -->     "components": {
    -->         "nsx-lcp-bundle": "4.2.1.3.0-8.0.24533885",
    -->     },
    -->     "solutions": {
    -->         "com.vmware.nsxt": {
    -->             "components": [
    -->                 {
    -->                     "component": "nsx-lcp-bundle"
    -->                 }
    -->             ],
    -->             "version": "4.2.3.3.0-25171319"
    -->         },
    

Environment

VMware vCenter Server 8.x

Cause

This issue typically occurs because certain components were inadvertently reclassified as user-managed components during the deployment of a new solution. In this specific instance, the issue impacted the NSX bundle configurations.

Resolution

The component needs to be removed from the desired image. Below are the steps:

  1. Get the desired image of the cluster and check nsx-lcp-bundle in the component section:

    dcli com vmware esx settings clusters software get --cluster <cluster moid>

  2. Create the draft:

    dcli com vmware esx settings clusters software drafts create --cluster <moid>

    The output is the draft id

  3. Delete the component:

    dcli com vmware esx settings clusters software drafts software components delete --cluster <cluster moid> --draft <draft id> --component nsx-lcp-bundle

  4. Commit the draft:

    dcli com vmware esx settings clusters software drafts software commit-task --cluster <cluster moid> --draft <draft id>
    The output is commit task id

  5. Monitor the commit task:

    dcli com vmware cis tasks get --task <task id>

  6. Once the commit task has finished successfully, verify the desired image to ensure the offending component has been removed.

    dcli com vmware esx settings clusters software get --cluster <cluster moid>

  7. On vCenter UI, will see compliance check succeeds.