)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9712,"name":"Dougal Matthews","email":"dougal.matthews@canonical.com","username":"dougal"},"change_message_id":"592ed3f3d92b68255701c67097f175790118be1b","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Brad P. Crochet \u003cbrad@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-05-08 09:20:57 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add a \u0027trash_output\u0027 flag to ansible playbook action"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Sometimes, the output is REALLY big. It ends up throwing an error in"},{"line_number":10,"context_line":"MySQL trying to write to the output of the ActionExecution to the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5f7c97a3_d64b7e28","line":7,"range":{"start_line":7,"start_character":7,"end_line":7,"end_character":12},"updated":"2018-05-09 09:09:32.000000000","message":"I first read this as \"thrash_output\"...","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"},{"author":{"_account_id":9712,"name":"Dougal Matthews","email":"dougal.matthews@canonical.com","username":"dougal"},"change_message_id":"592ed3f3d92b68255701c67097f175790118be1b","unresolved":false,"context_lines":[{"line_number":11,"context_line":"database. Since we\u0027re passing the output back via zaqar, we can"},{"line_number":12,"context_line":"just throw this away."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"The trash_output flag defaults to false, to maintain the original"},{"line_number":15,"context_line":"behavior."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: Id13c7cf52b306891d780243b2562c8ca305aa365"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5f7c97a3_76c06a51","line":14,"range":{"start_line":14,"start_character":4,"end_line":14,"end_character":16},"updated":"2018-05-09 09:09:32.000000000","message":"I would have probably went for discard_output or suppress_output. (However, that is probably just me and likely because we don\u0027t use trash often in UK English.)","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"}],"tripleo_common/actions/ansible.py":[{"author":{"_account_id":9712,"name":"Dougal Matthews","email":"dougal.matthews@canonical.com","username":"dougal"},"change_message_id":"592ed3f3d92b68255701c67097f175790118be1b","unresolved":false,"context_lines":[{"line_number":267,"context_line":"            \u0027work_dir\u0027, None)"},{"line_number":268,"context_line":"        self.max_message_size \u003d self._kwargs_for_run.pop("},{"line_number":269,"context_line":"            \u0027max_message_size\u0027, 1048576)"},{"line_number":270,"context_line":"        self.gather_facts \u003d self._kwargs_for_run.pop(\u0027gather_facts\u0027, False)"},{"line_number":271,"context_line":"        self.trash_output \u003d self._kwargs_for_run.pop(\u0027trash_output\u0027, False)"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_f6cb1a6f","line":270,"updated":"2018-05-09 09:09:32.000000000","message":"Not sure where this came from? Bad rebase?","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"},{"author":{"_account_id":7065,"name":"Brad P. Crochet","email":"brad@redhat.com","username":"bcrochet"},"change_message_id":"ea31dde7042ac2adfef9dc907547b68c75e167b8","unresolved":false,"context_lines":[{"line_number":267,"context_line":"            \u0027work_dir\u0027, None)"},{"line_number":268,"context_line":"        self.max_message_size \u003d self._kwargs_for_run.pop("},{"line_number":269,"context_line":"            \u0027max_message_size\u0027, 1048576)"},{"line_number":270,"context_line":"        self.gather_facts \u003d self._kwargs_for_run.pop(\u0027gather_facts\u0027, False)"},{"line_number":271,"context_line":"        self.trash_output \u003d self._kwargs_for_run.pop(\u0027trash_output\u0027, False)"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_0371b1e0","line":270,"in_reply_to":"5f7c97a3_f6cb1a6f","updated":"2018-05-09 12:23:37.000000000","message":"Must have been from the cherry-pick.","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"},{"author":{"_account_id":9712,"name":"Dougal Matthews","email":"dougal.matthews@canonical.com","username":"dougal"},"change_message_id":"592ed3f3d92b68255701c67097f175790118be1b","unresolved":false,"context_lines":[{"line_number":501,"context_line":"                # to determine if there was an error."},{"line_number":502,"context_line":"                if self.trash_output:"},{"line_number":503,"context_line":"                    stdout \u003d []"},{"line_number":504,"context_line":"                    stderr \u003d \"\""},{"line_number":505,"context_line":"                return {\"stdout\": \"\".join(stdout), \"returncode\": returncode,"},{"line_number":506,"context_line":"                        \"stderr\": \"\"}"},{"line_number":507,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_16101601","line":504,"updated":"2018-05-09 09:09:32.000000000","message":"This isn\u0027t used.","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"},{"author":{"_account_id":7065,"name":"Brad P. Crochet","email":"brad@redhat.com","username":"bcrochet"},"change_message_id":"ea31dde7042ac2adfef9dc907547b68c75e167b8","unresolved":false,"context_lines":[{"line_number":501,"context_line":"                # to determine if there was an error."},{"line_number":502,"context_line":"                if self.trash_output:"},{"line_number":503,"context_line":"                    stdout \u003d []"},{"line_number":504,"context_line":"                    stderr \u003d \"\""},{"line_number":505,"context_line":"                return {\"stdout\": \"\".join(stdout), \"returncode\": returncode,"},{"line_number":506,"context_line":"                        \"stderr\": \"\"}"},{"line_number":507,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_234dcd99","line":504,"in_reply_to":"5f7c97a3_16101601","updated":"2018-05-09 12:23:37.000000000","message":"True. We can fix that forward. This is the backport, after all.","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"},{"author":{"_account_id":9712,"name":"Dougal Matthews","email":"dougal.matthews@canonical.com","username":"dougal"},"change_message_id":"592ed3f3d92b68255701c67097f175790118be1b","unresolved":false,"context_lines":[{"line_number":509,"context_line":"                *command, cwd\u003dself.work_dir,"},{"line_number":510,"context_line":"                env_variables\u003denv_variables,"},{"line_number":511,"context_line":"                log_errors\u003dprocessutils.LogErrors.ALL)"},{"line_number":512,"context_line":"            return {\"stderr\": stderr, \"stdout\": stdout,"},{"line_number":513,"context_line":"                    \"log_path\": os.path.join(self.work_dir, \u0027ansible.log\u0027)}"},{"line_number":514,"context_line":"        finally:"},{"line_number":515,"context_line":"            # NOTE(flaper87): clean the mess if debug is disabled."}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_562f6e3e","line":512,"range":{"start_line":512,"start_character":20,"end_line":512,"end_character":54},"updated":"2018-05-09 09:09:32.000000000","message":"If the output is ever this large and we don\u0027t use Zaqar then I guess we will fail here. Any idea how we can handle that? Can we just save the last X characters?","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"},{"author":{"_account_id":7065,"name":"Brad P. Crochet","email":"brad@redhat.com","username":"bcrochet"},"change_message_id":"ea31dde7042ac2adfef9dc907547b68c75e167b8","unresolved":false,"context_lines":[{"line_number":509,"context_line":"                *command, cwd\u003dself.work_dir,"},{"line_number":510,"context_line":"                env_variables\u003denv_variables,"},{"line_number":511,"context_line":"                log_errors\u003dprocessutils.LogErrors.ALL)"},{"line_number":512,"context_line":"            return {\"stderr\": stderr, \"stdout\": stdout,"},{"line_number":513,"context_line":"                    \"log_path\": os.path.join(self.work_dir, \u0027ansible.log\u0027)}"},{"line_number":514,"context_line":"        finally:"},{"line_number":515,"context_line":"            # NOTE(flaper87): clean the mess if debug is disabled."}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_2332ad11","line":512,"range":{"start_line":512,"start_character":20,"end_line":512,"end_character":54},"in_reply_to":"5f7c97a3_562f6e3e","updated":"2018-05-09 12:23:37.000000000","message":"No doubt this might need a refactor in the future. slagle even posted a patch that just throws away the stdout and stderr. But yeah... It would just fail like it did before. If we want to change any of that, it should be in master, not here.","commit_id":"0525bd12efd0a2b657d16492b3b2f5b3cc36d5db"}]}
