Bug 1441954

Summary: [ceph-ansible]: ansible trying to install OSD and MDS on wrong nodes.
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Ramakrishnan Periyasamy <rperiyas>
Component: ceph-ansibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Ramakrishnan Periyasamy <rperiyas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, rperiyas, sankarshan, seb, tchandra
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-2.2.1-1.el7scon Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-19 13:17:02 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:
Embargoed:

Description Ramakrishnan Periyasamy 2017-04-13 07:54:49 UTC
Description of problem:
Ceph-ansible is tyring to install OSD and MDS packages on wrong nodes.

Logs and machine details will be provided in next comment section.

Version-Release number of selected component (if applicable):
ansible-2.2.2.0-1.el7.noarch
ceph-ansible-2.2.0-1.el7scon.noarch

How reproducible:
2/2

Steps to Reproduce:
1. Follow 2.0 RHEL installation document 

Actual results:
Cluster installation failing

Expected results:
Cluster should be configured successfully

Additional info:
OSD, MDS packages are trying to get installed in mon section machines(/etc/ansible/hosts file), apart from MON repos no other repos are enabled and ansible is failing.

Comment 5 Andrew Schoen 2017-04-13 12:18:55 UTC
I believe this should be fixed with the following upstream PR: https://github.com/ceph/ceph-ansible/pull/1439

Specifically this commit: https://github.com/ceph/ceph-ansible/pull/1439/commits/37d38b122bde02efc1bde0d61ceeee3999ebb7ff

ceph-ansible is incorrectly including the upstream 'install_on_redhat.yml' task.

Comment 6 Andrew Schoen 2017-04-13 12:28:53 UTC
Ramakrishnan,

Could you please include what you have defined in your group_vars/*.yml files?

Thanks,
Andrew

Comment 7 Andrew Schoen 2017-04-13 20:05:16 UTC
Backported to the stable-2.2 branch here: https://github.com/ceph/ceph-ansible/pull/1450

Comment 9 seb 2017-04-18 22:16:23 UTC
What's the status of this one? Is it fix with the last resync?

Comment 10 Ken Dreyer (Red Hat) 2017-04-19 01:04:11 UTC
seb this was backported to stable-2.2 in PR #1450, but it is not in any tagged version, so I have not built it in Brew, and the downstream QE team does not have it for testing.

Would you please tag v2.2.1 on the stable-2.2 branch with this change?

Comment 15 Tejas 2017-05-05 04:50:35 UTC
Verified on version ceph-ansible-2.2.4-1.el7scon.noarch
Installation works fine.

Moving to verified.

Comment 17 errata-xmlrpc 2017-06-19 13:17:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1496