Bug 1858620 - New deploy of 16.1 or upgrade from OSP16 to 16.1 fails ceph-ansible validation looking for upstream repository
Summary: New deploy of 16.1 or upgrade from OSP16 to 16.1 fails ceph-ansible validatio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ga
: 16.1 (Train on RHEL 8.2)
Assignee: Francesco Pantano
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-19 15:45 UTC by Leonid Natapov
Modified: 2023-12-15 18:33 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-0.20200616081532.396affd.el8ost
Doc Type: If docs needed, set a value
Doc Text:
With this update, the in-flight validations include the right value for `ceph_ansible_repo` that validates the right source repository for ceph_ansible.
Clone Of:
Environment:
Last Closed: 2020-07-29 07:53:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
validation KO execution (for QA verification) (12.75 MB, text/plain)
2020-07-28 09:18 UTC, Francesco Pantano
no flags Details
validation OK execution (for QA verification) (12.94 MB, text/plain)
2020-07-28 09:21 UTC, Francesco Pantano
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-30840 0 None None None 2023-12-15 18:33:02 UTC
Red Hat Product Errata RHBA-2020:3148 0 None None None 2020-07-29 07:54:24 UTC

Description Leonid Natapov 2020-07-19 15:45:56 UTC
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

Comment 2 Leonid Natapov 2020-07-19 15:46:33 UTC
(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep ceph-ansible
ceph-ansible-4.0.25-1.el8cp.noarch

Comment 17 Francesco Pantano 2020-07-28 09:18:47 UTC
Created attachment 1702628 [details]
validation KO execution (for QA verification)

Comment 18 Francesco Pantano 2020-07-28 09:21:20 UTC
Created attachment 1702629 [details]
validation OK execution (for QA verification)

Comment 22 Yogev Rabl 2020-07-28 12:50:34 UTC
Verified

Comment 23 Yogev Rabl 2020-07-28 12:50:35 UTC
Verified

Comment 25 errata-xmlrpc 2020-07-29 07:53:30 UTC
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


Note You need to log in before you can comment on or make changes to this bug.