Browse Source

Fix the log path on the host.

The path for the host machine is
/var/log/containers/mistral/package_update.log.

Change-Id: If6d852298f7bef2ed0c2b5ec568138c91818fdaf
(cherry picked from commit ea637a0540)
changes/66/770266/5 rocky-eol
Daniel Bengtsson 2 years ago
committed by Sofer Athlan-Guyot
parent
commit
8349594d76
  1. 4
      workbooks/package_update.yaml

4
workbooks/package_update.yaml

@ -153,7 +153,7 @@ workflows:
on-error: node_update_failed
publish-on-error:
status: FAILED
message: Ansible failed, check log at <% $.work_dir %>/<% execution().id %>/ansible.log.
message: Ansible failed, check log at /var/log/containers/mistral/package_update.log.
publish:
log_path: <% task().result.get('log_path') %>
@ -167,7 +167,7 @@ workflows:
on-success: send_message
publish:
status: FAILED
message: Ansible failed, check log at <% $.get('work_dir') %>/<% execution().id %>/ansible.log.
message: Ansible failed, check log at /var/log/containers/mistral/package_update.log.
send_message:
workflow: tripleo.messaging.v1.send

Loading…
Cancel
Save