Bug 1324229

Summary: [ceph-ansible] : ceph-ansible also installs OSD packages on MON node and MON package on OSD node
Product: Red Hat Ceph Storage Reporter: Rachana Patel <racpatel>
Component: Ceph-InstallerAssignee: Christina Meno <gmeno>
Status: CLOSED DUPLICATE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: adeza, aschoen, ceph-eng-bugs, kdreyer, nthomas, sankarshan
Target Milestone: rc   
Target Release: 2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 21:41:01 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 Rachana Patel 2016-04-05 21:25:45 UTC
Description of problem:
=======================
ceph-ansible should install package as per node role but it's installing MON packages on OSD node and OSD packages on MON node.



Version-Release number of selected component (if applicable):
=============================================================
ceph - 10.1.0-1.el7cp.x86_64
ceph-ansible-1.0.3-1.el7.noarch


How reproducible
================
always


Steps to Reproduce:
===================
1.create cluster having multiple mon and osd node and make sure osd nodes and mon nodes are different.
[mons]
magna042
magna051
magna063

[osds]
magna066
magna067
magna074

[rgws]
magna084

2. run 'rpm -qa | grep ceph' on each node


Actual results:
===============
MON node:-

[root@magna063 yum.repos.d]# rpm -qa | grep ceph
ceph-mds-10.1.0-1.el7cp.x86_64
ceph-common-10.1.0-1.el7cp.x86_64
ceph-osd-10.1.0-1.el7cp.x86_64
python-cephfs-10.1.0-1.el7cp.x86_64
ceph-base-10.1.0-1.el7cp.x86_64
ceph-10.1.0-1.el7cp.x86_64
libcephfs1-10.1.0-1.el7cp.x86_64
mod_fastcgi-2.4.7-1.ceph.el7.x86_64
iozone-3.424-2_ceph.el7.x86_64
ceph-selinux-10.1.0-1.el7cp.x86_64
ceph-mon-10.1.0-1.el7cp.x86_64



OSD node:-
[root@magna074 yum.repos.d]# rpm -qa | grep ceph
ceph-mds-10.1.0-1.el7cp.x86_64
ceph-common-10.1.0-1.el7cp.x86_64
ceph-osd-10.1.0-1.el7cp.x86_64
python-cephfs-10.1.0-1.el7cp.x86_64
ceph-base-10.1.0-1.el7cp.x86_64
ceph-10.1.0-1.el7cp.x86_64
libcephfs1-10.1.0-1.el7cp.x86_64
mod_fastcgi-2.4.7-1.ceph.el7.x86_64
iozone-3.424-2_ceph.el7.x86_64
ceph-selinux-10.1.0-1.el7cp.x86_64
ceph-mon-10.1.0-1.el7cp.x86_64



Expected results:
==================
MON node should not have OSD package and OSD node should not have MON packages



Additional info:

Comment 2 Ken Dreyer (Red Hat) 2016-04-21 22:24:55 UTC
This is very similar to the issue described in bug 1322774. In fact, it might be a duplicate.

Comment 3 Christina Meno 2016-04-25 21:41:01 UTC

*** This bug has been marked as a duplicate of bug 1322774 ***