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

Reduce crypt log level error to info #3786

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mulkieran
Copy link
Member

No description provided.

@mulkieran mulkieran self-assigned this Mar 5, 2025
For crypt it is an error, but for stratisd it is only a temporary
setback.

Best to avoid putting an error log entry in stratisd log messages and causing
undue alarm.

Changes:
[2025-03-05T22:49:56Z ERROR  stratisd::engine::strat_engine::crypt::shared] Failed to retrieve Clevis passphrase; Error communicating with server http://127.0.0.1

to

[2025-03-05T22:49:56Z INFO  stratisd::engine::strat_engine::crypt::shared] Failed to retrieve Clevis passphrase; Error communicating with server http://127.0.0.1

For the change to the logging_callback method I do not have an example
of a log entry set at too high a level, but I think that the same argument
still holds.

Signed-off-by: mulhern <[email protected]>
Copy link

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/stratis-storage-stratisd-3786
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@mulkieran mulkieran marked this pull request as ready for review March 5, 2025 23:13
@mulkieran mulkieran requested a review from jbaublitz March 5, 2025 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

1 participant