-
Notifications
You must be signed in to change notification settings - Fork 68
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
Elastic agent install error #23
Comments
Are you using a self-signed certificate? If so, add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
elastic-agent | /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'kibana'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
elastic-agent | warnings.warn(
elastic-agent | Traceback (most recent call last):
elastic-agent | File "/install.py", line 19, in
elastic-agent | agent.install(version=os.environ.get('ELK_VERSION'), preflight_check=preflight)
elastic-agent | File "/usr/local/lib/python3.8/dist-packages/elastic_agent_setup/elastic_agent.py", line 46, in install
elastic-agent | return self.__platform_run('install')
elastic-agent | File "/usr/local/lib/python3.8/dist-packages/elastic_agent_setup/elastic_agent.py", line 31, in __platform_run
elastic-agent | return Linux().run(subcommand=subcommand)
elastic-agent | File "/usr/local/lib/python3.8/dist-packages/elastic_agent_setup/platform/platform.py", line 39, in run
elastic-agent | return subprocess.run(command, shell=True, check=True, capture_output=True)
elastic-agent | File "/usr/lib/python3.8/subprocess.py", line 516, in run
elastic-agent | raise CalledProcessError(retcode, process.args,
elastic-agent | subprocess.CalledProcessError: Command 'cd /elastic-agent-7.15.0-linux-x86_64 && ./elastic-agent install --force --kibana-url="https://kibana:5601" --enrollment-token="cXNjLV8zd0JBeUdtcFJPMmlqWHQ6SGFrVXd6VVlSaENsTldlNTBxOUJsQQ==" --certificate-authorities="/ca.crt" ' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered: