Description of problem:
When ceph-volume batch report is already tried on configured OSDs which were configured using wal-dbs, ceph-volume returning RuntimeError saying devices were filtered in non-interactive mode
Version-Release number of selected component (if applicable):
ceph version 14.2.8-39.el7cp
How reproducible:
Just tried once
Steps followed:
1. Configure cluster with at least once OSD with wal-devices
2. after OSD gets created successfully, run same command again
Actual results:
$ sudo ceph-volume lvm batch --bluestore --yes --prepare --osds-per-device 4 /dev/sdd --wal-devices /dev/sdd /dev/sdc --report --format=json
--> RuntimeError: 2 devices were filtered in non-interactive mode, bailing out
Expected results:
ceph-volume must not return error if OSDs are running already
Additional info:
Tried on a node where wal-devices were not used
$ sudo ceph-volume lvm batch --bluestore --yes --prepare --osds-per-device 2 /dev/sdc /dev/sdb /dev/sdd --report --format=json
{
"changed": false,
"osds": [],
"vgs": []
}
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Red Hat Ceph Storage 4.1 Bug Fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:4144