Bug 1328561

Summary: [ceph-ansible] : PREREQUISITES like adding port to firewall service or starting ntp service should be part of ansible.
Product: Red Hat Ceph Storage Reporter: Rachana Patel <racpatel>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED WONTFIX QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.0CC: adeza, anharris, aschoen, ceph-eng-bugs, flucifre, gmeno, hnallurv, nthomas, racpatel, sankarshan, seb, uboppana
Target Milestone: rc   
Target Release: 3.*   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-13 13:42:28 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-19 16:51:59 UTC
Description of problem:
======================= 
Ansible scripts should take care of prerequisites(preparing cluster nodes for setup)except creating ansible user and passwordless ssh

Version-Release number of selected component (if applicable):
=============================================================
ceph-ansible-1.0.5-3.el7.noarch


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


Steps to Reproduce:
===================
1. do not perform any pre flight checkin steps/PREREQUISITES on cluster node.(except creating Ansible user and passwordless SSH)
e.g. firewall service should be disabled or remove ntp if present
2. update value of mandatory config variable and run ansible to setup cluster
3. Installation completes without error

PLAY RECAP ******************************************************************** 
magna044                   : ok=68   changed=10   unreachable=0    failed=0   
magna063                   : ok=68   changed=10   unreachable=0    failed=0   
magna067                   : ok=139  changed=9    unreachable=0    failed=0   
magna074                   : ok=139  changed=9    unreachable=0    failed=0   
magna084                   : ok=139  changed=9    unreachable=0    failed=0   

4. check firewall/ntp service (also check other  PREREQUISITES for creating ceph cluster.


Actual results:
===============
 ceph-anisble is not taking care of all  prerequisites.
e.g.firewall/ntp service is in disable state after installation


Expected results:
=================
ceph-ansible should prepare all node for cluster creation.

Additional info:

Comment 2 Alfredo Deza 2016-04-19 17:12:10 UTC
For step #4 there is already something in ceph-ansible but requires nmap to be installed.

This is optional so it is not installed as a requirement.

Comment 4 Alfredo Deza 2017-01-05 14:06:18 UTC
@Rachana, can you list what other "PREREQUISITES" you would need here?

Comment 5 Ian Colle 2017-08-01 23:36:23 UTC
Please list what other PREREQUISITES you need.

Moving to 3.y since requirements are clearly defined.

Comment 6 Ian Colle 2017-08-01 23:37:03 UTC
s/are/aren't