NSX-ALB Insufficient licensable resources available error and there are a license units as escrow
search cancel

NSX-ALB Insufficient licensable resources available error and there are a license units as escrow

book

Article ID: 327273

calendar_today

Updated On:

Products

VMware VMware NSX Advanced Load Balancer VMware Avi Load Balancer

Issue/Introduction

Symptoms:
  • SE is not coming up due to insufficient license units available
  • Error message: Insufficient licensable resources available to create Service Engine
image.png
  • To check the remaining license units:
  1. Access the NSX-ALB controller shell
  2. use the command: show license ledger details
[admin:CTRL]: > show license ledger details
+-----------------+-----------------------------------------+
| Field           | Value                                   |
+-----------------+-----------------------------------------+
| uuid            | default                                 |
| tier_usages[1]  |                                         |
|   tier          | ENTERPRISE                              |
|   usage         |                                         |
|     available   | 20.0                                    |
|     consumed    | 14.0                                    |
|     escrow      | 6.0                                     |      <<< 6 escrow
|     remaining   | 0.0                                     |      <<< No remaining
+-----------------+-----------------------------------------+
 
Note:
In VMware write access cloud, where the Controller spawns or deletes Service Engine based on virtual service placement and scaling requirements, the Service Engine bring up involves the following steps:
  1. Reserve the license units required for SE. The reservation can be seen in show license ledger details CLI command as escrow.
  2. Spawn SE and allow it to boot up.
  3. Service Engine boots up and then finally tries to register itself providing the reservation ID (escrow cookie).
  4. The expectation is that SE should come up and consume reservation within 15 minutes and if there are any issues that is detected by resource manager process, then it cancels the reservation after 15 minutes.
  5. However, if the reservation remains unconsumed for more than 15 minutes, such reservations are cleared by license manager process within the time range one - two hours.
  6. If you want to cancel the reservation, then you can run HTTP GET on api/licensing/ledger/clear/reservation. This API cancels the reservation, it does not impact SE boot-up, only that there will not be any reservation and if multiple SE’s comes up, then the first SE that registers gets precedence.


Cause

There are no remaining license units and some of the license units are escrow.

Resolution

You can clear the reservation using the below API call:

GET https://<Controller-IP>:443/api/licensing/ledger/clear/reservation

Workaround:
If it didn't fix with the API call you can restart the license manager service:

From the controller bash:

admin@Controller:~$ sudo systemctl restart license_mgr.service