b254e04226
In order for logstash indexing to function, logfiles need timestamps This commit "updates the update logs" to be consistent with other logs collected by CI. Note that the timestamper_cmd has an embedded "|" Related Change (upgrade logging): - https://git.openstack.org/cgit/openstack/tripleo-upgrade/commit/?id=baff4a25229b1904e960e426208eca76c96c3ab4 Change-Id: I47b6ff912aa045c266b903fa148b068be653cae2
18 lines
455 B
YAML
18 lines
455 B
YAML
---
|
|
- name: run Ceph minor update
|
|
shell: |
|
|
set -o pipefail
|
|
{{ working_dir }}/ceph-update-run.sh 2>&1 {{ timestamper_cmd }} > \
|
|
{{ working_dir }}/ceph-update-run.log
|
|
ignore_errors: true
|
|
register: ceph_update_status
|
|
|
|
- block:
|
|
- name: print Ceph update failures
|
|
command: tail {{ working_dir }}/ceph-update-run.log
|
|
|
|
- name: fail Ceph update
|
|
fail:
|
|
msg: Ceph minor update failed
|
|
when: ceph_update_status|failed
|