Description

User is unable to share test agents between two accounts in an On-Prem setup. This article will help user to fix this issue.

Symptoms

When user tries to share a test agent between two accounts,

it fails with error : You don't have permissions to share Test Agents.

 



Solution

#Pre-requisties to ensure a user can share test-agent between two accounts-

 

  1. The user should have ADMIN role in both accounts.
  2. The user must understand that sharing the agent will make it available to the account specified after its admin user accepts the sharing. 

            

For the above reported issue, we need to check in the netrounds.conf file in Control Center(CC) Server CLI -

 

  • Login into CC server CLI -
  • Go to the /etc/netrounds/netrounds.conf file and look for the following:

  # Allow sharing to accounts
    ENABLE_SHARE = True

 

  • In most of the cases this config lines will not be present.. If it's not there, add the above lines to the file. Follow bellow command -

cp  /etc/netrounds/netrounds.conf  /netrounds.conf_old
vi /etc/netrounds/netrounds.conf          *(To edit the file and add the above lines and the end of the file and then save it using Esc->wq!)

 

  • restart apache2 -

systemctl restart apache2
 

  • Re-login in the browser and now you will see the Share button enabled in the Test agent page.

 

  • Click on Share icon and proceed to share. This time it should succeed.

 

 

 

If still issue persists, please contact JTAC Support for assistance.

 

Modification History

2024-02-09 : Article Created

Related Information

https://app.netrounds.com/static/4.3.0.15/support/sharing/share-tas.html