Bug 1370050

Summary: [doc] [RFE] Warning message for conflicting OSD options
Product: Red Hat Ceph Storage Reporter: James Biao <jbiao>
Component: DocumentationAssignee: Aron Gunn <agunn>
Status: CLOSED CURRENTRELEASE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: asriram, jbiao, kdreyer
Target Milestone: rc   
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-30 17:19:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Biao 2016-08-25 07:40:15 UTC
Description of problem:

https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/single/installation-guide-for-red-hat-enterprise-linux#configuring_ceph_osd_settings

Adding warning message at the end of this chapter would be helpful.

Some osd options are conflicting each other. As in /usr/share/ceph-ansible/roles/ceph-common/tasks/checks/check_mandatory_vars.yml

~~~
name: verify only one osd scenario was chosen
  fail:
    msg: "please select only one osd scenario"
  when:
    osd_group_name is defined and
    osd_group_name in group_names and
    ((journal_collocation and raw_multi_journal) or
    (journal_collocation and osd_directory) or
    (raw_multi_journal and osd_directory) or
    (bluestore and journal_collocation) or
    (bluestore and raw_multi_journal) or
    (bluestore and osd_directory))
~~~

bluestore is tech preview so we don't need to worry about here.

(journal_collocation and raw_multi_journal) or
(journal_collocation and osd_directory) or
(raw_multi_journal and osd_directory) or

These are 3 scenario we need to avoid when enabling osd options


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: