Bug 1332234 - [ceph-ansible] : Installation is failing if OSDs are Directory.
Summary: [ceph-ansible] : Installation is failing if OSDs are Directory.
Keywords:
Status: CLOSED DUPLICATE of bug 1323131
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 2.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 2.0
Assignee: Christina Meno
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 15:01 UTC by Rachana Patel
Modified: 2017-12-13 00:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-04 21:04:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2016-05-02 15:01:36 UTC
Description of problem:
=======================
Choose directory instead of disk for OSDs in osds file. Installation fails 'start and add that the OSD service to the init sequence' task .


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


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


Steps to Reproduce:
==================
1. perform pre flight checkin on all nodes
2.choose directory instead of disk for OSDs in osds file.
3. install ceph by executing below command
ansible-playbook site.yml -vv -i  /etc/ansible/hosts  --extra-vars '{"ceph_stable": true, "ceph_origin": "distro", "ceph_stable_rh_storage": true, "monitor_interface": "eno1",  "journal_size": 100, "public_network": "10.8.128.0/21"}' -u root

Actual results:
===============

TASK: [ceph-osd | start and add that the OSD service to the init sequence] **** 
fatal: [magna063] => error while evaluating conditional: ansible_service_mgr != "systemd"
fatal: [magna067] => error while evaluating conditional: ansible_service_mgr != "systemd"
fatal: [magna066] => error while evaluating conditional: ansible_service_mgr != "systemd"

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/root/site.retry

magna051                   : ok=68   changed=11   unreachable=0    failed=0   
magna063                   : ok=96   changed=10   unreachable=1    failed=0   
magna066                   : ok=96   changed=10   unreachable=1    failed=0   
magna067                   : ok=96   changed=10   unreachable=1    failed=0   


---> all osds are down

Expected results:
=================
1. It should start osds.
2. Ansible should not show unreachable in node summry when all nodes where reachable


Additional info:
================

Comment 3 Christina Meno 2016-05-04 21:04:12 UTC

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


Note You need to log in before you can comment on or make changes to this bug.