)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":6926,"name":"Bogdan Dobrelya","email":"bdobreli@redhat.com","username":"bogdando"},"change_message_id":"6c50e28807500c4c34d14de22f563e28b066c5a3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"5e25ffcd_9571aa14","updated":"2022-09-01 14:21:09.000000000","message":"would this role used a meta dependency role for all standalone roles?","commit_id":"678b965ff1f9e3acfe0540574966f77dce6e2614"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"52c3ba6be917059c82c7b6886810b9572e5f398f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"241f72dc_f42bd96e","updated":"2022-09-20 12:58:58.000000000","message":"It works as expected, tested here: https://review.opendev.org/c/openstack/tripleo-ci/+/843836","commit_id":"6d23b30ce8d22a4495a5ec5f248c6810696244ae"}],"tripleo_ansible/roles/tripleo_container_standalone/tasks/main.yml":[{"author":{"_account_id":6926,"name":"Bogdan Dobrelya","email":"bdobreli@redhat.com","username":"bogdando"},"change_message_id":"e9a8859e6b96ffdec69f8c774bfc59f4f09e95f9","unresolved":true,"context_lines":[{"line_number":37,"context_line":"    path: \"{{ tripleo_container_standalone_kolla_config_dir }}\""},{"line_number":38,"context_line":"    state: directory"},{"line_number":39,"context_line":"    recurse: true"},{"line_number":40,"context_line":"    setype: container_file_t"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create kolla config files"},{"line_number":43,"context_line":"  copy:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"eb098ad9_894593f3","line":40,"updated":"2022-09-01 14:20:48.000000000","message":"it might also make sense to set a non-world readable access permissions","commit_id":"678b965ff1f9e3acfe0540574966f77dce6e2614"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"7e309bb6418c7c4fc4bd1f0837db8abbd8cb2931","unresolved":true,"context_lines":[{"line_number":39,"context_line":"    recurse: true"},{"line_number":40,"context_line":"    setype: container_file_t"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create kolla config files"},{"line_number":43,"context_line":"  copy:"},{"line_number":44,"context_line":"    content: \"{{ item.value | to_nice_json }}\""},{"line_number":45,"context_line":"    dest: \"{{ tripleo_container_standalone_kolla_config_dir ~ \u0027/\u0027 ~ item.key ~ \u0027.json\u0027 }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"b301ca7f_1d21cec2","line":42,"updated":"2022-09-16 08:30:50.000000000","message":"https://40e9143d7e864e9b5093-6c0ced7e746a352dadfa0dec27dd8f91.ssl.cf5.rackcdn.com/843836/30/check/tripleo-ci-centos-9-singlenode-external-compute-standalone/25dc048/logs/undercloud/home/zuul/overcloud_compute.log\n\n```\nTASK [tripleo_container_standalone : Create kolla config files] ****************\nfatal: [localhost]: FAILED! \u003d\u003e {\"msg\": \"An unhandled exception occurred while templating \u0027{\u0027nova_virtlogd\u0027: \\\"{{ lookup(\u0027file\u0027, \u0027files/nova_virtlogd.yaml\u0027) | from_yaml }}\\\", \u0027nova_virtnodedevd\u0027: \\\"{{ lookup(\u0027file\u0027, \u0027files/nova_virtnodedevd.yaml\u0027) | from_yaml }}\\\", \u0027nova_virtproxyd\u0027: \\\"{{ lookup(\u0027file\u0027, \u0027files/nova_virtproxyd.yaml\u0027) | from_yaml }}\\\", \u0027nova_virtqemud\u0027: \\\"{{ lookup(\u0027file\u0027, \u0027files/nova_virtqemud.yaml\u0027) | from_yaml }}\\\", \u0027nova_virtsecretd\u0027: \\\"{{ lookup(\u0027file\u0027, \u0027files/nova_virtsecretd.yaml\u0027) | from_yaml }}\\\", \u0027nova_virtstoraged\u0027: \\\"{{ lookup(\u0027file\u0027, \u0027files/nova_virtstoraged.yaml\u0027) | from_yaml }}\\\"}\u0027. Error was a \u003cclass \u0027ansible.errors.AnsibleError\u0027\u003e, original message: An unhandled exception occurred while running the lookup plugin \u0027file\u0027. Error was a \u003cclass \u0027ansible.errors.AnsibleError\u0027\u003e, original message: could not locate file in lookup: files/nova_virtlogd.yaml. could not locate file in lookup: files/nova_virtlogd.yaml\"}\n```\nand here is the json file:\nhttps://40e9143d7e864e9b5093-6c0ced7e746a352dadfa0dec27dd8f91.ssl.cf5.rackcdn.com/843836/30/check/tripleo-ci-centos-9-singlenode-external-compute-standalone/25dc048/logs/undercloud/var/lib/kolla/config_files/nova_virtlogd.json\n```\n{\n    \"command\": \"/usr/sbin/virtlogd --config /etc/libvirt/virtlogd.conf\",\n    \"config_files\": [\n        {\n            \"dest\": \"/\",\n            \"merge\": true,\n            \"preserve_properties\": true,\n            \"source\": \"/var/lib/kolla/config_files/src/*\"\n        },\n        {\n            \"dest\": \"/etc/ceph/\",\n            \"merge\": true,\n            \"preserve_properties\": true,\n            \"source\": \"/var/lib/kolla/config_files/src-ceph/\"\n        }\n    ],\n    \"permissions\": []\n}\n```\n\nI am not sure it was expecting this json file to be converted to yaml, please have a look, thanks!","commit_id":"678b965ff1f9e3acfe0540574966f77dce6e2614"},{"author":{"_account_id":6926,"name":"Bogdan Dobrelya","email":"bdobreli@redhat.com","username":"bogdando"},"change_message_id":"06a1c75c316f7d3b65f93f04efbb4cb641ef7231","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    recurse: true"},{"line_number":40,"context_line":"    setype: container_file_t"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create kolla config files"},{"line_number":43,"context_line":"  copy:"},{"line_number":44,"context_line":"    content: \"{{ item.value | to_nice_json }}\""},{"line_number":45,"context_line":"    dest: \"{{ tripleo_container_standalone_kolla_config_dir ~ \u0027/\u0027 ~ item.key ~ \u0027.json\u0027 }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"c36e3576_7b7c30d3","line":42,"in_reply_to":"0a239f74_49fe53a0","updated":"2022-09-19 13:16:27.000000000","message":"thanks.\nhttps://review.opendev.org/c/openstack/tripleo-ansible/+/858378","commit_id":"678b965ff1f9e3acfe0540574966f77dce6e2614"},{"author":{"_account_id":33080,"name":"Mikolaj Ciecierski","display_name":"Mikolaj Ciecierski","email":"mciecier@redhat.com","username":"mciecierski"},"change_message_id":"edbc953cd5f801fec244faa8dafee7d3521f1fad","unresolved":true,"context_lines":[{"line_number":39,"context_line":"    recurse: true"},{"line_number":40,"context_line":"    setype: container_file_t"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create kolla config files"},{"line_number":43,"context_line":"  copy:"},{"line_number":44,"context_line":"    content: \"{{ item.value | to_nice_json }}\""},{"line_number":45,"context_line":"    dest: \"{{ tripleo_container_standalone_kolla_config_dir ~ \u0027/\u0027 ~ item.key ~ \u0027.json\u0027 }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"0a239f74_49fe53a0","line":42,"in_reply_to":"6f8f6367_94aa4ee4","updated":"2022-09-19 08:06:08.000000000","message":"I got the same \u0027ansible.errors.AnsibleError\u0027 error, while I was running standalone playbook on my env. I found out that the root cause of the failure is here: https://review.opendev.org/c/openstack/tripleo-ansible/+/842152/43/tripleo_ansible/roles/tripleo_nova_libvirt/tasks/run.yml#37\n\nI managed to solve it by changing import_role to include_role. I think that when import_role is used, then lookup plugin tries to find nova_*.yaml files in tripleo_container_standalone instead of in tripleo_nova_libvirt role directory.","commit_id":"678b965ff1f9e3acfe0540574966f77dce6e2614"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"b6d88820e0c36aee09dc1eaa35da4c17ab4c750a","unresolved":true,"context_lines":[{"line_number":39,"context_line":"    recurse: true"},{"line_number":40,"context_line":"    setype: container_file_t"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create kolla config files"},{"line_number":43,"context_line":"  copy:"},{"line_number":44,"context_line":"    content: \"{{ item.value | to_nice_json }}\""},{"line_number":45,"context_line":"    dest: \"{{ tripleo_container_standalone_kolla_config_dir ~ \u0027/\u0027 ~ item.key ~ \u0027.json\u0027 }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"057ce8cb_dbce5367","line":42,"in_reply_to":"6f8f6367_94aa4ee4","updated":"2022-09-19 07:22:47.000000000","message":"Still not helping, seeing the same issue.","commit_id":"678b965ff1f9e3acfe0540574966f77dce6e2614"},{"author":{"_account_id":6926,"name":"Bogdan Dobrelya","email":"bdobreli@redhat.com","username":"bogdando"},"change_message_id":"82272a76ce06f26ecd49d97c687bc070c23f5105","unresolved":true,"context_lines":[{"line_number":39,"context_line":"    recurse: true"},{"line_number":40,"context_line":"    setype: container_file_t"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create kolla config files"},{"line_number":43,"context_line":"  copy:"},{"line_number":44,"context_line":"    content: \"{{ item.value | to_nice_json }}\""},{"line_number":45,"context_line":"    dest: \"{{ tripleo_container_standalone_kolla_config_dir ~ \u0027/\u0027 ~ item.key ~ \u0027.json\u0027 }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"6f8f6367_94aa4ee4","line":42,"in_reply_to":"b301ca7f_1d21cec2","updated":"2022-09-16 14:37:50.000000000","message":"let\u0027s see if rebase can heal it","commit_id":"678b965ff1f9e3acfe0540574966f77dce6e2614"}]}
