When requests were sent out from VNA (Virtual Network Assurance) installed with Versa Plugin, the following log entries were noticed:
2024-03-22 12:55:00,576 INFO (EE-ManagedThreadFactory-default-Thread-191) [OC_CORE] EngineThreadManager$EngineActionTask 208 Executor for Versa_938393749749339469364538387 : Availability Poll, taskID=Availability_Poll_1711106387553 started
2024-03-22 12:55:00,616 INFO (EE-ManagedThreadFactory-default-Thread-191) [OC_SCRIPTING] Logger$info$3 -1 OAuth Bearer Token is invalid - Need to generate a new one
2024-03-22 12:55:00,617 INFO (EE-ManagedThreadFactory-default-Thread-191) [OC_SCRIPTING] Logger$info$3 -1 Revalidating token expiry before refreshing token
2024-03-22 12:55:00,618 INFO (EE-ManagedThreadFactory-default-Thread-191) [OC_SCRIPTING] Logger$info$3 -1 OAuth Bearer Token is invalid - Need to generate a new one
Additionally, we are experiencing data gaps in the NetOps portal as the authentication seems to be failing.
DX NetOps Virtual Network Assurance 23.3.x
Token Expiry Settings:
To address this issue and ensure proper functionality, the following changes were made:
Adjust Token Expiry Settings:
Delete Tokenstore File:
Reapply Plugin Configuration:
By implementing these steps, the authentication and token management process within the Versa plugin is optimized, minimizing the occurrence of authentication failures and data gaps. Users can expect improved stability and reliability in data retrieval and processing within the NetOps portal.