Bug 1827349 - [ceph-volume] : devices were filtered when wal-devices are are mentioned causing ceph-ansible failure
Summary: [ceph-volume] : devices were filtered when wal-devices are are mentioned caus...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Volume
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: z2
: 4.1
Assignee: Andrew Schoen
QA Contact: Vasishta
URL:
Whiteboard:
: 1855142 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-23 17:18 UTC by Vasishta
Modified: 2020-09-30 17:25 UTC (History)
11 users (show)

Fixed In Version: ceph-14.2.8-99.el8cp, ceph-14.2.8-99.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-30 17:25:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 34744 0 None closed ceph-volume: handle idempotency with batch and explicit scenarios 2020-11-11 09:36:02 UTC
Github ceph ceph pull 35881 0 None closed nautilus: ceph-volume: handle idempotency with batch and explicit scenarios 2020-11-11 09:36:02 UTC
Red Hat Product Errata RHBA-2020:4144 0 None None None 2020-09-30 17:25:55 UTC

Description Vasishta 2020-04-23 17:18:14 UTC
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": []
}

Comment 14 Vasishta 2020-07-21 16:11:45 UTC
*** Bug 1855142 has been marked as a duplicate of this bug. ***

Comment 26 errata-xmlrpc 2020-09-30 17:25:33 UTC
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


Note You need to log in before you can comment on or make changes to this bug.