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

[Deployment]: Hosted fleet server is not available under Agents tab for 7.17.22 #3592

Closed
amolnater-qasource opened this issue May 30, 2024 · 8 comments · Fixed by elastic/beats#39800
Assignees
Labels
bug Something isn't working impact:high Short-term priority; add to current release, or definitely next. Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Fleet Label for the Fleet team

Comments

@amolnater-qasource
Copy link
Collaborator

Deployment Links:

Description:

  • Hosted fleet server is not available under Agents tab.

Note:
The issue is consistently reproducible on all 7.17.22 deployments.

Screenshots:
image
image

@amolnater-qasource amolnater-qasource added bug Something isn't working impact:high Short-term priority; add to current release, or definitely next. Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels May 30, 2024
@amolnater-qasource
Copy link
Collaborator Author

@manishgupta-qasource Please review.

@amolnater-qasource amolnater-qasource added Team:Fleet Label for the Fleet team and removed Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels May 30, 2024
@manishgupta-qasource
Copy link
Collaborator

Secondary review for this ticket is Done

@cmacknz
Copy link
Member

cmacknz commented May 30, 2024

Creating deployments shows:

   "event": {
      "original": "2024-05-30T12:47:04.130Z\tERROR\temitter/controller.go:126\tFailed to render configuration with latest context from composable controller: fail to extract program configuration: invalid configuration missing outputs configuration"
    },

This isn’t even getting to Fleet server, it failing early in agent: https://github.com/elastic/beats/blob/0162f4546eb4c50fc24743de3f9b0b05a6a95570/x-pack/elastic-agent/pkg/agent/program/program.go#L134-L144

func groupByOutputs(single *transpiler.AST) (map[string]*transpiler.AST, error) {
    const (
        outputsKey = "outputs"
        outputKey  = "output"
        inputsKey  = "inputs

@ycombinator
Copy link
Contributor

ycombinator commented May 30, 2024

Looking at recent commits to beats in 7.17, this PR is the only one that touches code, although the changes don't seem be directly related to this error.

Going to try and revert that PR to see if helps.

@jlind23
Copy link
Contributor

jlind23 commented May 31, 2024

@ycombinator @cmacknz reverting the mentioned change worked as I have been able to spin up a 7.17.22-snapshot but NOT a regular 7.17.22 this morning. Maybe 7.17.22 image was not refreshed yet.
Screenshot 2024-05-31 at 07 33 52

@cmacknz
Copy link
Member

cmacknz commented May 31, 2024

Yes there has not been a new 7.17.22 BC, the next one is scheduled for June 6th.

Reverting elastic/beats#39586 has downgraded several dependencies we bumped for security reasons, we should determine why that change has caused problems and fix it before the 7.17.22 release.

@jlind23
Copy link
Contributor

jlind23 commented Jun 3, 2024

@ycombinator could you please triage this and make this it gets the right assignee?

@jlind23
Copy link
Contributor

jlind23 commented Jun 21, 2024

Closing as fixed as Michel's PR was merged,

@jlind23 jlind23 closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact:high Short-term priority; add to current release, or definitely next. Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Fleet Label for the Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants