Description of problem: Deploying containerized mons fail with: TASK [ceph-mon : add mgr keys to config and keys paths] ************************ task path: /home/jenkins-build/build/workspace/ceph-docker-nightly-ceph_ansible2.2-jewel-centos7-cluster/ceph-ansible/roles/ceph-mon/tasks/docker/fetch_configs.yml:13 fatal: [mon0]: FAILED! => { "failed": true } MSG: 'dict object' has no attribute u'mgrs' Version-Release number of selected component (if applicable): stable-2-2 branch of ceph-ansible How reproducible: always Steps to Reproduce: 1. deploy a ceph cluster using containerized daemons 2. the first mon will fail because it tries to fetch nonexistent ceph-mgr keys Actual results: containerized mon deployment fails Expected results: containerized mon deployment succeeds Additional info: This has been reproduced consistently with our upstream ceph-docker nightly tests. For example: https://jenkins.ceph.com/view/ceph-docker/job/ceph-docker-nightly-ceph_ansible2.2-jewel-centos7-cluster/9/console
upstream PR https://github.com/ceph/ceph-ansible/pull/1567
upstream PR merged to stable-2.2
I've realized that this only occurs with our nightly ceph-docker tests and not with ceph-ansible PR testing, QE also did not see this bug in testing. The difference is that our ceph-docker nightly tests were testing with ansible==2.2.0 which exposes this bug. Changing that ansible version to 2.2.3 avoids the issue I've reported here. The change that https://github.com/ceph/ceph-ansible/pull/1567 brought in should not affect any functionality when using ansible 2.2.3. My PR to update the ansible version used by ceph-docker tests is here: https://github.com/ceph/ceph-docker/pull/653 Closing this as NOTABUG