Bug 1482061
| Summary: | [ceph-ansible] [ceph-container] : restart osds daemon task should be skipped for non osd node during cluster deployment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vasishta <vashastr> | ||||
| Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.0 | CC: | adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, icolle, nthomas, sankarshan, seb | ||||
| Target Milestone: | rc | ||||||
| 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: | |||||||
| Attachments: |
|
||||||
Do you mind testing the branch I just uploaded? Thanks! Hi Sebastien,
Tried with fix-restart-osd-container branch, still facing same issue.
RUNNING HANDLER [ceph-defaults : restart containerized ceph osds daemon(s)] ***************************************************************************************************************************************
fatal: [magna012.ceph.redhat.com]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'results'"}
# git branch
* fix-restart-osd-container
master
# rpm -qa |grep ansible
ansible-2.3.1.0-3.el7.noarch
Regards,
Vasishta
Alright, the new PR should fix this, please test :) Hum what's your ansible version? Downstream - ansible-2.3.1.0-3.el7.noarch Please set: ceph_stable_release to luminous. So: "ceph_stable_release: luminous". Thanks. I'm preparing a fix. fyi fix is here: https://bugzilla.redhat.com/show_bug.cgi?id=1486062 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 |
Created attachment 1314081 [details] File contains contents of inventory file, all.yml, mons.yml, osds.yml and ansible-playbook log Description of problem: Restart containerized ceph osds daemon task is failing on non-osd node during initial cluster deployment. Version-Release number of selected component (if applicable): ceph-ansible-3.0.0-0.1.rc3.el7cp.noarch How reproducible: Always (2/2) Steps to Reproduce: Configure configure ceph-ansible/group_vars file to deploy containerized ceph cluster Actual results: RUNNING HANDLER [ceph-defaults : restart containerized ceph osds daemon(s)] *************************************************************************************************************************************** fatal: [magna012]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'results'"} Expected results: Restart containerized ceph osds daemon task should be skipped