Description of problem: ceph-ansible attempts to restart an installed but masked service, in this case firewalld Version-Release number of selected component (if applicable): ceph-ansible.noarch 3.2.0-0.1.rc1.el7cp Steps to Reproduce: # rpm -q firewalld firewalld-0.5.3-5.el7.noarch # systemctl status firewalld ● firewalld.service Loaded: masked (/dev/null; bad) Active: inactive (dead) # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo) # ansible-playbook site.yml 2>&1 | tee -a DeployBS.Nov15 Actual results: TASK [ceph-infra : start firewalld] *************************************** Thursday 15 November 2018 16:39:21 +0000 (0:00:04.326) 0:05:36.271 ** fatal: [c05-h33-6018r]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"} <... Repeated for each Host ...> Expected results: TASK avoids restarting services that are masked Additional info: worked around with these steps: 1) ansible-playbook purge-cluster 2) ansible all -m yum -a "name=firewalld state=absent" 3) ansible-playbook site.yml 2>&1 | tee -a DeployBS.Nov15a
will be in v3.2.0rc4
Tested with ceph-ansible 3.2.0-0.1.rc5.el7cp. Issue is still existing in this build: TASK [ceph-infra : start firewalld] ************************************************************************************************************************************** Thursday 29 November 2018 22:45:16 +0000 (0:00:00.747) 0:00:37.025 ***** fatal: [mero003]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"} fatal: [mero002]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"} fatal: [mero004]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"} fatal: [mero005]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"} fatal: [mero006]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"} fatal: [mero007]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"} fatal: [mero001]: FAILED! => {"changed": false, "msg": "Unable to enable service firewalld: Failed to execute operation: Cannot send after transport endpoint shutdown\n"}
Created attachment 1510000 [details] ansible-playbook full log