Skip to content

The webhook configuration for the MinIO server logs did not take effect after being set up. #20971

@wugeer

Description

@wugeer

After setting up a two-node, single-disk MinIO cluster, I configured the server log webhook on one of the nodes (using mc). However, even after performing numerous operations, no server logs were generated.

Expected Behavior

The expected behavior is that when the MinIO service on a node goes offline, the server log should record an offline event/message.

Current Behavior

The current behavior is that when the MinIO service on a node goes offline, the server log does not record the node's offline event/message.

Possible Solution

Steps to Reproduce (for bugs)

  1. Set up a two-node, single-disk MinIO cluster and Configure the mc tool and set up the MinIO alias.

Image

Image

Image

  1. Use mc to configure the webhook for the server log.

Image

  1. Restart the MinIO service and shut down one of the nodes.

Image

Image

Image

Image

Image

  1. However, sending logs to the server log's webhook using curl on the cent03 node works fine.

Image

Image

Image

Context

Regression

Your Environment

  • Version used (minio --version):RELEASE.2024-10-02T17-50-41Z (commit-id=ded0b19d97bb9f73f4d78382eb131ff80003e272)
  • Server setup and configuration:

Image

Image

  • Operating System and version (uname -a): Linux cent03 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions