Bug 1482897

Summary: The switch-to-containers playbook fails when called from TripleO
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Giulio Fidente <gfidente>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: medium Docs Contact:
Priority: low    
Version: 3.0CC: adeza, anharris, aschoen, ceph-eng-bugs, ceph-qe-bugs, gfidente, gmeno, hnallurv, icolle, mcornea, nthomas, sankarshan, seb
Target Milestone: rcKeywords: Reopened
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc4.el7cp Ubuntu: ceph-ansible_3.0.0~rc4-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:39:47 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:
Bug Depends On:    
Bug Blocks: 1482452    
Attachments:
Description Flags
ansible-playbook execution output none

Description Giulio Fidente 2017-08-18 10:41:09 UTC
Created attachment 1315166 [details]
ansible-playbook execution output

In TripleO we're trying to run two infrastructure playbooks sequentially

    take-over-existing-cluster.yml (which completes successfully)
    switch-from-non-containerized-to-containerized-ceph-daemons.yml

The second fails in [get current ceph fsid] with:

fatal: [192.168.24.7]: FAILED! => {"failed": true, "msg": "'mon_host' is undefined"}

Output from execution attached to report.

Comment 2 seb 2017-08-21 13:51:38 UTC
This is happening because you run a single monitor, this is not a supported scenario. As agreed already we should try with at least 3 mons.

Comment 3 Giulio Fidente 2017-08-23 14:56:48 UTC
Sorry Ian re-opening as this is mainly a tracker for the upstream PR at https://github.com/ceph/ceph-ansible/pull/1788

Some fixes have been merged from https://github.com/ceph/ceph-ansible/issues/1774 but these are not enough for successful completion of the migration.

Comment 4 seb 2017-08-24 09:45:41 UTC
Please update the BZ to reflect the enhancements from https://github.com/ceph/ceph-ansible/pull/1788/

Comment 12 errata-xmlrpc 2017-12-05 23:39:47 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:3387