InsightIQ "HTTP-anmodning fik timeout" eller tom ved generering af FSA-rapporter

Summary: InsightIQ UI kan ikke indlæse hele eller en del af en FSA-rapport (File System Analytics), hvis timeout for OneFS Application Programming Interface (API) er for lav.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

I InsightIQ 4.0 til 4.2 og OneFS 8.0.x (eller nyere versioner) indsamler OneFS RESTful API FSA-rapportdata. Hvis InsightIQ ikke er i stand til at indsamle disse data, indlæses FSA-rapporten muligvis ikke, indlæses muligvis delvist eller tillader muligvis ikke brugere at navigere i mapperne.

Cause

Problemet opstår, når der for tidligt opstår timeout for InsightIQ-serveren API-kaldet til OneFS.

For at validere denne årsag skal du køre følgende kommando (erstatter CLUSTER_GUID med den rette mappe):

      $ grep "HTTP request timed out" /var/log/insightiq_clusters/CLUSTER_GUID/api_connection.log

Et output svarende til følgende vises:

    2017-06-12 13:07:50,114,114 ERROR [api.py: 187] HTTP request timed out: https://172.22.33.27:8080/platform/3/fsa/results/4505/directories/4321902598
    2017-06-12 13:08:13,782,782 ERROR [api.py: 187] HTTP request timed out: https://172.22.33.27:8080/platform/3/fsa/results/4505/directories/4321902598

Den definerede timeout-værdi ses ved at køre denne kommando:

$ grep 'read timeout=' /var/log/insightiq.log

Outputtet ser sådan ud. I dette eksempel på output er timeout 20 sekunder:

2018-04-12 04:18:30,203 WARNI [insightiq.lib.cluster.errors] APITimedOutError: HTTPSConnectionPool(host='10.104.6.138', port=8080): Read timed out. (read timeout=20) URI: https://10.104.6.138:8080/platform/3/statistics/history

Resolution

Du kan løse problemet ved at øge standardtimeout for API-kald til OneFS ved at redigere api.py Fil.

Kør denne kommando for at redigere InsightIQ api.py Fil:

    $ sudo vi /usr/share/isilon/lib/python2.7/site-packages/insightiq/lib/api_connection/api.py

På linje 35 skal du ændre TIMEOUT = 20 Til TIMEOUT = 300.

Genstart derefter InsightIQ-serveren:

    $ sudo service insightiq restart

For InsightIQ 4.2 er stien /usr/share/isilon/lib/python3.10/site-packages/insightiq/lib/api_connection/api.py.

Affected Products

Isilon InsightIQ
Article Properties
Article Number: 000038614
Article Type: Solution
Last Modified: 20 Jan 2026
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.