Actions
Bug #44222
closedc-v raw list should silence stderr
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Description
If 'ceph-bluestore-tool' fails on a device, the json output of the list
command will be messed up. Ignoring stderr of that command fixes this.
See:
[root@rook-ceph-osd-prepare-minikube-tvcbb /]# ceph-volume raw list stderr: unable to read label for /dev/vdd: (2) No such file or directory { "0": { "ceph_fsid": "7ec3d9fd-ada3-4bcb-9f2b-8deea05fe480", "device": "/dev/vdb", "osd_id": 0, "osd_uuid": "979b298c-58c9-4220-96f2-d6ea6d7bdf61", "type": "bluestore" }, "1": { "ceph_fsid": "7ec3d9fd-ada3-4bcb-9f2b-8deea05fe480", "device": "/dev/vdc", "osd_id": 1, "osd_uuid": "702d550b-8d61-44b3-a863-9814cf767f0c", "type": "bluestore" } }
Actions