Bug 1317611

Summary: OSD cannot live on a Mon node
Product: Red Hat Ceph Storage Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: Ceph-InstallerAssignee: Alfredo Deza <adeza>
Status: CLOSED NOTABUG QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: adeza, aschoen, ceph-eng-bugs, nlevine, nthomas, sankarshan, vakulkar, yweinste
Target Milestone: rc   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-installer-1.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-22 15:33:09 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 Ken Dreyer (Red Hat) 2016-03-14 16:34:40 UTC
Description of problem:
After installing and configuring a monitor on a node, when setting up an OSD on the same node, the ansible run does not succeed.

Version-Release number of selected component (if applicable):
ceph-ansible-1.0.1-1.20160309git1a62a81.el7
ceph-installer-1.0.0-1.el7

How reproducible:
Always

Steps to Reproduce:
1. Pick a RHEL node to serve as a Monitor and OSD.
2. POST to /api/mon/install/ and /api/mon/configure/ using this hostname.
3. POST to /api/osd/install/ to install the OSD packages on this same node.
4. POST to /api/osd/configure/ to configure the OSD on this same node.

Actual results:
The /api/osd/configure/ Ansible task fails during the ceph-common tasks.

Expected results:
The Ansible task succeeds.


Additional info:
Separating the monitor and OSD on to different nodes is a workaround.

Comment 1 Andrew Schoen 2016-03-15 16:19:15 UTC
PR for the fix here: https://github.com/ceph/ceph-installer/pull/121

Comment 3 Neil Levine 2016-03-22 18:58:29 UTC
MON and OSDs on the same nodes are not supported with the product so this is a low prio but giving the PM_ack because I am a nice guy.

Comment 4 Mike McCune 2016-03-28 22:11:59 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Ken Dreyer (Red Hat) 2016-04-22 15:33:09 UTC
If this doesn't matter (Comment 3) then we won't bother testing this case, and I'll close the bug.

Note to QE: please ensure that you're not running Mons on the same host as your OSDs :)