261732aa18
Follows the same linting configuration that was implemented first in
tripleo-quickstart-extras which makes used of pre-commit tool for
managing all linters.
This also avoids problems where a new linter release may break our
gates because pre-commit always pins versions.
Removes ansible from requirements.txt as it needs to be listed only
in ansible-requirements.txt
Change-Id: Ia229d3d58763d743bd19ad9099d7907561f3c77f
Depends-On: https://review.openstack.org/#/c/627186/
(cherry picked from commit 8ac74a8177
)
29 lines
965 B
YAML
29 lines
965 B
YAML
---
|
|
- name: run ffu converge step
|
|
shell: |
|
|
source {{ undercloud_rc }}
|
|
{{ working_dir }}/ffu_upgrade_converge_script.sh 2>&1 {{ timestamper_cmd }} > \
|
|
{{ working_dir }}/ffu_upgrade_converge.log
|
|
register: ffu_converge
|
|
ignore_errors: true
|
|
|
|
- name: print stack failures
|
|
shell: |
|
|
set -o pipefail
|
|
source {{ undercloud_rc }}
|
|
openstack stack failures list --long {{ overcloud_stack_name }} 2>&1 {{ timestamper_cmd }} | \
|
|
tee {{ working_dir}}/ffu_upgrade_converge_failed.log
|
|
when: ffu_converge|failed
|
|
|
|
- name: print resource list
|
|
shell: |
|
|
set -o pipefail
|
|
source {{ undercloud_rc }}
|
|
openstack stack resource list --filter status=FAILED --nested-depth 5 {{ overcloud_stack_name }} \
|
|
2>&1 {{ timestamper_cmd }} | tee {{ working_dir}}/ffu_upgrade_converge_failed_resources.log
|
|
when: ffu_converge|failed
|
|
|
|
- name: was the ffu converge successful.
|
|
fail: msg="FFU converge step failed... :("
|
|
when: ffu_converge|failed
|