Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph-volume: show correct rejected reason in inventory if device type…
… is not acceptable If device type is not acceptable in `c-v inventory`, its rejected reason becomes "Insufficient space (<5GB)" by mistake. It's because sys_api is empty due to skipping devices that are neither `disk` nor `device`. We should report the target device is not acceptable in this case. Fixes: https://tracker.ceph.com/issues/46102 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com> (cherry picked from commit 3e5d91d)
- Loading branch information
1 parent
85f0260
commit 210ad89
Showing
3 changed files
with
87 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters