Description of problem: We need to fix the downstream ceph_ansible_repo variable to make sure the current OSP version uses the right c-a version from the right repo. If the repo is wrong, the validation let the overcloud deployment fail. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Hi, so this is what is currently happening in CI when we update to the last puddle: 2020-02-20 19:53:08 | TASK [ceph : Fail if ceph-ansible doesn't belong to the specified repo] ******** 2020-02-20 19:53:08 | Thursday 20 February 2020 19:53:07 +0000 (0:00:20.724) 0:00:27.502 ***** 2020-02-20 19:53:08 | [WARNING]: conditional statements should not include jinja2 templating 2020-02-20 19:53:08 | delimiters such as {{ }} or {% %}. Found: (repo.stdout | length == 0 or 2020-02-20 19:53:08 | repo.stdout != "{{ ceph_ansible_repo }}") 2020-02-20 19:53:08 | fatal: [undercloud]: FAILED! => {"changed": false, "msg": "Make sure ceph-ansible package is installed from centos-ceph-nautilus"} 2020-02-20 19:53:08 | 2020-02-20 19:53:08 | NO MORE HOSTS LEFT ************************************************************* 2020-02-20 19:53:08 | 2020-02-20 19:53:08 | PLAY RECAP ********************************************************************* 2020-02-20 19:53:08 | ceph-0 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | ceph-1 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | ceph-2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | compute-0 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | compute-1 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | controller-0 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | controller-1 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | controller-2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-02-20 19:53:08 | undercloud : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 2020-02-20 19:53:08 | 2020-02-20 19:53:08 | Thursday 20 February 2020 19:53:07 +0000 (0:00:00.064) 0:00:27.566 ***** 2020-02-20 19:53:08 | =============================================================================== 2020-02-20 19:53:08 | 2020-02-20 19:53:08 | Ansible failed, check log at /var/lib/mistral/b7107d44-78c9-4262-a76f-b9e8c4340533/ansible.log. 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun [-] Exception occured while running the command: RuntimeError: Update failed with: Ansible failed, check log at /var/lib/mistral/b7107d44-78c9-4262-a76f-b9e8c4340533/ansible.log. 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun Traceback (most recent call last): 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun super(Command, self).run(parsed_args) 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun return super(Command, self).run(parsed_args) 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun return_code = self.take_action(parsed_args) or 0 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_external_update.py", line 125, in take_action 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun priv_key=key) 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 1191, in run_update_ansible_action 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun verbosity=verbosity, extra_vars=extra_vars) 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/package_update.py", line 127, in update_ansible 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun raise RuntimeError('Update failed with: {}'.format(payload['message'])) 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun RuntimeError: Update failed with: Ansible failed, check log at /var/lib/mistral/b7107d44-78c9-4262-a76f-b9e8c4340533/ansible.log. 2020-02-20 19:53:08 | 2020-02-20 19:53:08.408 290848 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun 2020-02-20 19:53:08 | 2020-02-20 19:53:08.413 290848 ERROR openstack [-] Update failed with: Ansible failed, check log at /var/lib/mistral/b7107d44-78c9-4262-a76f-b9e8c4340533/ansible.log.: RuntimeError: Update failed with: Ansible failed, check log at /var/lib/mistral/b7107d44-78c9-4262-a76f-b9e8c4340533/ansible.log. 2020-02-20 19:53:08 | 2020-02-20 19:53:08.413 290848 INFO osc_lib.shell [-] END return value: 1
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-2020:0655