msk05
Enthusiast
Enthusiast

Unable to update vRA 8 license through VLCM

As our license about to expire within 10 days we are trying to add new vRA 8 license via VLCM getting error in UI as attached, VCLM version is 8.0.0.16. When checked logs noticed it is trying to download license to "Download content location : /dlfRepo" and fails with error.

2020-01-07 11:46:14.898 INFO  [pool-2-thread-7] c.v.v.l.p.a.s.Task -  -- Injecting task failure event. Error Code : 'LCMLICENSINGCONFIG11005', Retry : 'true', Causing Properties : '{ CAUSE ::  }'

com.vmware.vrealize.lcm.plugin.core.licensing.common.exception.ValidateLicensingException: Exception while loading DLF. Check logs for more detail

        at com.vmware.vrealize.lcm.plugin.core.licensing.task.ValidateLicenseTask.execute(ValidateLicenseTask.java:137) [vmlcm-licensingplugin-core-2.1.0-SNAPSHOT.jar!/:?]

        at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:45) [vmlcm-engineservice-core-2.1.0-SNAPSHOT.jar!/:?]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_221]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]

Attached the log file for reference. please assist.

11 Replies
gradinka
VMware Employee
VMware Employee

well, you can apply it directly from a vRA shell console with the "vracli" command.

msk05
Enthusiast
Enthusiast

Able to add the new license using vracli and "vracli license current" command shows the new license has been updated however in UI it still show that it is using old license. rebooted vRA appliance but still the same. Any help would be appreciated.

0 Kudos
gradinka
VMware Employee
VMware Employee

which UI are you talking about - in vRA we don't show the license anywhere.

on LCM UI, yes, you might still see the old one. Not sure how to fix.

But on vRA usage side you should be unblocked - product working and no more nag for license expiration?

0 Kudos
msk05
Enthusiast
Enthusiast

The license expires on 17th Jan. I may have to wait to update that if it's working or not. Probably I will post an update later.

0 Kudos
stevedrummond
Hot Shot
Hot Shot

After I updated my licence I had to clear my browser cache to get rid of the "current licence will expire" warning banner.

There's no need to restart vRA yourself after updating the licence as it will restart all the pods when you change it.

msk05
Enthusiast
Enthusiast

I do not see any warning banner in VLCM. Were you able to update the license through VLCM and new license reflect in VLCM UI?

0 Kudos
stevedrummond
Hot Shot
Hot Shot

I didn't try through lifecycle manager sorry, I just use the vracli.

I try to avoid LCM as much as possible.

0 Kudos
DineshBabuTG
VMware Employee
VMware Employee

User need to trigger the Inventory Sync option in the vRA product environment page to sync the product changes like license to LCM. Please trigger the inventory sync for vRA in LCM.

0 Kudos
bisht0
VMware Employee
VMware Employee

Please check in LCM, if /tmp/dlfRepo has any content or is it empty. If empty you can remove this directory and try to Validate new license again from LCM Locker UI.

0 Kudos
msk05
Enthusiast
Enthusiast

/tmp/dlfRepo directory has license for other products as well. Please specify the directory to remove

root@dal09vra8-lifecycle [ /tmp ]# cd dlfRepo/

root@dal09vra8-lifecycle [ /tmp/dlfRepo ]# ls

vra  vrbc  vrli  vrni  vrops

root@dal09vra8-lifecycle [ /tmp/dlfRepo ]# cd vra/

root@dal09vra8-lifecycle [ /tmp/dlfRepo/vra ]# ls

7.6.0  8.0.0

root@dal09vra8-lifecycle [ /tmp/dlfRepo/vra ]# cd 8.0.0/

root@dal09vra8-lifecycle [ /tmp/dlfRepo/vra/8.0.0 ]# ls

dlf

root@dal09vra8-lifecycle [ /tmp/dlfRepo/vra/8.0.0 ]# cd dlf/

root@dal09vra8-lifecycle [ /tmp/dlfRepo/vra/8.0.0/dlf ]# ls

root@dal09vra8-lifecycle [ /tmp/dlfRepo/vra/8.0.0/dlf ]#

0 Kudos
bisht0
VMware Employee
VMware Employee

Looks like there are no dlf's inside dlf directory. That's why error failed to load DLFs.

You can remove the complete dlfRepo directory. As same will get downloaded when you validate new license.

Steps are given below:

1. Remove "/tmp/dlfRepo" directory

2. Go to LCM ==> Locker

3. Validate License which is not already added in LCM. Once validated same can be added to LCM.

0 Kudos