Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Invalid memory config error when upgrading NiFi from 24.11 to 25.3

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

まず、Stackable 24.11/NiFi 2.0.0 から Stackable 25.3/NiFi 2.2.0 へのアップグレードを再現し、NifiCluster CRD のフィールド spec.nodes.config.resource.memory.limit を調査します。Reconciliation 中にオペレーターが既存の 8G の値をどのように処理するかを追跡し、想定されるメモリ量の形式に照らして結果を検証します。アップグレードによって有効な設定が維持されるか、無効な値が明確な検証エラーとともに拒否されれば完了です。

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

説明

A cluster running Stackable 24.11 and NiFi 2.0.0 was upgraded to Stackable 25.3 and NiFi 2.2.0. The only change to the NifiCluster definition was to change spec.image.productVersion from 2.0.0 to 2.2.0. When the updated CRD is applied an error is shown in the Stackable NiFi operator logs:

ERROR stackable_operator::logging::controller: Failed to reconcile object controller.name="nificluster.nifi.stackable.tech" error=reconciler for objec
t NifiCluster.v1alpha1.nifi.stackable.tech/poc-nifi.default failed error.sources=[Bootstrap configuration error, invalid JVM config, invalid memory config, invalid quantity unit
G"[]

Upon inspection the deployed CRD does show an invalid value of 8G for spec.nodes.config.resource.memory.limit. The issue can be resolved by explicitly setting spec.nodes.config.resource.memory.limit to valid value in the CRD.

The expectation is that upgrading the operator should not break an otherwise valid CRD or that an invalid CRD should not be accepted.

主要言語
Rust
スター
48
フォーク
12
平均マージ
1日 11時間
マージ済み PR(30日)
11

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

stackabletech/nifi-operator のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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