Invalid memory config error when upgrading NiFi from 24.11 to 25.3
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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。跟踪 operator 在 reconciliation 期间如何处理现有的 8G 值,并根据预期的内存 quantity 格式验证结果。完成的标准是:升级保留有效配置,或以明确的验证错误拒绝无效值。
由索引模型根据 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 天 15 小时
- 30 天内合并 PR
- 14
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/nifi-operator 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
stackabletech/nifi-operator#956 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
stackabletech/nifi-operator#879 ·
维护者通常 1 天内回复
-
customer-request type/bug
难度 3/5 1-2 天 新手友好度 42/100
stackabletech/nifi-operator#842 · 1 条评论 ·
维护者通常 1 天内回复
-
size/M type/security
难度 5/5 一周以上 新手友好度 25/100
stackabletech/nifi-operator#811 · 1 条评论 ·
维护者通常 1 天内回复
-
size/L
难度 5/5 一周以上 新手友好度 20/100
stackabletech/nifi-operator#810 · 1 条评论 ·
维护者通常 1 天内回复
查看 stackabletech/nifi-operator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
project-robius/robrix#1154 ·
维护者通常 1 天内回复
-
Add Mimir未关闭
难度 1/5 1 小时以内 新手友好度 78/100
slavakurilyak/awesome-ai-agents#759 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
compiler-explorer/compiler-explorer#9272 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 63/100
pop-os/cosmic-files#2117 ·
维护者通常 2 天内回复