Investigate logging configuration and logging tests

オープン
#620 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
kubernetes, rust

調査の方向性

tests/templates/kuttl/logging/04-install-hdfs-automatic-log.yaml.j2 にある logging テストテンプレートと、rust/crd/src/lib.rs および rust/operator-binary/src/product_logging.rs にある参照先の Rust 定義から始めます。ロールレベルとロールグループの logging 設定を比較し、その後 logging テストを実行して、hdfs コンテナ設定が機能しているように見える理由と、何を変更する必要があるかを特定します。

索引モデルが issue の本文から書いたものです。

説明

type/bug

@Jimvin discovered problems with configuring logging.

Configuring logging on role level did not work, role group level worked with the following config:

  journalNodes:
    roleGroups:
      default:
        replicas: 3
        config:
          logging:
            enableVectorAgent: true
            containers:
              journalnode:
                loggers:
                  ROOT:
                    level: DEBUG
                console:
                  level: DEBUG
    configOverrides: *configOverrides

In the logging tests we use the hdfs container https://github.com/stackabletech/hdfs-operator/blob/526f58925ca0ea0f543819f05516d3b70e1e28f3/tests/templates/kuttl/logging/04-install-hdfs-automatic-log.yaml.j2#L31.

Looking at the code, it seems to be hdfs as well:

Not sure how that can work, this needs investigation.

主要言語
Rust
スター
53
フォーク
9
平均マージ
1日 13時間
マージ済み PR(30日)
10

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackabletech/hdfs-operator のほかの issue

stackabletech/hdfs-operator の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。