'UNKNOWN_SYSTEM_ERROR' when adding a license to vRealize Network Insight versions below 6.8 from Lifecycle Manager locker
search cancel

'UNKNOWN_SYSTEM_ERROR' when adding a license to vRealize Network Insight versions below 6.8 from Lifecycle Manager locker

book

Article ID: 314871

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • 'UNKNOWN_SYSTEM_ERROR' error is generated when adding a license to vRealize Network Insight versions below 6.8  from Lifecycle Manager locker.
  • The /var/log/vrlcm/vmware_vrlcm.log logfile shows a NullPointerException similar to the following:

2023-03-27 10:40:21.327 INFO  [pool-3-thread-14] c.v.v.l.p.c.v.d.h.VRNIUtils -  -- Licensing validation successfully.
2023-03-27 10:40:21.327 INFO  [pool-3-thread-14] c.v.v.l.p.c.v.t.r.vRNILicenseReplaceTask -  -- License validation successfully.com.vmware.vrealize.lcm.plugin.core.vrni.common.model.VRNILicenseResponse$Data@732d0d16
2023-03-27 10:40:21.328 ERROR [pool-3-thread-14] c.v.v.l.a.c.TaskThread -  -- Exception while running task : Exception while running task :
java.lang.NullPointerException: null
        at com.vmware.vrealize.lcm.plugin.core.vrni.task.replacelicense.VrniChangeLicenseTask.execute(VrniChangeLicenseTask.java:158) ~[vmlcm-vrniplugin-core-8.10.0-SNAPSHOT.jar!/:?]
        at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:63) [vmlcm-engineservice-core-8.10.0-SNAPSHOT.jar!/:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]
2023-03-27 10:40:21.328 INFO  [pool-3-thread-14] c.v.v.l.p.a.s.Task -  -- Injecting task failure event. Error Code : 'UNKNOWN_SYSTEM_ERROR', Retry : 'true', Causing Properties : '{ CAUSE ::  }'
java.lang.NullPointerException: null
        at com.vmware.vrealize.lcm.plugin.core.vrni.task.replacelicense.VrniChangeLicenseTask.execute(VrniChangeLicenseTask.java:158) ~[vmlcm-vrniplugin-core-8.10.0-SNAPSHOT.jar!/:?]
        at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:63) [vmlcm-engineservice-core-8.10.0-SNAPSHOT.jar!/:?]


Environment

VMware vRealize Suite Lifecycle Manager 8.x

Cause

Lifecycle Manager is expecting license data which does not existing in the response coming from vRealize Network Insight. There was a change made to Lifecycle Manager 8.10 to support both core and cpu based licenses. vRealize Network Insight version 6.8 returns the response in expected format , however the versions  6.7 and below do not.

Resolution

The issue is resolved in vRealize Network Insight 6.8 release

Workaround:
To workaround the issue you can manually replace the license in vRealize Network Insight and then perform an inventory sync of Network Insight in Lifecyle Manager This will create a locker entry for the license in Lifecycle Manager and also associate it with the relevant product