Troubleshooting error code LCMVRLICONFIG40040 when upgrading VMware Aria Operations for Logs
search cancel

Troubleshooting error code LCMVRLICONFIG40040 when upgrading VMware Aria Operations for Logs

book

Article ID: 346007

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Symptoms:

  • You are using VMware Aria Suite LifeCycle (formerly vRealize Suite Lifecycle Manager) 8.x 
  • You have recently tried to upgrade VMware Aria Operations for Logs 8.x (formerly VMware vRealize Log Insight).
  • This issue can also arise if the correct upgrade sequence was not followed for Aria Operations for Logs 8.X from Aria Lifecycle
  • You see a failure message similar to the below:

  • The upgrade in Aria Suite Lifecycle will fail on stage 8 if Aria Operations for Logs is already at the version being upgraded to with an error in /var/log/vrlcm/vmware_vrlcm.log similar to:
      • Upgrade not needed as the version: 18.3-xxxx is the same as current
      • Aria Operations for Logs upgrade failed. Check if PAK/URL and the version provided are correct.
      • LCMVRLICONFIG40040

  • Within the /var/log/vrlcm/vmware_vrlcm.log you see messages similar to:
    2023-09-12 21:35:02.025 INFO [pool-3-thread-8] c.v.v.l.d.v.InstallConfigureVRLI - -- Return message for vrli: {"errorMessage":"The setup is not licensed for upgrade.","errorCode":"UPGRADE_ERROR"}
    2023-09-12 21:35:02.026 INFO [pool-3-thread-8] c.v.v.l.d.v.InstallConfigureVRLI - -- Return status code for vrli: 400
    2023-09-12 21:35:02.026 ERROR [pool-3-thread-8] c.v.v.l.d.v.InstallConfigureVRLI - -- The setup is not licensed for upgrade.
    2023-09-12 21:35:02.026 ERROR [pool-3-thread-8] c.v.v.l.d.v.InstallConfigureVRLI - -- Error while uploading pak file
    2023-09-12 21:35:02.026 ERROR [pool-3-thread-8] c.v.v.l.p.v.VrliPatchingTask - -- Exception while patching vrLI. pak file not found
    com.vmware.vrealize.lcm.common.exception.userinput.vrli.VrliUpgradeFileException: vRLI upgrade failed.
    2023-09-12 21:35:02.026 INFO [pool-3-thread-8] c.v.v.l.p.a.s.Task - -- Injecting task failure event. Error Code : 'LCMVRLICONFIG40040', Retry : 'true', Causing Properties : '{ CAUSE :: vrliPatchPakUrl === }'
  • During the upgrade process, instead of checking VMware Aria Suite Lifecycle Repository and let it autogenerate the repository url, the Repository URL is checked and /data was typed in the Repository URL field.

Environment

VMware Aria Suite Lifecycle 8.x

Aria Operations for Logs 8.X

Cause

  • VMware Aria Operations for Logs has no active license.
  • The version being upgraded to is already installed on Aria Operations for Logs.
  • Incorrect upgrade of Aria Operations for logs performed from Aria Lifecycle.
  • Incorrect file location for the Repository URL.

Resolution

  • To resolve this issue, ensure a valid VMware Aria Operations for Logs license is applied through VMware Aria Suite Lifecycle. Then, follow the correct upgrade sequence outlined in the product documentation.
  • During the upgrade process, if the Repository URL is checked instead of VMware Aria Suite Lifecycle Repository and let it autogenerate the repository URL, make sure /data/product_upgrade.pak, /data/file_name.patch, /data/file_name.iso, etc. is typed in.
  • Ensure you are upgrading to a newer release.



Additional Information

See the Solution section in Aria Operations 8.x upgrade fails: "Signature on PAK file is not valid" for additional information.

Impact/Risks:

  • Upgrade will fail unless active licenses are applied.