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

rbd: set logger for the controller-runtime #5174

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

iPraveenParihar
Copy link
Contributor

Describe what this PR does

The error message [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed in csi-omap-generator sidecar means that the logging has not been properly set up. Because of this, log messages that controller-runtime logs will not be visible.

To fix it, we need to explicitly set a logger for controller-runtime.

Fixes: #5165

Future concerns

List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

Show available bot commands

These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

  • /retest ci/centos/<job-name>: retest the <job-name> after unrelated
    failure (please report the failure too!)

@iPraveenParihar iPraveenParihar self-assigned this Feb 25, 2025
@mergify mergify bot added the component/rbd Issues related to RBD label Feb 25, 2025
@iPraveenParihar iPraveenParihar marked this pull request as ready for review February 25, 2025 09:39
@iPraveenParihar iPraveenParihar requested a review from a team February 25, 2025 10:15
@nixpanic
Copy link
Member

@Mergifyio queue

Copy link
Contributor

mergify bot commented Feb 25, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 3e4e4ed

@iPraveenParihar iPraveenParihar force-pushed the fix/ctrl-runtime-set-logger branch from fe69a7a to 13720de Compare February 25, 2025 13:51
@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Feb 25, 2025
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.32

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.32

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.32

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Feb 25, 2025
@mergify mergify bot merged commit 3e4e4ed into ceph:devel Feb 25, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/rbd Issues related to RBD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic in the omap generator
5 participants