]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: normalize storage data per member
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 10 Feb 2026 14:46:03 +0000 (15:46 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 10 Feb 2026 15:33:45 +0000 (16:33 +0100)
commit88113c20f1e4591e2fff45c047aa5429cb7d895e
tree5f9773f475529bf245d683cd0baca954c51edaf1
parente4412e17da4f8663dca4cd87e4abcfdf141db453
node-proxy: normalize storage data per member

Let's apply normalize_dict() to each member's data only, so the first
level keys (that are redfish member identifiers like "Self") are not
lowercased.

This avoids duplicate entries in hardware status.

Example:

```
[root@node-proxy-1 cephadm]# ./cephadm shell -- ceph orch hardware status --category criticals
Inferring fsid 9d6d6012-067a-11f1-8e61-525400a04a72
Inferring config /var/lib/ceph/9d6d6012-067a-11f1-8e61-525400a04a72/mon.node-proxy-1/config
+--------------+-----------+------+--------+-------+
|     HOST     | COMPONENT | NAME | STATUS | STATE |
+--------------+-----------+------+--------+-------+
| node-proxy-1 |    self   | None |  N/A   |  N/A  |
| node-proxy-1 |    Self   | None |  N/A   |  N/A  |
+--------------+-----------+------+--------+-------+
```

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py