Bug 1858620
| Summary: | New deploy of 16.1 or upgrade from OSP16 to 16.1 fails ceph-ansible validation looking for upstream repository | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Leonid Natapov <lnatapov> | ||||||
| Component: | openstack-tripleo-heat-templates | Assignee: | Francesco Pantano <fpantano> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 16.1 (Train) | CC: | amcleod, fpantano, gcharot, gfidente, johfulto, mburns, nweinber, yrabl | ||||||
| Target Milestone: | ga | Keywords: | Triaged | ||||||
| Target Release: | 16.1 (Train on RHEL 8.2) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| 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.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-07-29 07:53:30 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
(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 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 |
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