Bug 1488813 - [ceph-ansible] [ceph-container] : restart ceph mds/rgws task are failing on respective nodes before configuring mdss/rgws
Summary: [ceph-ansible] [ceph-container] : restart ceph mds/rgws task are failing on r...
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
unspecified
medium
Target Milestone: rc
: 3.0
Assignee: Sébastien Han
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-06 09:13 UTC by Vasishta
Modified: 2022-02-21 18:19 UTC (History)
10 users (show)

Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc7.el7cp Ubuntu: ceph-ansible_3.0.0~rc7-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:42:05 UTC
Embargoed:


Attachments (Terms of Use)
File contains contents of inventory file and ansible-playbook log (279.03 KB, text/plain)
2017-09-06 09:13 UTC, Vasishta
no flags Details
File contains contents of inventory file and ansible-playbook log (279.03 KB, text/plain)
2017-09-06 09:24 UTC, Vasishta
no flags Details
File contains contents ansible-playbook log (274.50 KB, text/plain)
2017-09-06 09:57 UTC, Vasishta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1871 0 None None None 2017-09-07 21:37:18 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 Vasishta 2017-09-06 09:13:24 UTC
Created attachment 1322590 [details]
File contains contents of inventory file and ansible-playbook log

Description of problem:
Restart ceph-defaults: retsceph mds task is failing on a node before configuring mdss. ceph-ansible was configured to colocate containerized osds with containerized mdss. While running ceph-defaults handlers after configuring osds, restart ceph mdss task failed as mds was not yet configured on the node. Same task was skipped on other nodes. But it should have skipped on this node also as mds was not yet configured.

Version-Release number of selected component (if applicable):
ceph-ansible-3.0.0-0.1.rc4.el7cp.noarch


Steps to Reproduce:
1. Configure ceph-ansible to get a cluster with osds container colocated with mds.
2. Run ansible-playbook site-docker.yml

Actual results:
RUNNING HANDLER [ceph-defaults : restart ceph mdss] **********************************************************************************************
failed: [magna025 -> magna025] (item=magna025) => {"failed": true, "item": "magna025", "msg": "Could not find the requested service ceph-mds@magna025: host"}


Expected results:
restart ceph mdss must have been skipped before mds is configured

Additional info:
$ cat /etc/ansible/hosts 
--------
[osds]
magna025
-------
[mdss]
magna025

Comment 2 Vasishta 2017-09-06 09:24:46 UTC
Created attachment 1322593 [details]
File contains contents of inventory file and ansible-playbook log

I had copied incorrect inventory file to the attachment, sincere apologies.
Please consider this attachment for ansible-playbook log and inventory file.

Regards,
Vasishta

Comment 3 Vasishta 2017-09-06 09:57:30 UTC
Created attachment 1322600 [details]
File contains contents ansible-playbook log

Same issue was seen with respect to rgw also. Ansible was configured to co-locate an OSD node and RGW node, while running handler ceph-defaults : restart ceph rgws on a node where osd was configured, it failed as RGW was not yet configured on the node.

Regards,
Vasishta

Comment 7 Vasishta 2017-09-12 15:48:09 UTC
Hi Ken,

ceph-ansible-3.0.0-0.1.rc7.el7cp is still not available for QE.
It would be helpful if we can get this version of ceph-ansible soon for testing.

Thanks,
Vasishta

Comment 12 errata-xmlrpc 2017-12-05 23:42:05 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.