Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Linux mdadm error parsing mdraids - Invalid syntax since version 1.10.0

未关闭
#3,528 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
azure, go, kubernetes, linux

调研方向

从 collector.go:168 开始,跟踪 mdadm collector 的 RAID 解析路径。比较商业环境和 US Government AKS 环境中的 mdraid 输入,重点关注导致 strconv.ParseUint 报告 invalid syntax 的值。完成的标准是确定触发该问题的输入及原因,并记录经过验证的解决方案或可操作的复现方法。

由索引模型根据 Issue 内容生成。

描述

After upgrading to the latest version of node-exporter (from version 1.9.1), we're seeing frequent errors as below

level=ERROR source=collector.go:168 msg="collector failed" name=mdadm duration_seconds=0.000213012 err="error parsing mdraids: strconv.ParseUint: parsing": invalid syntax"

On our commercial Azure Kubernetes Service, this error does not occur.
But in Azure US Government AKS clusters, the error appears.

This is the only major difference I know of.
As it is a managed service, we don't directly control any of the RAID or other underlying disks the nodes run from, so not sure what could be causing this.

We've also never recorded, configured or used any RAID metrics.
Any suggestions on what more information to supply to get this resolved would be appreciated

主要语言
Go
星标
13.8k
派生
2.7k
平均合并
1 天 4 小时
30 天内合并 PR
7

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

prometheus/node_exporter 的其他 Issue

查看 prometheus/node_exporter 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。