From 76d3ccc4457a3c23d5637951b5d26824bc26247e Mon Sep 17 00:00:00 2001 From: James Slagle Date: Fri, 30 Aug 2019 12:18:56 -0400 Subject: [PATCH] Use trash_output in create_admin_via_ssh workflow When deploying a large amount of nodes, the create_admin_via_ssh workflow could fail due to the large amount of ansible output generated. This patch updates the tripleo.ansible-playbook action in the workflow with trash_output:true so that the output is not saved in the mistral DB. There is a log file saved already in case the output is needed for debug purposes. Change-Id: I078b22fb0a0e7116f87419b444b8b4039db73ef8 Closes-Bug: #1842102 --- ...h_output_in_create_admin_via_ssh-dc9cae99934e1fbe.yaml | 8 ++++++++ workbooks/access.yaml | 1 + 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/use_trash_output_in_create_admin_via_ssh-dc9cae99934e1fbe.yaml diff --git a/releasenotes/notes/use_trash_output_in_create_admin_via_ssh-dc9cae99934e1fbe.yaml b/releasenotes/notes/use_trash_output_in_create_admin_via_ssh-dc9cae99934e1fbe.yaml new file mode 100644 index 000000000..80a62ffb8 --- /dev/null +++ b/releasenotes/notes/use_trash_output_in_create_admin_via_ssh-dc9cae99934e1fbe.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - When deploying a large amount of nodes, the create_admin_via_ssh workflow + could fail due to the large amount of ansible output generated. This patch + updates the tripleo.ansible-playbook action in the workflow with + trash_output:true so that the output is not saved in the mistral DB. There + is a log file saved already in case the output is needed for debug + purposes. diff --git a/workbooks/access.yaml b/workbooks/access.yaml index b48ac0aad..c4addc503 100644 --- a/workbooks/access.yaml +++ b/workbooks/access.yaml @@ -163,6 +163,7 @@ workflows: write_tmp_playbook: action: tripleo.ansible-playbook input: + trash_output: true inventory: overcloud: hosts: <% $.ssh_servers.toDict($, {}) %>