Bug 1674589

Summary: Validate selected disks exist and have required capacity during gluster deployment
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Gobinda Das <godas>
Component: gluster-ansibleAssignee: Sachidananda Urs <surs>
Status: CLOSED WONTFIX QA Contact: Sweta Anandpara <sanandpa>
Severity: medium Docs Contact:
Priority: high    
Version: rhhiv-1.6CC: rhs-bugs, sabose, sankarshan, sasundar
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1674587 Environment:
Last Closed: 2019-02-19 11:45:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1674587    
Bug Blocks:    

Comment 2 Sachidananda Urs 2019-02-19 11:45:08 UTC
Ansible modules lvg and vdo throw appropriate error messages when disk is not present or if there is insufficient space.

For example:
TASK [Create a volume group] **********************************************************************
fatal: [rhhi1]: FAILED! => {"changed": false, "msg": "Device /dev/sdb not found."}

I think that should be sufficient. Please re-open if we need custom messages.