Skip to content
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

[Ingest Manager]: Unable to install 8.0 snapshot agent (Verified on windows and macOS so far) #23652

Closed
dikshachauhan-qasource opened this issue Jan 25, 2021 · 11 comments
Assignees
Labels
bug impact:critical Immediate priority; high value or cost to the product. Team:Elastic-Agent Label for the Agent team v8.0.0

Comments

@dikshachauhan-qasource
Copy link

dikshachauhan-qasource commented Jan 25, 2021

Kibana version:
8.0 snapshot Kibana Cloud environment

Elasticsearch version:
8.0 snapshot Kibana Cloud environment

Host OS and Browser version:
Windows 10, windows server 2012, All

Windows Test Signing ON

Original install method (e.g. download page, yum, from source, etc.):
8.0 snapshot Kibana Cloud environment

[Ingest Manager]: Unable to install 8.0 snapshot agent on windows.

Preconditions

  1. 8.0 snapshot Cloud environment should be available.
BUILD 39794
COMMIT 8263d47d378315bdcad990620010c8452f3133d1
Artifact link: https://snapshots.elastic.co/8.0.0-24830523/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-windows-x86_64.zip
  1. Default policy having system integration should exist.[No change in namespace].

Steps to reproduce:

  1. Login to Kibana cloud environment.
  2. Go to Add Agents flyout.
  3. Copy installation command for windows Agent.
  4. RDP to endpoint. Open powershell with Admin mode.
  5. Run command copied at step 3 at location c:>Program Files>elastic-agent
  6. Observe, below error message is displayed.
Error: fail to enroll: fail to execute request to Kibana: Post "https://1ed62a6e3547403093eeb507927b385e.us-central1.gcp.foundit.no:443/api/fleet/agents/enroll?": x509: certificate is valid for *.gcp.foundit.no, *.us-central1.gcp.foundit.no, *.europe-west1.gcp.foundit.no, *.apm.us-central1.gcp.foundit.no, *.app-search.us-central1.gcp.foundit.no, *.apm.europe-west1.gcp.foundit.no, *.app-search.europe-west1.gcp.foundit.no, *.ent-search.us-central1.gcp.foundit.no, gcp.foundit.no, us-central1.gcp.foundit.no, apm.us-central1.gcp.foundit.no, app-search.us-central1.gcp.foundit.no, europe-west1.gcp.foundit.no, apm.europe-west1.gcp.foundit.no, app-search.europe-west1.gcp.foundit.no, ent-search.us-central1.gcp.foundit.no, not 1ed62a6e3547403093eeb507927b385e.us-central1.gcp.foundit.no
Error: enroll command failed with exit code: 1

Reference ticket Id:
N/A

Actual Result:
Unable to install 8.0 snapshot agent on windows.

Expected Result:
User should be able to install 8.0 snapshot agent on windows.

What's working:
N/A

What's not working:
N/A

Screenshots:
AgenterrorOnWindows

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 25, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jan 25, 2021
@dikshachauhan-qasource dikshachauhan-qasource added the impact:critical Immediate priority; high value or cost to the product. label Jan 25, 2021
@dikshachauhan-qasource
Copy link
Author

@manishgupta-qasource Please review

@ph
Copy link
Contributor

ph commented Jan 25, 2021

@michalpristas this is interesting, could that be possibly linked to the Golang upgrade from last week?

@manishgupta-qasource
Copy link

Reviewed

@dikshachauhan-qasource
Copy link
Author

Hi @michalpristas

We have attempted to install 8.0 snapshot agent on mac as well and observed 'Error enroll command with exit code: 1' error message.

Please refer below screenshot.
#23652_error_on_mac

Thanks
QAS

@EricDavisX
Copy link
Contributor

Thanks Diksha, it directly relates to the new GoLang upgrade noted here:
#22495

I read thru it briefly, and wasn’t sure what impact it would have on our systems. A guess is we may need to update the Windows vm templates. I’m not sure yet - but thank you for logging. @charlie-pichette care to help us research our Windows vSphere host templates?

@EricDavisX EricDavisX changed the title [Ingest Manager]: Unable to install 8.0 snapshot agent on windows. [Ingest Manager]: Unable to install 8.0 snapshot agent (Verified on windows and macOS so far) Jan 25, 2021
@michalpristas
Copy link
Contributor

yes seems to be related with latest change in go version and TLS handling will take a look

@kvch
Copy link
Contributor

kvch commented Jan 25, 2021

Fix that will probably help: #23661

@ph ph assigned kvch and unassigned michalpristas and EricDavisX Jan 25, 2021
@andresrc andresrc added Team:Elastic-Agent Label for the Agent team and removed Team:Ingest Management labels Jan 25, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@ph
Copy link
Contributor

ph commented Jan 26, 2021

closing #23661 was merged.

@ph ph closed this as completed Jan 26, 2021
@amolnater-qasource
Copy link

Hi @EricDavisX
We have re-validated this issue on 8.0.0 Snapshot Kibana Cloud environment found it Fixed. Build details are as follows:

Build: 39872
Commit: 0fe7b9e080c67c43aefdb7ea25d5e90a80cb4ade
Artifact link for Windows: https://snapshots.elastic.co/8.0.0-e9bbbb5f/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-windows-x86_64.zip
Artifact link for MAC: https://snapshots.elastic.co/8.0.0-e9bbbb5f/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-darwin-x86_64.tar.gz

Observations:

  • Windows Agent enrolled successfully.
  • MAC Agent enrolled successfully.

Screenshots:
#23652

Please let us know if anything else is required.

Thanks
QAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug impact:critical Immediate priority; high value or cost to the product. Team:Elastic-Agent Label for the Agent team v8.0.0
Projects
None yet
Development

No branches or pull requests

9 participants