Actions
Bug #18261
closedrbd status: json format has duplicated/overwritten key
% Done:
0%
Source:
Community (user)
Tags:
Backport:
jewel,kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Hi,
`rbd status <name> --format json` duplicates the watcher key if there are serveral watchers on a RBD. For example:
{ "watchers": { "watcher": { "address": "10.10.1.2:0\/1363000917", "client": 148717211, "cookie": 267 }, "watcher": { "address": "10.10.1.2:0\/1363000607", "client": 134617411, "cookie": 268 } } }
Maybe `watchers` should be array with hashes?
Kind regards,
Achim
Actions