Skip to content

Less noisy minio in stateless logs - #73516

Merged
antonio2368 merged 1 commit into
masterfrom
less-noisy-minio-audit
Dec 18, 2024
Merged

antonio2368 merged 1 commit into
masterfrom
less-noisy-minio-audit

Conversation

@antonio2368

@antonio2368 antonio2368 commented Dec 18, 2024 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Once we stop ClickHouse, minio will start spamming with logs like

API: SYSTEM.config
Time: 05:57:26 UTC 12/18/2024
DeploymentID: 8326abf1-47db-4652-9386-b9233a055118
Error: unable to send webhook log entry to 'minio-http-audit-ch_audit_webhook' err 'http://localhost:8123/?async_insert=1&wait_for_async_insert=0&async_insert_busy_timeout_min_ms=5000&async_insert_busy_timeout_max_ms=5000&async_insert_max_query_number=1000&async_insert_max_data_size=10485760&date_time_input_format=best_effort&query=INSERT%20INTO%20minio_audit_logs%20FORMAT%20JSONAsObject returned 'Post "http://localhost:8123/?async_insert=1&wait_for_async_insert=0&async_insert_busy_timeout_min_ms=5000&async_insert_busy_timeout_max_ms=5000&async_insert_max_query_number=1000&async_insert_max_data_size=10485760&date_time_input_format=best_effort&query=INSERT%20INTO%20minio_audit_logs%20FORMAT%20JSONAsObject": dial tcp 127.0.0.1:8123: connect: connection refused', please check your endpoint configuration' (*fmt.wrapError)
       4: internal/logger/logonce.go:64:logger.(*logOnceType).logOnceConsoleIf()
       3: internal/logger/logonce.go:157:logger.LogOnceConsoleIf()
       2: cmd/logging.go:132:cmd.configLogOnceConsoleIf()
       1: internal/logger/target/http/http.go:416:http.(*Target).startQueueProcessor()

We should simply remove the webhook before stopping ClickHouse

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

CI Settings (Only check the boxes if you know what you are doing):

  • Allow: All Required Checks
  • Allow: Stateless tests
  • Allow: Stateful tests
  • Allow: Integration Tests
  • Allow: Performance tests
  • Allow: All Builds
  • Allow: batch 1, 2 for multi-batch jobs
  • Allow: batch 3, 4, 5, 6 for multi-batch jobs

  • Exclude: Style check
  • Exclude: Fast test
  • Exclude: All with ASAN
  • Exclude: All with TSAN, MSAN, UBSAN, Coverage
  • Exclude: All with aarch64, release, debug

  • Run only fuzzers related jobs (libFuzzer fuzzers, AST fuzzers, etc.)
  • Exclude: AST fuzzers

  • Do not test
  • Woolen Wolfdog
  • Upload binaries for special builds
  • Disable merge-commit
  • Disable CI cache

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Dec 18, 2024
@robot-ch-test-poll4

robot-ch-test-poll4 commented Dec 18, 2024 •

Copy link
Copy Markdown
Contributor

This is an automated comment for commit fdaee1e with description of existing statuses. It's updated for the latest CI running

✅ Click here to open a full report in a separate page

Successful checks
Check nameDescriptionStatus
BuildsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Stateless testsRuns stateless functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Style checkRuns a set of checks to keep the code style clean. If some of tests failed, see the related log from the report✅ success

@kssenii kssenii self-assigned this Dec 18, 2024
@antonio2368
antonio2368 added this pull request to the merge queue Dec 18, 2024
Merged via the queue into master with commit 9b7b027 Dec 18, 2024
@antonio2368
antonio2368 deleted the less-noisy-minio-audit branch December 18, 2024 14:27
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants