Skip to content

Improve input not supported error to mention installation flavors.#11825

Merged
cmacknz merged 3 commits intoelastic:mainfrom
cmacknz:cmacknz/improve-input-not-supported
Dec 16, 2025
Merged

Improve input not supported error to mention installation flavors.#11825
cmacknz merged 3 commits intoelastic:mainfrom
cmacknz:cmacknz/improve-input-not-supported

Conversation

@cmacknz
Copy link
Member

@cmacknz cmacknz commented Dec 15, 2025

What does this PR do?

Improve the input not supported message to mention installation flavors and link to the documentation.

How to test this PR locally

Package agent from this branch and delete the agentbeat spec file before installation. You will see errors like the following afterwards with the new message:

❯ sudo elastic-development-agent status
┌─ fleet
│  └─ status: (HEALTHY) Connected
└─ elastic-agent
   ├─ status: (FAILED) OTel manager failed: failed to generate otel config: unknown otel receiver type for input type: filestream
   ├─ logfile-default
   │  ├─ status: (FAILED) input not supported - ensure you have installed the correct flavor: https://www.elastic.co/docs/reference/fleet/install-elastic-agents#elastic-agent-installation-flavors
   │  ├─ logfile-default
   │  │  └─ status: (FAILED) input not supported - ensure you have installed the correct flavor: https://www.elastic.co/docs/reference/fleet/install-elastic-agents#elastic-agent-installation-flavors
   │  └─ logfile-default-logfile-system-190fb219-345d-4795-a139-7030d62be2c2
   │     └─ status: (FAILED) input not supported - ensure you have installed the correct flavor: https://www.elastic.co/docs/reference/fleet/install-elastic-agents#elastic-agent-installation-flavors
   └─ system/metrics-default
      ├─ status: (FAILED) input not supported - ensure you have installed the correct flavor: https://www.elastic.co/docs/reference/fleet/install-elastic-agents#elastic-agent-installation-flavors
      ├─ system/metrics-default
      │  └─ status: (FAILED) input not supported - ensure you have installed the correct flavor: https://www.elastic.co/docs/reference/fleet/install-elastic-agents#elastic-agent-installation-flavors
      └─ system/metrics-default-system/metrics-system-190fb219-345d-4795-a139-7030d62be2c2
         └─ status: (FAILED) input not supported - ensure you have installed the correct flavor: https://www.elastic.co/docs/reference/fleet/install-elastic-agents#elastic-agent-installation-flavors
@cmacknz cmacknz self-assigned this Dec 15, 2025
@cmacknz cmacknz requested a review from a team as a code owner December 15, 2025 21:17
@cmacknz cmacknz added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team backport-skip labels Dec 15, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@cmacknz cmacknz added backport-9.1 Automated backport to the 9.1 branch backport-9.2 Automated backport to the 9.2 branch and removed backport-skip labels Dec 15, 2025
@cmacknz cmacknz enabled auto-merge (squash) December 16, 2025 01:23
@cmacknz cmacknz merged commit 612bfcd into elastic:main Dec 16, 2025
22 checks passed
@elasticmachine
Copy link
Contributor

mergify bot pushed a commit that referenced this pull request Dec 16, 2025
…11825)

* Improve input not supported error to mention flavors.

* Add changelog.

* Removing redundant import

---------

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
(cherry picked from commit 612bfcd)

# Conflicts:
#	internal/pkg/agent/application/coordinator/coordinator_unit_test.go
mergify bot pushed a commit that referenced this pull request Dec 16, 2025
…11825)

* Improve input not supported error to mention flavors.

* Add changelog.

* Removing redundant import

---------

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
(cherry picked from commit 612bfcd)

# Conflicts:
#	internal/pkg/agent/application/coordinator/coordinator_unit_test.go
cmacknz added a commit that referenced this pull request Dec 16, 2025
…installation flavors. (#11834)

* Improve input not supported error to mention installation flavors. (#11825)

* Improve input not supported error to mention flavors.

* Add changelog.

* Removing redundant import

---------

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
(cherry picked from commit 612bfcd)

# Conflicts:
#	internal/pkg/agent/application/coordinator/coordinator_unit_test.go

* Fix conflicts

---------

Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
cmacknz added a commit that referenced this pull request Dec 16, 2025
…installation flavors. (#11835)

* Improve input not supported error to mention installation flavors. (#11825)

* Improve input not supported error to mention flavors.

* Add changelog.

* Removing redundant import

---------

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
(cherry picked from commit 612bfcd)

# Conflicts:
#	internal/pkg/agent/application/coordinator/coordinator_unit_test.go

* Resolve conflicts

---------

Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-9.1 Automated backport to the 9.1 branch backport-9.2 Automated backport to the 9.2 branch enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

3 participants