)]}'
{"tasks/swift_post_install.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"87b25c6e293b214ef9a0a555b2800453ea08ad1e","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_9fea1f75","line":60,"updated":"2018-10-19 14:47:07.000000000","message":"Does SSHD need to be enabled on all hosts from the first - or can it be enabled at any time? I\u0027m thinking something along the lines of https://github.com/openstack/openstack-ansible-os_keystone/commit/aefb58080337633e6d4c10bb2709c8d73ab9564d\n\nAlso, a comment describing why it\u0027s needed here would be nice.","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bbeede1cccf14d2a9f168cfd2e00d55e30af558a","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_a29e3465","line":60,"in_reply_to":"3f79a3b5_13f42acc","updated":"2018-11-28 11:02:08.000000000","message":"Yes, it runs one time - but not from the first node. If it does not get done on the first node, then anything done on the first node that relies on it being present on the other nodes will fail.","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"be2fb88e74ebf14b31d8929e5d33297b5121818c","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_e0a55d02","line":60,"in_reply_to":"3f79a3b5_25e84a13","updated":"2018-11-22 13:50:17.000000000","message":"I might be misunderstanding, however, because the sync is done with rsync ssh is required to be enabled on the source and all target nodes.","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"ab4f6c41e5552f3e32404a2b7c54b45054add2a5","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_13f42acc","line":60,"in_reply_to":"3f79a3b5_33140d50","updated":"2018-11-27 18:45:01.000000000","message":"With the with_items loop and the delegation to the rendered \"{{ item }}\" this should run one time on all nodes with the swift_proxy group.","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"744a2221e9d1863e3b10f7b3e311d4c8d288ab9a","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_adc9eaab","line":60,"in_reply_to":"3f79a3b5_9fea1f75","updated":"2018-10-20 08:09:24.000000000","message":"OK, so given it needs to be there for the ring sync - perhaps this should not be run_once, but rather it should run on the first host in the play?","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bd7c9ad64b40471490278789e37d71023321e4fc","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_25e84a13","line":60,"in_reply_to":"3f79a3b5_a49467e7","updated":"2018-11-22 10:01:28.000000000","message":"Yes, but it needs to be run on the first host in the play - otherwise the first ring sync will fail because sshd is not running on the secondary hosts.","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"536baa94d3ba894d67fbe5cbd41a46a91ecb5f4c","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_a49467e7","line":60,"in_reply_to":"3f79a3b5_adc9eaab","updated":"2018-11-21 19:06:51.000000000","message":"All of the proxies should have ssh enabled for the purposes of ring sync so this will delegate to all of them but ensure the tasks is only executed once.","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"e52d10b5684a8052ec149e9af31b79f872977a31","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    daemon_reload: yes"},{"line_number":58,"context_line":"  delegate_to: \"{{ item }}\""},{"line_number":59,"context_line":"  with_items: \"{{ groups[\u0027swift_proxy\u0027] }}\""},{"line_number":60,"context_line":"  run_once: true"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f79a3b5_33140d50","line":60,"in_reply_to":"3f79a3b5_e0a55d02","updated":"2018-11-22 16:29:58.000000000","message":"We seem to be crossing wires here. Let me try to rephrase.\n\nSSH must be enabled on all swift hosts/containers. In order for the tasks distributing the rings to execute, sshd must be enabled and running on all target nodes when that ring sync happens. This means that the best thing is to ensure that the sshd enablement task executes when processing the first node in the play. run_once will make it run a single time, but it may only happen on the 3rd node in the play... possibly resulting in the ring sync attempt happening, and failing.\n\nSo, I\u0027m suggesting that instead of run_once, it gets run only on the first play_host.","commit_id":"c0ac307cb9a77529deee488bd7fd9ab0ef693dbf"}]}
