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

NAS-129169 / 24.10 / log ALL THE THINGS #13778

Merged
merged 2 commits into from
May 23, 2024
Merged

NAS-129169 / 24.10 / log ALL THE THINGS #13778

merged 2 commits into from
May 23, 2024

Conversation

yocalebo
Copy link
Contributor

I've discovered, while investigating an unrelated problem, that the HA failover process was "hung" waiting on non-ZFS related tasks (at least from the information that I could coerce out of the system). This happens rarely enough that unless you're prepared, it's very hard to gather the collateral quickly enough before the failover process has finished.

This is not a solution for that problem, but this makes it so that the failover process is extremely verbose around all operations. This will at least give us an idea of an endpoint that could be "blocking" or causing a "longer than expected" amount of time to complete.

While I was here, I renamed the start_apps_vms method. We do not support VMs on HA at the moment so there is no reason to keep that logic here. Rename it accordingly.

@yocalebo yocalebo requested a review from a team May 22, 2024 18:05
@yocalebo yocalebo added the jira label May 22, 2024
@bugclerk bugclerk changed the title log ALL THE THINGS NAS-129169 / 24.10 / log ALL THE THINGS May 22, 2024
@bugclerk
Copy link
Contributor

@yocalebo yocalebo merged commit 23e7749 into master May 23, 2024
3 checks passed
@yocalebo yocalebo deleted the more-logging branch May 23, 2024 11:26
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants