`Get secret: secrets "webhook-receiver" not found` errors observed in Rancher v2.4 and v2.5 server logs
This document (000020030) is provided subject to the disclaimer at the end of this document.
Sometimes an admin may see an error in the Rancher server logs like the one below:
[project-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found
- A Rancher v2.4.x instance prior to v2.4.11, or a Rancher v2.5.x instance prior to v2.5.4
- Rancher Monitoring v1 enabled and an Alert Group configured with a non-webhook notifier
The alert controller in Monitoring v1 would log an error when a secret containing a webhook-notifier configuration could not be found, even if no webhook based notifiers have been configured on alerts. This log message is harmless and can be ignored.
This erroneous log message has been fixed in Rancher v2.4.x, at v2.4.11 and above, and in Rancher v2.5.x, at v2.5.4 and above. Following a Rancher upgrade, the error should no longer show in the Rancher server logs.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020030
- Creation Date: 06-May-2021
- Modified Date:06-May-2021
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com