Bug 1482897 - The switch-to-containers playbook fails when called from TripleO
Summary: The switch-to-containers playbook fails when called from TripleO
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: 3.0
Assignee: Sébastien Han
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks: 1482452
TreeView+ depends on / blocked
 
Reported: 2017-08-18 10:41 UTC by Giulio Fidente
Modified: 2022-02-21 18:19 UTC (History)
13 users (show)

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:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:39:47 UTC
Embargoed:


Attachments (Terms of Use)
ansible-playbook execution output (16.21 KB, text/plain)
2017-08-18 10:41 UTC, Giulio Fidente
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible issues 1774 0 None None None 2017-08-18 10:41:08 UTC
Github ceph ceph-ansible pull 1788 0 None None None 2017-08-23 14:56:47 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

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


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