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

Minor log improvements #3782

Merged
merged 9 commits into from
Jan 8, 2025
Merged

Minor log improvements #3782

merged 9 commits into from
Jan 8, 2025

Conversation

kgaillot
Copy link
Contributor

@kgaillot kgaillot commented Jan 7, 2025

No description provided.

Use appropriate PRI constant for flag format, and use pcmk__s()
convenience macro where appropriate.
Utilization doesn't apply to bundle nodes; if the bundled primitive has
utilization, it applies to the container's host, not the bundle node.
If we weren't going to do anything anyway, don't bother logging that
we're not doing it at shutdown.
For example, pcmk__check_action_config() dumps resource configuration
XML at debug level, which could include sensitive parameter values.
If the test is interrupted and fails to restore the backup, at least it
will be where the admin can easily find it.

delete=true is the default for NamedTemporaryFile(), so we don't need to
specify it expicitly
@kgaillot
Copy link
Contributor Author

kgaillot commented Jan 7, 2025

@clumens , can you review this when you get a chance? Thanks

Copy link
Contributor

@clumens clumens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good, and the CI failure looks like a transient DNS problem (of course). I'm fine with merging without re-running that test, or we can re-run it just to be totally sure.

@kgaillot
Copy link
Contributor Author

kgaillot commented Jan 8, 2025

retest this please

@kgaillot kgaillot merged commit 434020e into ClusterLabs:main Jan 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants