Browse Source

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
(cherry picked from commit 76d3ccc445)
changes/20/681020/1
James Slagle 3 weeks ago
parent
commit
02f8c7aece

+ 8
- 0
releasenotes/notes/use_trash_output_in_create_admin_via_ssh-dc9cae99934e1fbe.yaml View File

@@ -0,0 +1,8 @@
1
+---
2
+fixes:
3
+  - When deploying a large amount of nodes, the create_admin_via_ssh workflow
4
+    could fail due to the large amount of ansible output generated.  This patch
5
+    updates the tripleo.ansible-playbook action in the workflow with
6
+    trash_output:true so that the output is not saved in the mistral DB.  There
7
+    is a log file saved already in case the output is needed for debug
8
+    purposes.

+ 1
- 0
workbooks/access.yaml View File

@@ -163,6 +163,7 @@ workflows:
163 163
       write_tmp_playbook:
164 164
         action: tripleo.ansible-playbook
165 165
         input:
166
+          trash_output: true
166 167
           inventory:
167 168
             overcloud:
168 169
               hosts: <% $.ssh_servers.toDict($, {}) %>

Loading…
Cancel
Save