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

Filebeat install task fails #371

Closed
sjpb opened this issue Feb 29, 2024 · 0 comments · Fixed by #373
Closed

Filebeat install task fails #371

sjpb opened this issue Feb 29, 2024 · 0 comments · Fixed by #373
Labels
bug Something isn't working

Comments

@sjpb
Copy link
Collaborator

sjpb commented Feb 29, 2024

TASK [filebeat : Reload filebeat unit file] *****************************************
fatal: [control]: FAILED! => {
    "changed": true,
    "cmd": [
        "systemctl",
        "daemon-reload"
    ],
    "delta": "0:00:00.067162",
    "end": "2024-02-29 12:34:20.509097",
    "rc": 1,
    "start": "2024-02-29 12:34:20.441935"
}

STDERR:

Failed to reload daemon: Interactive authentication required.

PR #351 missed the become off the systemd reload, so if the unitfile changes (e.g. during upgrades) the task fails.

@sjpb sjpb added the bug Something isn't working label Feb 29, 2024
@sjpb sjpb closed this as completed in #373 Mar 7, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant