Skip to main content
NetApp Knowledge Base

Workload Security Agent installation command fails due to operation timed out (or) could not resolve host

Views:
550
Visibility:
Public
Votes:
0
Category:
data-infrastructure-insights
Specialty:
ds_dii
Last Updated:

Applies to

  • Data Infrastructure Insights (DII) (formerly Cloud Insights) Storage Workload Security
  • Workload Security Agent 
  • A proxy server is used
  • env_reset is enabled in /etc/sudoers of Linux

Issue

  • When running the command to install Workload Security Agent provided by DII GUI, it fails due to operation time out  (or) could not resolve host of curl command

# token='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX' installerName=cloudsecure-linux-agent-installer-1.554.0.zip && sudo curl
-H "Authorization: Bearer $token" -o $installerName 
https://XXXXXX.XXXX.cloudinsights.netapp.com/rest/v1/agents/installers/linux/1.554.0
&& sudo unzip $installerName -d . && sudo chmod 750 -Rf ./cloudsecure-agent-install.sh
&& sudo /bin/bash -c "TOKEN=$token HTTPS_PROXY='$https_proxy'
./cloudsecure-agent-install.sh"  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- 0:04:59 --:--:--      0
curl: (28) Operation timed out after 300000 milliseconds with 0 out of 0 bytes received

# token='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX' installerName=cloudsecure-linux-agent-installer-1.554.0.zip && sudo curl
-H "Authorization: Bearer $token" -o $installerName 
https://XXXXXX.XXXX.cloudinsights.netapp.com/rest/v1/agents/installers/linux/1.554.0
&& sudo unzip $installerName -d . && sudo chmod 750 -Rf ./cloudsecure-agent-install.sh
&& sudo /bin/bash -c "TOKEN=$token HTTPS_PROXY='$https_proxy'
./cloudsecure-agent-install.sh"  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- 0:04:59 --:--:--      0
curl: (6) Could not resolve host: XXXXXX.XXXX.cloudinsights.netapp.com

  • Access log of proxy server indicates that there was no access from the host where the installation was tried

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.