How to Check Service Engine Version with 'Tenant Admin' role
search cancel

How to Check Service Engine Version with 'Tenant Admin' role

book

Article ID: 383714

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

The issue occurs when a non-admin user with the 'Tenant-Admin' role attempts to run the following command:
'show version serviceengine'
The system returns an error:
{"error": "User 'UserName' is not authorized to read on resource System in tenant 'TenantName'"}

Resolution

Follow these steps to retrieve the Service Engine version using a non-admin user with the 'Tenant-Admin' role:

1. Log in to the Controller with the user.
Use SSH to connect to the NSX Advanced Load Balancer Controller:
ssh cli@<Controller_IP>
Provide the required username and password.
 
2. Switch to the appropriate tenant, if any.
Enter the tenant context using the following command:
switchto tenant <TenantName>

3. Retrieve Service Engine version.
Run the following command to get the version information:
show serviceengine <ServiceEngineName> internal | grep -i version
 
This will return the version details of the specified Service Engine.