I am trying to upgrade OSP16 to OSP16.1 and overcloud-update fails with errors related to ceph-ansible package: 2020-07-16 16:28:31 | TASK [Fail if ceph-ansible doesn't belong to the specified repo] *************** 2020-07-16 16:28:31 | Thursday 16 July 2020 16:28:30 +0000 (0:00:32.128) 0:00:38.862 ********* 2020-07-16 16:28:31 | [WARNING]: conditional statements should not include jinja2 templating 2020-07-16 16:28:31 | delimiters such as {{ }} or {% %}. Found: (repo.stdout | length == 0 or 2020-07-16 16:28:31 | repo.stdout != "{{ ceph_ansible_repo }}") 2020-07-16 16:28:31 | fatal: [undercloud]: FAILED! => {"changed": false, "msg": "Make sure ceph-ansible package is installed from centos-ceph-nautilus or configure the repo name you intend to install it from using the 'CephAnsibleRepo' variable provided by tripleo-heat-templates"} 2020-07-16 16:28:31 | 2020-07-16 16:28:31 | NO MORE HOSTS LEFT ************************************************************* 2020-07-16 16:28:31 | 2020-07-16 16:28:31 | PLAY RECAP ********************************************************************* 2020-07-16 16:28:31 | ceph-0 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-07-16 16:28:31 | compute-0 : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-07-16 16:28:31 | compute-1 : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-07-16 16:28:31 | controller-0 : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-07-16 16:28:31 | controller-1 : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-07-16 16:28:31 | controller-2 : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 2020-07-16 16:28:31 | undercloud : ok=4 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 2020-07-16 16:28:31 | 2020-07-16 16:28:31 | Thursday 16 July 2020 16:28:30 +0000 (0:00:00.079) 0:00:38.941 ********* 2020-07-16 16:28:31 | =============================================================================== 2020-07-16 16:28:31 | 2020-07-16 16:28:31 | Ansible failed, check log at /var/log/containers/mistral/package_update.log. 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun [-] Exception occured while running the command: RuntimeError: Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log. 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun Traceback (most recent call last): 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun super(Command, self).run(parsed_args) 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun return super(Command, self).run(parsed_args) 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun return_code = self.take_action(parsed_args) or 0 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_external_update.py", line 135, in take_action 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun priv_key=key) 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 1245, in run_update_ansible_action 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun verbosity=verbosity, extra_vars=extra_vars) 2020-07-16 16:28:31 | 2020-07-16 16:28:31.608 456442 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/package_update.py", line 127, in update_ansible
(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep ceph-ansible ceph-ansible-4.0.25-1.el8cp.noarch
Created attachment 1702628 [details] validation KO execution (for QA verification)
Created attachment 1702629 [details] validation OK execution (for QA verification)
Verified
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:3148