.Ceph Ansible can now successfully updates and restarts NFS Ganesha container when a custom suffix is used for the container name
Previously, the value set for the `ceph_nfs_service_suffix` variable was not considered when checking the status and version of the Ceph NFS Ganesha (`ceph-nfs`) container for restart or update. Consequently, the `ceph-nfs` container was not updated or restarted because the `ceph-ansible` utility could not determine that the container was running. With this update, `ceph-ansible` uses the value of `ceph_nfs_service_suffix` to determine the status of the `ceph-nfs` container. As a result, `ceph-nfs` container is successfully updated or restarted as expected.
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-2019:3173
The action which gathers status of existing containers in ceph-ansible is failing when the container is managed by pacemaker 2019-09-06 23:32:05,058 p=29950 u=mistral | TASK [ceph-handler : check for a nfs container] ******************************** 2019-09-06 23:32:05,058 p=29950 u=mistral | task path: /usr/share/ceph-ansible/roles/ceph-handler/tasks/check_running_containers.yml:56 2019-09-06 23:32:05,059 p=29950 u=mistral | Friday 06 September 2019 23:32:05 -0400 (0:00:00.219) 0:05:38.596 ****** 2019-09-06 23:32:05,152 p=29950 u=mistral | Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py 2019-09-06 23:32:05,220 p=29950 u=mistral | Escalation succeeded 2019-09-06 23:32:05,396 p=29950 u=mistral | ok: [192.168.81.52] => { "changed": false, "cmd": [ "docker", "ps", "-q", "--filter=name=ceph-nfs-overcloud-controller-0" ], "delta": "0:00:00.030883", "end": "2019-09-06 23:32:05.366332", "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "docker ps -q --filter='name=ceph-nfs-overcloud-controller-0'", "_uses_shell": false, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "warn": true } }, "rc": 0, "start": "2019-09-06 23:32:05.335449", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] } the filter should also consider ceph-nfs-pacemaker to find a match.