-
Bug
-
Resolution: Fixed
-
Low
-
Insight 9.0.12, Insight 8.8.0
-
10
-
Severity 3 - Minor
-
3
-
Issue Summary
When importing Insight objects using AWS, if the user is syncing with too many accounts and combine with many regions, the test configuration will show as spinning forever on UI which prevents from going to the next step. This is due to the backend API is timing out due to testing too many AWS connections at the same time.
Steps to Reproduce
- Go to an Insight Object Schema. Go to Object Schema Configuration.
- Go to Import Tab, Create new Import, select AWS Import.
- Enter an import name and click next steps.
- Fill in AWS Access Key and AWS Access Token.
- In regions, select about 4 regions such as Sydney, Singapore, US, EU
- In Roles ARN, enter at least 10 roles from 10 different accounts
- In Account List, enter about 10 different accounts of the above roles
- Open Developer Inspection tool, go to the Network tab.
- Click Test Configuration, you will see that the API requests to `insight-aws-import` will take more than 1 minute to run and then timeout.
- The UI will keep showing the loading spinning icon forever even that the request is already timeout.
Expected Results
- It should not timeout and when the testing API is finished, it should proceed to the next step.
- If it's actually timeout for some reason, the UI should show an error, hide the loading spinning icon and let the user try again.
Actual Results
- The UI will keep showing the loading spinning icon forever even that the request is already timeout.
Workaround
- Rather than selecting multiple AWS regions in one big import with many accounts, try to choose only 1 Region at a time, this will make the test API run faster without timing out and the user can still proceed to the next step. Then repeat the step to create a new import for each was region.
Fix
Update to version 2.2.20 of the Assets - AWS Integration marketplace app.
For some additional tips on optimising your configuration:
- Even though isolated (iso) regions can be configured, the import app doesn't support them as there is no way to configure the custom endpoint for them. Having isolated regions configured in your import may significantly impact import times.
- If there are any roles included in the configuration that the configured API key and secret does not have permission to assume, this may significantly impact import times.
- If there are any Object Type (selectors) enabled in the import which the configured API key and secret does not have access to describe the resources for, this may significantly impact import times.
If you still have issues with the configuration hanging after trying 2.2.20, enable logging for the AWS import app:
- Log in as a user with the JIRA System Administrators global permission.
- Navigate to Administration > System > Logging and profiling
- Under the "Default Loggers" section, click on Configure logging level for another package
- At the "Package name" field, insert com.riadalabs.jira.plugins.aws
- At the "Logging Level" dropdown, select TRACE'
After enabling the logging, try to edit and save your configuration again, the logs may be able to provide some additional insights.
- links to
- mentioned in
-
Page Loading...