Bug 1642177 - Ansible failed to find handler: "ERROR! The requested handler 'restart ceph mons' was not found in either the main handlers list nor in the listening handlers list"
Summary: Ansible failed to find handler: "ERROR! The requested handler 'restart ceph m...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 3.*
Assignee: Guillaume Abrioux
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1641792
TreeView+ depends on / blocked
 
Reported: 2018-10-23 21:32 UTC by Tiffany Nguyen
Modified: 2022-02-21 18:05 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-15 16:25:23 UTC
Embargoed:


Attachments (Terms of Use)
ansible-playbook full log (794.42 KB, text/plain)
2018-10-23 21:32 UTC, Tiffany Nguyen
no flags Details
rc1 run log (114.45 KB, text/plain)
2018-11-13 21:44 UTC, John Harrigan
no flags Details

Description Tiffany Nguyen 2018-10-23 21:32:14 UTC
Created attachment 1496833 [details]
ansible-playbook full log

Description of problem:
When running ansible-playbook, this error below is seen: 
"ERROR! The requested handler 'restart ceph mons' was not found in either the main handlers list nor in the listening handlers list".
This issue is seen while upgrade from 12.2.5-42.el7cp to 12.2.8-19.el7cp.

Version-Release number of selected component (if applicable):
* Ansible version: 2.6.5-1.el7ae
* Ceph ansible: 3.2.0-0.1.beta3.el7cp
* OS: RH7.5

How reproducible:
Run ansible-playbook to deploy ceph.

Actual results:
Error is seen: "ERROR! The requested handler 'restart ceph mons' was not found in either the main handlers list nor in the listening handlers list"

Expected results:
ansible-playbook should complete successfully without any error.

Comment 3 Sébastien Han 2018-10-23 21:46:26 UTC
Present in v3.2.0beta4, please upgrade.

Comment 4 John Harrigan 2018-11-13 21:40:12 UTC
Reopening this BZ
I just observed it on a cluster which was upgraded to RHCS 3.2 rc build

VERSIONS:
[root@c04-h33-6018r ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
# uname -a
Linux c04-h33-6018r.rdu.openstack.engineering.redhat.com 3.10.0-862.14.4.el7.x86_64 #1 SMP Fri Sep 21 09:07:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# ansible --version
ansible 2.6.7
# yum list ceph-ansible
ceph-ansible.noarch         3.2.0-0.1.rc1.el7cp 

REPO SETTINGS:
group_vars/all.yml
ceph_origin: distro
ceph_repository: rhcs
ceph_stable: true
ceph_stable_release: luminous
ceph_stable_rh_storage: true
upgrade_ceph_packages: True
ceph_rhcs_version: 3

RESULT:
# ansible-playbook site.yml 2>&1 | tee -a DeployBS.Nov13b
<..SNIP..>
TASK [ceph-config : generate ceph configuration file: ceph.conf] ***************
Tuesday 13 November 2018  21:34:40 +0000 (0:00:01.640)       0:10:56.636 ****** 
ERROR! The requested handler 'restart ceph mons' was not found in either the main handlers list nor in the listening handlers list

The logfile is attached

Comment 5 John Harrigan 2018-11-13 21:44:52 UTC
Created attachment 1505448 [details]
rc1 run log

Existing cluster was purged and then attempted to redeploy


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