Hi,
I am setting up fleet-server in air-gap environment. However, I am unable to enroll the fleet-server to elasticsearch. I am having the below error.
2021-07-05T22:37:11.552+0800 INFO cmd/enroll_cmd.go:300 Generating self-signed certificate for Fleet Server
2021-07-05T22:37:12.847+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:18.895+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:24.951+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:31.001+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:37.045+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:43.104+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:44.110+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:37:46.125+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:47.134+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:37:51.171+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:52.172+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:37:58.189+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:59.199+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:05.227+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:07.227+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:08.228+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:14.238+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:15.238+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:21.243+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:23.244+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:24.246+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:30.258+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:31.262+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:37.271+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:39.280+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:40.283+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:46.289+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:47.292+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:53.305+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:54.308+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:55.308+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:56.310+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:39:02.420+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:39:03.420+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:39:06.447+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:39:07.453+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
Error: fleet-server never started by elastic-agent daemon: context canceled
Error: enroll command failed with exit code: 12021-07-05T22:37:11.552+0800 INFO cmd/enroll_cmd.go:300 Generating self-signed certificate for Fleet Server
2021-07-05T22:37:12.847+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:18.895+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:24.951+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:31.001+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:37.045+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:43.104+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Starting
2021-07-05T22:37:44.110+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:37:46.125+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:47.134+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:37:51.171+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:52.172+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:37:58.189+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:37:59.199+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:05.227+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:07.227+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:08.228+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:14.238+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:15.238+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:21.243+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:23.244+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:24.246+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:30.258+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:31.262+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:37.271+0800 INFO cmd/enroll_cmd.go:648 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:39.280+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:40.283+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:46.289+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:47.292+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:53.305+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:54.308+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:38:55.308+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:38:56.310+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:39:02.420+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:39:03.420+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
2021-07-05T22:39:06.447+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-07-05T22:39:07.453+0800 INFO cmd/enroll_cmd.go:643 Fleet Server - Error - assigned policy does not have fleet-server input
Error: fleet-server never started by elastic-agent daemon: context canceled
Error: enroll command failed with exit code: 1
May I know where I can add the server input?