'vracli license usage' command does not work - VMs usage for Flex license is not reported
book
Article ID: 319564
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms:
"vracli license usage" or "vracli -j license usage" command does not work and does not report any VMs usage(Usage is only used and applicable for the Flex license) in vRA 8.0.1. This is a regression from vRA 8.0.0.
Environment
VMware vRealize Automation 8.x
Cause
The cause of the issue is identified to be associated to missing the "args" parameter in the method: usage_handler() in the "license.py" file.
Resolution
To resolve the issue, you can replaceĀ the "/opt/python-modules/vracli/commands/license.py" with the new license.py file provided in the KB.
Workaround: To workaround the issue:
Replace the "/opt/python-modules/vracli/commands/license.py" file with the one uploaded here(license.py) on all vRA nodes.
Make sure the "license.py" file on all nodes has at least these permissions set: "rw-r--r--" (644)