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

[Fleet] Added missing option to fleet server intructions #121180

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

juliaElastic
Copy link
Contributor

Summary

Fixes #119606

To verify:

  1. Go to Fleet
  2. In Fleet Server instructions, select Quick start, click through to see command
  3. Verify that command contains --fleet-server-insecure-http
  4. Switch to production mode, verify that the argument in 3. is not there
  5. Copy the command from quick start and verify that fleet server is successfully enrolled with it

image

juliabardi@Julias-MacBook-Pro elastic-agent-7.16.0-darwin-x86_64 % sudo ./elastic-agent install  \
  --fleet-server-es=http://localhost:9200 \
  --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2Mzk0ODgxMTE5MTE6NUZLb2dtcDRSNldaZHBrZ1g4SGdUdw \
  --fleet-server-policy=499b5aa7-d214-5b5d-838b-3cd76469844e \
  --fleet-server-insecure-http
Elastic Agent will be installed at /Library/Elastic/Agent and will run as a service. Do you want to continue? [Y/n]:Y
2021-12-14T14:23:35.226+0100	INFO	cmd/enroll_cmd.go:727	Waiting for Elastic Agent to start Fleet Server
2021-12-14T14:23:37.228+0100	INFO	cmd/enroll_cmd.go:760	Fleet Server - Starting
2021-12-14T14:23:49.230+0100	INFO	cmd/enroll_cmd.go:741	Fleet Server - Running on policy with Fleet Server integration: 499b5aa7-d214-5b5d-838b-3cd76469844e; missing config fleet.agent.id (expected during bootstrap process)
2021-12-14T14:23:49.230+0100	WARN	[tls]	tlscommon/tls_config.go:98	SSL/TLS verifications disabled.
2021-12-14T14:23:50.009+0100	INFO	cmd/enroll_cmd.go:442	Starting enrollment to URL: http://localhost:8220/
2021-12-14T14:23:52.919+0100	INFO	cmd/enroll_cmd.go:250	Successfully triggered restart on running Elastic Agent.
Successfully enrolled the Elastic Agent.
Elastic Agent has been successfully installed.

Prod options unchanged:
image

Checklist

@juliaElastic juliaElastic requested a review from a team as a code owner December 14, 2021 13:35
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 14, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@juliaElastic juliaElastic self-assigned this Dec 14, 2021
@juliaElastic juliaElastic added v7.16.2 v8.0.0 v8.1.0 auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes labels Dec 14, 2021
Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@juliaElastic juliaElastic enabled auto-merge (squash) December 14, 2021 14:06
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 641.9KB 641.9KB +48.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @juliaElastic

@juliaElastic juliaElastic merged commit 303a82f into elastic:main Dec 14, 2021
@juliaElastic juliaElastic deleted the fix-quickstart branch December 14, 2021 14:51
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 14, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
8.0
7.16 Commit could not be cherrypicked due to conflicts

Successful backport PRs will be merged automatically after passing CI.

To backport manually run:
node scripts/backport --pr 121180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.16.2 v8.0.0 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fleet] Improve on-prem Fleet Server instructions for Quick start
5 participants