Bug 1805733 - Add the right ceph_ansible_repo variable on tripleo-validations
Summary: Add the right ceph_ansible_repo variable on tripleo-validations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z1
: 16.0 (Train on RHEL 8.1)
Assignee: Francesco Pantano
QA Contact: Nathan Weinberg
URL:
Whiteboard:
Depends On:
Blocks: 1805734 1805735
TreeView+ depends on / blocked
 
Reported: 2020-02-21 13:08 UTC by Francesco Pantano
Modified: 2020-03-03 09:45 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-validations-11.3.2-0.20200206065551.1a9b92a.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1805734 (view as bug list)
Environment:
Last Closed: 2020-03-03 09:45:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0655 0 None None None 2020-03-03 09:45:16 UTC

Description Francesco Pantano 2020-02-21 13:08:26 UTC
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:

Comment 1 Sofer Athlan-Guyot 2020-02-21 14:50:53 UTC
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

Comment 8 errata-xmlrpc 2020-03-03 09:45:06 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:0655


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