-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to utilize script for installation where tenant url not reachable from agent node. so, we downloaded script but unable to utilize #54
Comments
hello, |
If agents cannot directly reach the Cluster API and can only reach an Environment ActiveGate or Cluster ActiveGate, use the Environment ActiveGate API endpoint for downloading the installer:
Note that the ActiveGate needs have REST API module enabled. The Puppet module does not support overriding the download_link parameter, so you cannot specify an alternative source for the installer. As a workaround, you can possibly do the following: You will need to download the agent yourself as the module Archive resource and Exec['install_oneagent'] checks if
This code is not tested. You may be better off modifying the module directly to support specifying an alternative source for downloading the installer file over the Archive resource. |
In my environment, I had to make sure that my machines had the Certificate Authority certificates for my internal CA installed before trying to download the agent. /etc/pki/ca-trust/source/anchors/ is the location on Linux-ish OSs. |
We are getting following error after providing tenant url and access token:
Error: Execution of '/bin/curl https://XXXXXXXXXXXXXXXX/api/v1/deployment/installer/agent/unix/default/latest/?Api-Token=XXXXXXXXXXXXXXXXXXXXXXX=all -o /tmp/Dynatrace-OneAgent-Linux-latest.sh_20220418-23561-d3zgud -fsSLg --max-redirs 5' returned 35: curl: (35) TCP connection reset by peer
Actually in our environment , we cant connect with external url and unable to download installer script.
is there any other way to download script and install the oneagent
Following thing i did but script unable to run
file{'/tmp/Dynatrace-OneAgent-Linux-latest.sh':
source => "puppet:///${installer_script}",
}
. kindly help .
The text was updated successfully, but these errors were encountered: