)]}'
{"workbooks/validations.yaml":[{"author":{"_account_id":26343,"name":"Jose Luis Franco","email":"jfrancoa@redhat.com","username":"jfrancoa"},"change_message_id":"742ce49e22570ec19ba44c32468f0594cb41b06b","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        on-complete: send_message"},{"line_number":44,"context_line":"        publish:"},{"line_number":45,"context_line":"          status: FAILED"},{"line_number":46,"context_line":"          stdout: \u003c% task(run_validation).result.stdout %\u003e"},{"line_number":47,"context_line":"          stderr: \u003c% task(run_validation).result.stderr %\u003e"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"      send_message:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5f7c97a3_098cfe32","line":46,"updated":"2018-07-09 17:44:31.000000000","message":"we need to publish validation name here to, or it wont appear","commit_id":"a2dc388c17f32fb1643524c4e1021b4289ad6985"},{"author":{"_account_id":20775,"name":"Carlos Camacho","email":"ccamacho@redhat.com","username":"ccamacho"},"change_message_id":"cd8731bf5ed58861ff89f8c73142d0d806f56376","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        on-complete: send_message"},{"line_number":44,"context_line":"        publish:"},{"line_number":45,"context_line":"          status: FAILED"},{"line_number":46,"context_line":"          stdout: \u003c% task(run_validation).result.stdout %\u003e"},{"line_number":47,"context_line":"          stderr: \u003c% task(run_validation).result.stderr %\u003e"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"      send_message:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5f7c97a3_ce611eaa","line":46,"in_reply_to":"5f7c97a3_098cfe32","updated":"2018-07-10 06:54:17.000000000","message":"Why do you need to publish a variable if you are not using it?","commit_id":"a2dc388c17f32fb1643524c4e1021b4289ad6985"},{"author":{"_account_id":26343,"name":"Jose Luis Franco","email":"jfrancoa@redhat.com","username":"jfrancoa"},"change_message_id":"3cca961b3e13f05bbcee0b3dd79dc05b49e8e5ce","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        on-complete: send_message"},{"line_number":44,"context_line":"        publish:"},{"line_number":45,"context_line":"          status: FAILED"},{"line_number":46,"context_line":"          stdout: \u003c% task(run_validation).result.stdout %\u003e"},{"line_number":47,"context_line":"          stderr: \u003c% task(run_validation).result.stderr %\u003e"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"      send_message:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5f7c97a3_ce2cbe02","line":46,"in_reply_to":"5f7c97a3_ce611eaa","updated":"2018-07-10 07:09:52.000000000","message":"It\u0027s mainly for troubleshooting purposes, otherwise you won\u0027t know which validation failed within the group, as you get in the run_groups and run_validation the following output:\n\n    \"output\": [\n        {\n            \"status\": \"FAILED\", \n            \"result\": \"Failure caused by error in tasks: send_message\\n\\n  send_message [task_ex_id\u003dabe28a07-967f-457e-ac03-b6a7d9fb0d8e] -\u003e Workflow failed due to message status\\n    [wf_ex_id\u003dd7917172-824d-41f6-a860-6875a991c378, idx\u003d0]: Workflow failed due to message status\\n\", \n            \"stderr\": \"[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of Ansible Become, \\nwhich is a generic framework. See become_flags. , use become instead. This \\nfeature will be removed in version 2.8. Deprecation warnings can be disabled by\\n setting deprecation_warnings\u003dFalse in ansible.cfg.\\n [ERROR]:\\n [WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin\\n(\u003cansible.plugins.callback.json_error.CallbackModule object at\\n0x7fa87d244050\u003e): [Errno 13] Permission denied: \u0027ansible-errors.json\u0027\\n\", \n            \"stdout\": \"Task \u0027Check Horizon\u0027 failed:\\nHost: undercloud\\nMessage: Failed to connect to 10.0.0.5 at port 443: [Errno 110] Connection timed out\\n\\nFailure! The validation failed for all hosts:\\n* undercloud\\n\"\n        }, \n        {\n            \"status\": \"FAILED\", \n            \"result\": \"Failure caused by error in tasks: send_message\\n\\n  send_message [task_ex_id\u003d501f1267-9ad3-4915-a574-e860b022a0ef] -\u003e Workflow failed due to message status\\n    [wf_ex_id\u003d50bb8c15-6a34-447f-a0c8-e81fe0221d44, idx\u003d0]: Workflow failed due to message status\\n\", \n            \"stderr\": \"[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of Ansible Become, \\nwhich is a generic framework. See become_flags. , use become instead. This \\nfeature will be removed in version 2.8. Deprecation warnings can be disabled by\\n setting deprecation_warnings\u003dFalse in ansible.cfg.\\n [ERROR]:\\n [WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin\\n(\u003cansible.plugins.callback.json_error.CallbackModule object at\\n0x7f7a11cdc050\u003e): [Errno 13] Permission denied: \u0027ansible-errors.json\u0027\\n\", \n            \"stdout\": \"Task \u0027Verify the RAM requirements\u0027 failed:\\nHost: undercloud\\nMessage: The RAM on the undercloud node is 12014 MB, the minimal recommended value is 16384 MB.\\n\\nFailure! The validation failed for all hosts:\\n* undercloud\\n\"\n        }\n    ], \n\nWhen obtaining the run_validation workflow output. However, if we include the validation_name we get the following output:\n\n    \"output\": [\n        {\n            \"status\": \"FAILED\", \n            \"validation\": \"openstack-endpoints\", \n            \"result\": \"Failure caused by error in tasks: send_message\\n\\n  send_message [task_ex_id\u003dabe28a07-967f-457e-ac03-b6a7d9fb0d8e] -\u003e Workflow failed due to message status\\n    [wf_ex_id\u003dd7917172-824d-41f6-a860-6875a991c378, idx\u003d0]: Workflow failed due to message status\\n\", \n            \"stderr\": \"[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of Ansible Become, \\nwhich is a generic framework. See become_flags. , use become instead. This \\nfeature will be removed in version 2.8. Deprecation warnings can be disabled by\\n setting deprecation_warnings\u003dFalse in ansible.cfg.\\n [ERROR]:\\n [WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin\\n(\u003cansible.plugins.callback.json_error.CallbackModule object at\\n0x7fa87d244050\u003e): [Errno 13] Permission denied: \u0027ansible-errors.json\u0027\\n\", \n            \"stdout\": \"Task \u0027Check Horizon\u0027 failed:\\nHost: undercloud\\nMessage: Failed to connect to 10.0.0.5 at port 443: [Errno 110] Connection timed out\\n\\nFailure! The validation failed for all hosts:\\n* undercloud\\n\"\n        }, \n        {\n            \"status\": \"FAILED\", \n            \"validation\": \"undercloud-ram\", \n            \"result\": \"Failure caused by error in tasks: send_message\\n\\n  send_message [task_ex_id\u003d501f1267-9ad3-4915-a574-e860b022a0ef] -\u003e Workflow failed due to message status\\n    [wf_ex_id\u003d50bb8c15-6a34-447f-a0c8-e81fe0221d44, idx\u003d0]: Workflow failed due to message status\\n\", \n            \"stderr\": \"[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of Ansible Become, \\nwhich is a generic framework. See become_flags. , use become instead. This \\nfeature will be removed in version 2.8. Deprecation warnings can be disabled by\\n setting deprecation_warnings\u003dFalse in ansible.cfg.\\n [ERROR]:\\n [WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin\\n(\u003cansible.plugins.callback.json_error.CallbackModule object at\\n0x7f7a11cdc050\u003e): [Errno 13] Permission denied: \u0027ansible-errors.json\u0027\\n\", \n            \"stdout\": \"Task \u0027Verify the RAM requirements\u0027 failed:\\nHost: undercloud\\nMessage: The RAM on the undercloud node is 12014 MB, the minimal recommended value is 16384 MB.\\n\\nFailure! The validation failed for all hosts:\\n* undercloud\\n\"\n        }\n    ], \n\nSo you know now that it was undercloud-ram and openstack-endpoints the validations that failed.","commit_id":"a2dc388c17f32fb1643524c4e1021b4289ad6985"}]}
