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

elastic-agent install 'interactive' command is unable to enroll the agent into Fleet #21244

Closed
ghost opened this issue Sep 23, 2020 · 6 comments
Assignees
Labels
bug impact:high Short-term priority; add to current release, or definitely next.

Comments

@ghost
Copy link

ghost commented Sep 23, 2020

Kibana version:
Kibana: 8.0.0-SNAPSHOT

Elasticsearch version:
Elasticsearch: 8.0.0-SNAPSHOT

Host OS and Browser version:
Windows 10 , All

Original install method (e.g. download page, yum, from source, etc.):
From 8.0.0-SNAPSHOT on staging cloud environment https://staging.found.no/

Description
elastic-agent install command is unable to enroll the agent into Fleet

Preconditions

  1. 8.0.0-SNAPSHOT Kibana cloud environment should be available.

Steps to Reproduce

  1. Open the 8.0.0-SNAPSHOT Kibana cloud environment in browser.
  2. Download the 8.0.0 agent from artifact link(https://console.cloud.google.com/storage/browser/beats-ci-artifacts/pull-requests/pr-21206/elastic-agent?pageState=(%22StorageObjectListTable%22:(%22f%22:%22%255B%255D%22))&prefix=&forceOnObjectsSortingFiltering=false)
  3. RDP to the endpoint and place the agent.
  4. Unarchive the agent
  5. Open powershell as admin and run the command for interactive mode:
    ./elastic-agent install
  6. Observe that installation is successful bit agent is unable to enroll into fleet.

Test data
N/A

Impacted Test case id
N/A

Actual Result
[Ingest Management]: elastic-agent install command is unable to enroll the agent into Fleet

Expected Result
[Ingest Management]: elastic-agent install command should be able to enroll the agent into Fleet

What's working

  • Issue is also occurring for mac and linux

What's not working

  • N/A

Screenshot
windows_interactive_fail

Logs
N/A

@ghost ghost added the bug label Sep 23, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 23, 2020
@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 Sep 23, 2020
@ghost ghost added impact:high Short-term priority; add to current release, or definitely next. needs_team Indicates that the issue/PR needs a Team:* label labels Sep 23, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 23, 2020
@botelastic
Copy link

botelastic bot commented Sep 23, 2020

This issue doesn't have a Team:<team> label.

@ghost
Copy link
Author

ghost commented Sep 23, 2020

@muskangulati-qasource Please review the bug

@muskangulati-qasource
Copy link

Reviewed & assigned to @EricDavisX .

@EricDavisX EricDavisX changed the title elastic-agent install command is unable to enroll the agent into Fleet elastic-agent install 'interactive' command is unable to enroll the agent into Fleet Sep 23, 2020
@EricDavisX
Copy link
Contributor

confirmed on Windows (as seen here) and macOS (by Eric, screenshots sent to Blake)

@EricDavisX
Copy link
Contributor

note, the usage above is actually a 'negative' test which is passing, because it uses the enrollment token uuid instead of the token itself, the 'secret' which is the string that ends with the == in the UI.

Screen Shot 2020-09-23 at 1 42 55 PM

So I can close this out as not an issue. But, I'll say that when I used the secret it still failed. Blake is fixing it so we can re-test soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug impact:high Short-term priority; add to current release, or definitely next.
Projects
None yet
Development

No branches or pull requests

4 participants