Error: Management Lifecycle is not ready in VCF Operations Fleet Management
search cancel

Error: Management Lifecycle is not ready in VCF Operations Fleet Management

book

Article ID: 451623

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

VCF Operations (VCFO) Fleet Management encounters a configuration error resulting in the message: "Error: Management Lifecycle is not ready". The failure is accompanied by the following vrlcm log symptoms highlighting an adapter configuration failure and key mismatch:

YYYY-MM-DDTHH:MM:SS.MS+HH:MM ERROR vrlcm[2184] [http-nio-8080-exec-7] [c.v.v.l.s.u.ServiceRegistryUtil]  -- Error occurred while getting vrops product
YYYY-MM-DDTHH:MM:SS.MS+HH:MM INFO vrlcm[2184] [http-nio-8080-exec-8] [c.v.v.l.a.s.JwtServiceImpl]  -- Force refreshing JWKS cache due to key mismatch
YYYY-MM-DDTHH:MM:SS.MS+HH:MM INFO vrlcm[2184] [http-nio-8080-exec-10] [c.v.v.l.r.c.RequestController]  -- Retry error cause data : [ {
  "messageId" : "LCMVROPSYSTEM25127",
  "message" : "Error while configuring the adapter.",
  "eventId" : "########-####-####-####-############",
  "retry" : true,
  "exceptionMessage" : "Some SDDC Manager hosts are not configured. Failed SDDC Manager hosts are: [<REDACTED_HOSTNAME>]",
  "exceptionStackTrace" : "com.vmware.vrealize.lcm.plugin.common.vrops.exceptions.AdapterConfigurationException: Some SDDC Manager hosts are not configured. Failed SDDC Manager hosts are: [<REDACTED_HOSTNAME>]

Environment

VCF Operations 9.0.x

Cause

Fleet Management failed to import VCF Operations successfully, preventing proper management capabilities and resulting in the configuration error.

Resolution

Note: Before performing the following procedure, ensure that you take snapshots of the VCF Operations nodes and the Fleet Management appliance.

  1. Log into the VCF Operations Admin UI, and click on Disconnect under the VCF Operations Fleet Management section.
  2. Open the Swagger UI for Fleet Management by navigating to VCF Operations > Developer Center > APIs & SDKs > Fleet Management API.
  3. Under Environment Controller, execute the following API call:

    GET /lcm/lcops/api/v2/environments

  4. Fetch the Environment ID for VCF Operations, and then execute the API call below to delete it from the environment (as deleting VCF Operations from the UI is not possible):

    DELETE /lcm/lcops/api/environments/{environmentId}/delete

    Payload:

    {
      "controllerType": "string",
      "deleteFromInventory": true,
      "deleteFromVcenter": false,
      "deleteLbFromSddc": true,
      "deleteWindowsVMs": true
    }

    Note: Do not set the deleteFromVcenter property to true, as this will result in the deletion of component-based appliances from vCenter.

  5. Reconnect the Fleet Management Appliance with VCF Operations.Log into the VCF Operations Admin UI, and click on Disconnect under the VCF Operations Fleet Management section.

Additional Information

  1. How to take snapshot of VCF Operatons
  2. How to create a snapshot for VCF Operations Fleet Manager appliance
  3. How to Authorize VCF Operations Fleet Management API