)]}'
{"tripleo_ansible/ansible_plugins/modules/tripleo_reset_params.py":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"5b01c2aacaf7f1de8cc12b2863681eb3c6535422","unresolved":false,"context_lines":[{"line_number":46,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"requirements: [\"openstacksdk\"]"},{"line_number":49,"context_line":"\u003e\u003e\u003e\u003e\u003e\u003e\u003e 1aead48... Add a new set of modules to support derived params"},{"line_number":50,"context_line":"\"\"\""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"EXAMPLES \u003d \"\"\""}],"source_content_type":"text/x-python","patch_set":18,"id":"1f493fa4_7cac679e","line":49,"updated":"2020-05-01 01:57:41.000000000","message":"fixed","commit_id":"8f0b150f42c3e721e18a866adf017bf64a1f938b"}],"tripleo_ansible/playbooks/cli-derive-parameters.yaml":[{"author":{"_account_id":18575,"name":"Saravanan KR","email":"krsacme@gmail.com","username":"saravanankr"},"change_message_id":"cc070110d0afa9ea37eb9f36e5801898a3fe6384","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        container: \"{{ plan }}\""},{"line_number":40,"context_line":"      register: tripleo_get_flatten_params"},{"line_number":41,"context_line":"      when:"},{"line_number":42,"context_line":"        - tripleo_get_flatten_params is undefined"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    - name: Get role list"},{"line_number":45,"context_line":"      tripleo_get_role_list:"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_73558450","line":42,"updated":"2020-04-22 06:31:38.000000000","message":"is tripleo_get_flatten_params will be defined in any scenario?","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"36343e2bf47de0f1113aeb76bf60eb3a6068639e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        container: \"{{ plan }}\""},{"line_number":40,"context_line":"      register: tripleo_get_flatten_params"},{"line_number":41,"context_line":"      when:"},{"line_number":42,"context_line":"        - tripleo_get_flatten_params is undefined"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    - name: Get role list"},{"line_number":45,"context_line":"      tripleo_get_role_list:"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"ff570b3c_663ebeb8","line":42,"in_reply_to":"1f493fa4_73558450","updated":"2020-05-19 16:00:17.000000000","message":"Checking if it\u0027s undefined is not harmful.\n\nWhen testing the role with molecule this extra check allows us to easily mock the flattened params like this:\n\nhttps://review.opendev.org/#/c/719466/24/tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/converge.yml@21","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"1f1e6223a570c8db28020d68b111ea2f5df1bd57","unresolved":false,"context_lines":[{"line_number":40,"context_line":"      register: tripleo_get_flatten_params"},{"line_number":41,"context_line":"      when:"},{"line_number":42,"context_line":"        - tripleo_get_flatten_params is undefined"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    - name: Get role list"},{"line_number":45,"context_line":"      tripleo_get_role_list:"},{"line_number":46,"context_line":"        container: \"{{ plan }}\""}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_4f158be4","line":43,"updated":"2020-04-30 16:43:32.000000000","message":"- name: Fail if stack_data has not been extracted\n      when:\n        - tripleo_get_flatten_params.stack_data is not defined\n      fail:\n        msg: \"{{ plan }} is mising stack_data\"","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"5b01c2aacaf7f1de8cc12b2863681eb3c6535422","unresolved":false,"context_lines":[{"line_number":40,"context_line":"      register: tripleo_get_flatten_params"},{"line_number":41,"context_line":"      when:"},{"line_number":42,"context_line":"        - tripleo_get_flatten_params is undefined"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    - name: Get role list"},{"line_number":45,"context_line":"      tripleo_get_role_list:"},{"line_number":46,"context_line":"        container: \"{{ plan }}\""}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_bcc8af54","line":43,"in_reply_to":"1f493fa4_4f158be4","updated":"2020-05-01 01:57:41.000000000","message":"Done","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bd939ca1f0f41c964f52e41de7cc102c13a301f1","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    - name: Get role list"},{"line_number":45,"context_line":"      tripleo_get_role_list:"},{"line_number":46,"context_line":"        container: \"{{ plan }}\""},{"line_number":47,"context_line":"      register: tripleo_role_list"},{"line_number":48,"context_line":"      when:"},{"line_number":49,"context_line":"        - tripleo_role_list is undefined"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_89d83353","line":46,"updated":"2020-04-29 22:12:18.000000000","message":"valid: false\n\nPlease add the above to the tripleo_get_roles_list call","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"5b01c2aacaf7f1de8cc12b2863681eb3c6535422","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    - name: Get role list"},{"line_number":45,"context_line":"      tripleo_get_role_list:"},{"line_number":46,"context_line":"        container: \"{{ plan }}\""},{"line_number":47,"context_line":"      register: tripleo_role_list"},{"line_number":48,"context_line":"      when:"},{"line_number":49,"context_line":"        - tripleo_role_list is undefined"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_1cc4433f","line":46,"in_reply_to":"1f493fa4_89d83353","updated":"2020-05-01 01:57:41.000000000","message":"Done","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"ead336189da908dae6a10128ced5a30c27a36434","unresolved":false,"context_lines":[{"line_number":54,"context_line":"      vars:"},{"line_number":55,"context_line":"        tripleo_plan_name: \"{{ plan }}\""},{"line_number":56,"context_line":"        tripleo_role_name: \"{{ outer_item }}\""},{"line_number":57,"context_line":"        tripleo_environment_parameters: \"{{ tripleo_get_flatten_params.params.environment_parameters }}\""},{"line_number":58,"context_line":"        tripleo_heat_resource_tree: \"{{ tripleo_get_flatten_params.params.heat_resource_tree }}\""},{"line_number":59,"context_line":"      loop: \"{{ tripleo_role_list.roles }}\""},{"line_number":60,"context_line":"      loop_control:"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_0fda6376","line":57,"range":{"start_line":57,"start_character":44,"end_line":57,"end_character":100},"updated":"2020-04-30 00:56:03.000000000","message":"On my system based on a real deployment this variable doesn\u0027t have .params which causes this playbook to fail here for me. Instead tripleo_get_flatten_params contains what\u0027s at this URL:\n\nhttp://ix.io/2k6K\n\nI think this needs to be changed to better reflect what actually is passed from a real deployment. A change is probably needed in tripleo_derived_parameters/molecule/mock_params \n\nHere\u0027s how I made the above URL\n\nUpdated the playbook:\n\n    - name: Get role list\n      tripleo_get_role_list:\n        container: \"{{ plan }}\"\n        valid: false\n      register: tripleo_role_list\n      when:\n        - tripleo_role_list is undefined\n\n    - local_action: copy content\u003d{{ tripleo_get_flatten_params }} dest\u003d/tmp/foo\n\n    - fail:\n        msg: \"arghhh\"\n\nRan it...\n\nTASK [copy] ********************************************************************\ntask path: /usr/share/ansible/tripleo-playbooks/cli-derive-parameters.yaml:52\nThursday 30 April 2020  00:47:25 +0000 (0:00:02.293)       0:00:06.479 ******** \nchanged: [localhost -\u003e localhost] \u003d\u003e changed\u003dtrue \n  checksum: 041aaf7b81f13b6c3f53c3b82b72d6de37f5bd0d\n  dest: /tmp/foo\n  gid: 1000\n  group: stack\n  md5sum: d9a9ca6bc747ee25d296f609789110a4\n  mode: \u00270664\u0027\n  owner: stack\n  secontext: unconfined_u:object_r:user_home_t:s0\n  size: 426025\n  src: /home/stack/.ansible/tmp/ansible-tmp-1588207645.3174083-650488-102117864581445/source\n  state: file\n  uid: 1000\n\nskip_once_per_role: Checking host localhost for task None\n  skip_once_per_role: task has no when, appending\n\nTASK [fail] ********************************************************************\ntask path: /usr/share/ansible/tripleo-playbooks/cli-derive-parameters.yaml:54\nThursday 30 April 2020  00:47:26 +0000 (0:00:00.972)       0:00:07.451 ******** \nfatal: [localhost]: FAILED! \u003d\u003e changed\u003dfalse \n  msg: arghhh\n\ncurl\u0027d the output into ix.io\n\n(undercloud) [CentOS-8.1 - stack@undercloud derive]$ cat /tmp/foo | jq .  | curl -F \u0027f:1\u003d\u003c-\u0027 ix.io\nhttp://ix.io/2k6K\n(undercloud) [CentOS-8.1 - stack@undercloud derive]$","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"5b01c2aacaf7f1de8cc12b2863681eb3c6535422","unresolved":false,"context_lines":[{"line_number":54,"context_line":"      vars:"},{"line_number":55,"context_line":"        tripleo_plan_name: \"{{ plan }}\""},{"line_number":56,"context_line":"        tripleo_role_name: \"{{ outer_item }}\""},{"line_number":57,"context_line":"        tripleo_environment_parameters: \"{{ tripleo_get_flatten_params.params.environment_parameters }}\""},{"line_number":58,"context_line":"        tripleo_heat_resource_tree: \"{{ tripleo_get_flatten_params.params.heat_resource_tree }}\""},{"line_number":59,"context_line":"      loop: \"{{ tripleo_role_list.roles }}\""},{"line_number":60,"context_line":"      loop_control:"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_fcbeb7ab","line":57,"range":{"start_line":57,"start_character":44,"end_line":57,"end_character":100},"in_reply_to":"1f493fa4_0fda6376","updated":"2020-05-01 01:57:41.000000000","message":"Done","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"8b52fc0069549cf7f40680345c9aff177c107bf3","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        tripleo_plan_name: \"{{ plan }}\""},{"line_number":56,"context_line":"        tripleo_role_name: \"{{ outer_item }}\""},{"line_number":57,"context_line":"        tripleo_environment_parameters: \"{{ tripleo_get_flatten_params.params.environment_parameters }}\""},{"line_number":58,"context_line":"        tripleo_heat_resource_tree: \"{{ tripleo_get_flatten_params.params.heat_resource_tree }}\""},{"line_number":59,"context_line":"      loop: \"{{ tripleo_role_list.roles }}\""},{"line_number":60,"context_line":"      loop_control:"},{"line_number":61,"context_line":"        loop_var: outer_item"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_af39afa4","line":58,"range":{"start_line":58,"start_character":67,"end_line":58,"end_character":73},"updated":"2020-04-30 01:03:05.000000000","message":"For me it\u0027s called stack_data not params so this might be as easy as: \n\ns/params/stack_data","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"5b01c2aacaf7f1de8cc12b2863681eb3c6535422","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        tripleo_plan_name: \"{{ plan }}\""},{"line_number":56,"context_line":"        tripleo_role_name: \"{{ outer_item }}\""},{"line_number":57,"context_line":"        tripleo_environment_parameters: \"{{ tripleo_get_flatten_params.params.environment_parameters }}\""},{"line_number":58,"context_line":"        tripleo_heat_resource_tree: \"{{ tripleo_get_flatten_params.params.heat_resource_tree }}\""},{"line_number":59,"context_line":"      loop: \"{{ tripleo_role_list.roles }}\""},{"line_number":60,"context_line":"      loop_control:"},{"line_number":61,"context_line":"        loop_var: outer_item"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_5cdfeb0b","line":58,"range":{"start_line":58,"start_character":67,"end_line":58,"end_character":73},"in_reply_to":"1f493fa4_af39afa4","updated":"2020-05-01 01:57:41.000000000","message":"Done","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"}],"tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/converge.yml":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":29,"context_line":"        tripleo_role_name: \"{{ outer_item }}\""},{"line_number":30,"context_line":"        tripleo_environment_parameters: \"{{ tripleo_get_flatten_params.stack_data.environment_parameters }}\""},{"line_number":31,"context_line":"        tripleo_heat_resource_tree: \"{{ tripleo_get_flatten_params.stack_data.heat_resource_tree }}\""},{"line_number":32,"context_line":"        tripleo_all_nodes: []"},{"line_number":33,"context_line":"      loop: \"{{ tripleo_role_list.roles }}\""},{"line_number":34,"context_line":"      loop_control:"},{"line_number":35,"context_line":"        loop_var: outer_item"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"ff570b3c_7a34a793","line":32,"range":{"start_line":32,"start_character":8,"end_line":32,"end_character":29},"updated":"2020-05-18 21:58:06.000000000","message":"So instead of just passing this empty list I\u0027ll set this variable to a list of all ironic nodes captured in mock_ironic_all.","commit_id":"4e42aab8f7cecdb292eaac451fd99ddbe932bf4a"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        tripleo_role_name: \"{{ outer_item }}\""},{"line_number":31,"context_line":"        tripleo_environment_parameters: \"{{ tripleo_get_flatten_params.stack_data.environment_parameters }}\""},{"line_number":32,"context_line":"        tripleo_heat_resource_tree: \"{{ tripleo_get_flatten_params.stack_data.heat_resource_tree }}\""},{"line_number":33,"context_line":"        baremetal_data: \"{{ lookup(\u0027file\u0027, \u0027../mock_baremetal_{{ outer_item }}\u0027) | from_yaml }}\""},{"line_number":34,"context_line":"      loop: \"{{ tripleo_role_list.roles }}\""},{"line_number":35,"context_line":"      loop_control:"},{"line_number":36,"context_line":"        loop_var: outer_item"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"ff570b3c_faf6f7d6","line":33,"updated":"2020-05-18 21:58:06.000000000","message":"I\u0027m tricking the node selection a little bit here so that I can still have molecule execute the derived paramters with the introspection data from the node I tell it to use as it will be lined up with the flavor or scheduler hint.","commit_id":"d0240dcc883d7f8a55f554cf2c0858b54d23b1a8"}],"tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/molecule.yml":[{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"234ecd6530c2dc77dd6447e0f2be234c154cc914","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    - destroy"},{"line_number":33,"context_line":"    - create"},{"line_number":34,"context_line":"    - prepare"},{"line_number":35,"context_line":"    - converge"},{"line_number":36,"context_line":"    - verify"},{"line_number":37,"context_line":"    - destroy"},{"line_number":38,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":11,"id":"1f493fa4_dc3757e3","line":35,"updated":"2020-04-21 14:12:36.000000000","message":"please add check after converge","commit_id":"3b51c61dde193c6b188249cd37a2763b6e5591f8"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"755bdbe0d815b2c41da71e524925b3819ff322bb","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    - destroy"},{"line_number":33,"context_line":"    - create"},{"line_number":34,"context_line":"    - prepare"},{"line_number":35,"context_line":"    - converge"},{"line_number":36,"context_line":"    - verify"},{"line_number":37,"context_line":"    - destroy"},{"line_number":38,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":11,"id":"1f493fa4_3ce47bac","line":35,"in_reply_to":"1f493fa4_dc3757e3","updated":"2020-04-21 14:38:32.000000000","message":"Done","commit_id":"3b51c61dde193c6b188249cd37a2763b6e5591f8"}],"tripleo_ansible/roles/tripleo_derived_parameters/molecule/mock_baremetal_ComputeHCI":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"  success: true"},{"line_number":3,"context_line":"  changed: false"},{"line_number":4,"context_line":"  error: null"}],"source_content_type":"application/octet-stream","patch_set":23,"id":"ff570b3c_ba5c7fed","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":3},"updated":"2020-05-18 21:58:06.000000000","message":"Actual introspection data of my ComputeHCI VM. This lets me mock the output of this module. Because the derive params HCI module will need introspection data this lets me mock it so that I can use it within molecule.\n\n    - name: Get baremetal inspection data\n      tripleo_get_introspected_data:\n        node_id: \"{{ role_node_uuid }}\"\n      register: baremetal_data","commit_id":"d0240dcc883d7f8a55f554cf2c0858b54d23b1a8"}],"tripleo_ansible/roles/tripleo_derived_parameters/molecule/mock_baremetal_Controller":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"  success: true"},{"line_number":3,"context_line":"  changed: false"},{"line_number":4,"context_line":"  error: null"}],"source_content_type":"application/octet-stream","patch_set":23,"id":"ff570b3c_9a61bbac","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":3},"updated":"2020-05-18 21:58:06.000000000","message":"Actual introspection data of my Controller VM. This lets me mock the output of this module. \n\n    - name: Get baremetal inspection data\n      tripleo_get_introspected_data:\n        node_id: \"{{ role_node_uuid }}\"\n      register: baremetal_data","commit_id":"d0240dcc883d7f8a55f554cf2c0858b54d23b1a8"}],"tripleo_ansible/roles/tripleo_derived_parameters/molecule/mock_ironic_all":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"  - "},{"line_number":3,"context_line":"    allocation_id: null"},{"line_number":4,"context_line":"    owner: null"}],"source_content_type":"application/octet-stream","patch_set":23,"id":"ff570b3c_9a389ba0","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":3},"updated":"2020-05-18 21:58:06.000000000","message":"Using this to mock in tripleo_all_nodes. It came from using a real deployment and pickling the data as yaml.","commit_id":"d0240dcc883d7f8a55f554cf2c0858b54d23b1a8"}],"tripleo_ansible/roles/tripleo_derived_parameters/molecule/mock_params":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"ead336189da908dae6a10128ced5a30c27a36434","unresolved":false,"context_lines":[{"line_number":3,"context_line":"changed: false"},{"line_number":4,"context_line":"error: null"},{"line_number":5,"context_line":"failed: false"},{"line_number":6,"context_line":"params:"},{"line_number":7,"context_line":"    environment_parameters: null"},{"line_number":8,"context_line":"    heat_resource_tree:"},{"line_number":9,"context_line":"        parameters:"}],"source_content_type":"application/octet-stream","patch_set":13,"id":"1f493fa4_4fe0eb26","line":6,"range":{"start_line":6,"start_character":0,"end_line":6,"end_character":7},"updated":"2020-04-30 00:56:03.000000000","message":"\"params\" doesn\u0027t exist in a tripleo_get_flatten_params genreated by the cli-derive-paramrters.yaml playbook. That variable looks like this instead when the playbook makes it:\n\nhttp://ix.io/2k6K","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"8b52fc0069549cf7f40680345c9aff177c107bf3","unresolved":false,"context_lines":[{"line_number":3,"context_line":"changed: false"},{"line_number":4,"context_line":"error: null"},{"line_number":5,"context_line":"failed: false"},{"line_number":6,"context_line":"params:"},{"line_number":7,"context_line":"    environment_parameters: null"},{"line_number":8,"context_line":"    heat_resource_tree:"},{"line_number":9,"context_line":"        parameters:"}],"source_content_type":"application/octet-stream","patch_set":13,"id":"1f493fa4_cf423b0f","line":6,"range":{"start_line":6,"start_character":0,"end_line":6,"end_character":7},"in_reply_to":"1f493fa4_4fe0eb26","updated":"2020-04-30 01:03:05.000000000","message":"If I change params to stack_data it works for me.","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"5b01c2aacaf7f1de8cc12b2863681eb3c6535422","unresolved":false,"context_lines":[{"line_number":3,"context_line":"changed: false"},{"line_number":4,"context_line":"error: null"},{"line_number":5,"context_line":"failed: false"},{"line_number":6,"context_line":"params:"},{"line_number":7,"context_line":"    environment_parameters: null"},{"line_number":8,"context_line":"    heat_resource_tree:"},{"line_number":9,"context_line":"        parameters:"}],"source_content_type":"application/octet-stream","patch_set":13,"id":"1f493fa4_3ce2dfd5","line":6,"range":{"start_line":6,"start_character":0,"end_line":6,"end_character":7},"in_reply_to":"1f493fa4_cf423b0f","updated":"2020-05-01 01:57:41.000000000","message":"Done","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"495196d4451d3bcf75ea298e4973c68ce3b3d870","unresolved":false,"context_lines":[{"line_number":1,"context_line":"ansible_facts:"},{"line_number":2,"context_line":"    discovered_interpreter_python: /usr/libexec/platform-python"},{"line_number":3,"context_line":"changed: false"},{"line_number":4,"context_line":"error: null"}],"source_content_type":"application/octet-stream","patch_set":20,"id":"ff570b3c_51fe5637","line":1,"updated":"2020-05-13 03:40:21.000000000","message":"why do we have to make that file that bug? can we just keep the minimum for good testing?","commit_id":"3bd6967c92072cf341771a1e39d0923fd6de4e7d"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"fc5eafc853e16e5a25d7c01ea741d2f2f3ed8a5e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"ansible_facts:"},{"line_number":2,"context_line":"    discovered_interpreter_python: /usr/libexec/platform-python"},{"line_number":3,"context_line":"changed: false"},{"line_number":4,"context_line":"error: null"}],"source_content_type":"application/octet-stream","patch_set":20,"id":"ff570b3c_c0c9325b","line":1,"in_reply_to":"ff570b3c_51fe5637","updated":"2020-05-21 22:32:51.000000000","message":"File has been reduced by 70%","commit_id":"3bd6967c92072cf341771a1e39d0923fd6de4e7d"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"fcfc727cfdd13f807b1ae16c3656cb45e3668a66","unresolved":false,"context_lines":[{"line_number":1,"context_line":"ansible_facts:"},{"line_number":2,"context_line":"    discovered_interpreter_python: /usr/libexec/platform-python"},{"line_number":3,"context_line":"changed: false"},{"line_number":4,"context_line":"error: null"}],"source_content_type":"application/octet-stream","patch_set":20,"id":"ff570b3c_ed4a1825","line":1,"in_reply_to":"ff570b3c_51fe5637","updated":"2020-05-13 19:38:01.000000000","message":"Yes, I\u0027ll take a shot at minimizing it to only what is needed to test the HCI case.\n\nAs per the commit message:\n\n\"Mock data has been added from a real deployment to ensure that the role data processing is correct and tested accordingly.\"\n\nSo that\u0027s what came from the real deployment. I think it\u0027s fine for you to keep the -1 until that\u0027s done.","commit_id":"3bd6967c92072cf341771a1e39d0923fd6de4e7d"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"  success: true"},{"line_number":3,"context_line":"  changed: false"},{"line_number":4,"context_line":"  error: null"}],"source_content_type":"application/octet-stream","patch_set":23,"id":"ff570b3c_1ade4b6c","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":3},"updated":"2020-05-18 21:58:06.000000000","message":"This mock_params is from my smaller HCI deployment. We can still trim it but I wanted to line it up with the new HCI roles.","commit_id":"d0240dcc883d7f8a55f554cf2c0858b54d23b1a8"}],"tripleo_ansible/roles/tripleo_derived_parameters/molecule/mock_roles":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":3,"context_line":"failed: false"},{"line_number":4,"context_line":"roles:"},{"line_number":5,"context_line":"- Controller"},{"line_number":6,"context_line":"- ComputeHCI"},{"line_number":7,"context_line":"success: true"}],"source_content_type":"application/octet-stream","patch_set":23,"id":"ff570b3c_fa6717e8","line":6,"range":{"start_line":6,"start_character":0,"end_line":6,"end_character":12},"updated":"2020-05-18 21:58:06.000000000","message":"I switched to a ComputeHCI role since you can derive parameters  for it. We just need two roles to make the HCI case more realistic.","commit_id":"d0240dcc883d7f8a55f554cf2c0858b54d23b1a8"}],"tripleo_ansible/roles/tripleo_derived_parameters/tasks/main.yml":[{"author":{"_account_id":18575,"name":"Saravanan KR","email":"krsacme@gmail.com","username":"saravanankr"},"change_message_id":"cc070110d0afa9ea37eb9f36e5801898a3fe6384","unresolved":false,"context_lines":[{"line_number":35,"context_line":"      {% set heat_service_types \u003d tripleo_heat_resource_tree.resources.values() | list | sum(attribute\u003d\u0027parameters\u0027, start\u003d[]) %}"},{"line_number":36,"context_line":"      {% set heat_neutron_datapath \u003d ((heat_service_types | map(\u0027regex_search\u0027, \u0027.*NeutronDatapathType.*\u0027) | list | length) \u003e 0) | bool %}"},{"line_number":37,"context_line":"      {{ (neutron_datapath | bool) or (heat_neutron_datapath | bool) }}"},{"line_number":38,"context_line":"    odl_dpdk: |-"},{"line_number":39,"context_line":"      {% set params \u003d tripleo_heat_resource_tree.parameters.get((tripleo_role_name ~ \u0027Parameters\u0027), {}) %}"},{"line_number":40,"context_line":"      {% set defaults \u003d params.get(\u0027default\u0027, {}) %}"},{"line_number":41,"context_line":"      {{ defaults.get(\u0027OvsEnableDpdk\u0027, false) | bool }}"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_b3fd4c3c","line":38,"updated":"2020-04-22 06:31:38.000000000","message":"ODL bits can be removed, as we dont have ODL services anymore.","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"5b01c2aacaf7f1de8cc12b2863681eb3c6535422","unresolved":false,"context_lines":[{"line_number":35,"context_line":"      {% set heat_service_types \u003d tripleo_heat_resource_tree.resources.values() | list | sum(attribute\u003d\u0027parameters\u0027, start\u003d[]) %}"},{"line_number":36,"context_line":"      {% set heat_neutron_datapath \u003d ((heat_service_types | map(\u0027regex_search\u0027, \u0027.*NeutronDatapathType.*\u0027) | list | length) \u003e 0) | bool %}"},{"line_number":37,"context_line":"      {{ (neutron_datapath | bool) or (heat_neutron_datapath | bool) }}"},{"line_number":38,"context_line":"    odl_dpdk: |-"},{"line_number":39,"context_line":"      {% set params \u003d tripleo_heat_resource_tree.parameters.get((tripleo_role_name ~ \u0027Parameters\u0027), {}) %}"},{"line_number":40,"context_line":"      {% set defaults \u003d params.get(\u0027default\u0027, {}) %}"},{"line_number":41,"context_line":"      {{ defaults.get(\u0027OvsEnableDpdk\u0027, false) | bool }}"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_7ce8e7b1","line":38,"in_reply_to":"1f493fa4_b3fd4c3c","updated":"2020-05-01 01:57:41.000000000","message":"Done","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"1f1e6223a570c8db28020d68b111ea2f5df1bd57","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        - name: Union all nodes"},{"line_number":116,"context_line":"          set_fact:"},{"line_number":117,"context_line":"            matching_nodes_with_hint: \"{{"},{"line_number":118,"context_line":"              tripleo_all_nodes |"},{"line_number":119,"context_line":"              get_node_capabilities |"},{"line_number":120,"context_line":"              map(\u0027regex_search\u0027, hint_regex) |"},{"line_number":121,"context_line":"              map(attribute\u003d\u0027uuid\u0027) |"},{"line_number":122,"context_line":"              list"},{"line_number":123,"context_line":"            }}\""},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        - name: Set role node uuid fact"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_e3158b4a","line":122,"range":{"start_line":118,"start_character":0,"end_line":122,"end_character":18},"updated":"2020-04-30 16:43:32.000000000","message":"This failed for me with:\n\n \"Unexpected templating type error occurred ... expected string or bytes-like object\"\n\nregex_search probably doesn\u0027t know to look specifically at the hint attribute\n\nBut this worked (got some help from #ansible in freenode).\n\n              tripleo_all_nodes |\n              get_node_capabilities |\n              selectattr(\u0027hint\u0027, \u0027regex\u0027, hint_regex) |\n              map(attribute\u003d\u0027uuid\u0027) |\n              list\n\nhttp://paste.openstack.org/show/792937/","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"1f1e6223a570c8db28020d68b111ea2f5df1bd57","unresolved":false,"context_lines":[{"line_number":238,"context_line":"#   on-error: set_status_failed_get_hci_derive_params"},{"line_number":239,"context_line":"#   # Done (no more derived parameter features)"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"- name: Update derived params block"},{"line_number":242,"context_line":"  when:"},{"line_number":243,"context_line":"    - derived_parameters_result is defined"},{"line_number":244,"context_line":"  block:"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f493fa4_50307956","line":241,"updated":"2020-04-30 16:43:32.000000000","message":"I should be ready to use a patched version of this to develop the HCI derive paramters ansible module.\n\n http://paste.openstack.org/show/792959/","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"1f1e6223a570c8db28020d68b111ea2f5df1bd57","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":13,"id":"1f493fa4_50bd19b5","line":256,"updated":"2020-04-30 16:43:32.000000000","message":"With some modification I can see","commit_id":"6f79acd79ddfabbe9deac8f09c81a9ef2e55f8e5"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"bbf0b187604508d1d5cad13cd43dda0da79c8c2e","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        - role_node_uuid is defined"},{"line_number":159,"context_line":"        - baremetal_data is undefined"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"    - name: Set hardware data fact"},{"line_number":162,"context_line":"      set_fact:"},{"line_number":163,"context_line":"        hw_data: \"{{ baremetal_data.data }}\""},{"line_number":164,"context_line":"      when:"},{"line_number":165,"context_line":"        - baremetal_data is defined"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"# TODO"},{"line_number":168,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":23,"id":"ff570b3c_ba80ff47","line":165,"range":{"start_line":161,"start_character":0,"end_line":165,"end_character":35},"updated":"2020-05-18 21:58:06.000000000","message":"Taking this out of a block and adding an extra when may look unnecessary, this PS23 change produces the same logic as PS22, but I did it so that I could run this role from molecule and mock the introspection data into the molecule run without actually having to mock the swift calls themselves from molecule.","commit_id":"d0240dcc883d7f8a55f554cf2c0858b54d23b1a8"}]}
