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

7.17.0 awk entrypoint broken #30435

Closed
blakerouse opened this issue Feb 16, 2022 · 4 comments · Fixed by #30452
Closed

7.17.0 awk entrypoint broken #30435

blakerouse opened this issue Feb 16, 2022 · 4 comments · Fixed by #30452
Assignees
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@blakerouse
Copy link
Contributor

With the switch from CentOS to Ubuntu the https://github.com/elastic/beats/blob/main/dev-tools/packaging/templates/docker/docker-entrypoint.tmpl#L13 does not work as expected. This is because that Ubuntu uses mawk instead of gawk. This change results in the output of the awk to be incorrect.

For confirmed bugs, please report:

  • Version: 7.17.0
  • Operating System: Docker Container
  • Discuss Forum URL:
  • Steps to Reproduce:

docker run -it docker.elastic.co/beats/filebeat setup does not actually run setup

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 16, 2022
@blakerouse blakerouse added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Feb 16, 2022
@elasticmachine
Copy link
Collaborator

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

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Feb 16, 2022
@blakerouse blakerouse self-assigned this Feb 16, 2022
@cdavid15
Copy link

Can we confirm this is actually fixed in heartbeat 7.17.1?

I can see it has been merged prior to the 7.17.1 release and it is on the release notes but the issue still exists as discussed on discuss:

https://discuss.elastic.co/t/heartbeat-subcommands-unable-to-run-on-7-17-x-and-8-0-x-docker-images/299630

@cmacknz
Copy link
Member

cmacknz commented Mar 15, 2022

It looks like the 7.17.1 build candidate was generated the day before this fix was merged and that is what we released. The fix went in before the 7.17.1 release but we didn't create a new build candidate. This would be fixed in 7.17.2.

7.17.1 tag: https://github.com/elastic/beats/commits/v7.17.1
Fix in the 7.17 branch: 4d9042d

@cdavid15
Copy link

Ah ok. Must have missed that while using looking at the repo on my mobile last night.

Hopefully the patch release will drop soon as we are in a position we can't upgrade to 8.x at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants