{"action":"created","comment":{"url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/comments/260673205","pull_request_review_id":208423221,"id":260673205,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2MDY3MzIwNQ==","diff_hunk":"@@ -11,3 +11,9 @@ postgres_override:\n dbs:\n   synclogs: null\n   form_processing: null\n+  ucr:\n+    host: citusdb1\n+  ucr:\n+    host: citusdb2\n+  ucr:\n+    host: citusdb3","path":"environments/development/postgresql.yml","position":9,"original_position":9,"commit_id":"55771df941498d823e087fb006018bf0f5fc2084","original_commit_id":"55771df941498d823e087fb006018bf0f5fc2084","user":{"login":"snopoke","id":249606,"node_id":"MDQ6VXNlcjI0OTYwNg==","avatar_url":"https://avatars3.githubusercontent.com/u/249606?v=4","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"body":"how come these are repeated so 3 times? Is it just to get the DB created? If that's the reason I think it would be better to have the citus role import the `set_up_dbs` task file to do the necessary setup on the workers and just leave the coordinator here. \r\n\r\nAlso I you can't have multiple keys with the same name.","created_at":"2019-02-27T10:02:42Z","updated_at":"2019-02-27T10:18:06Z","html_url":"https://github.com/dimagi/commcare-cloud/pull/2695#discussion_r260673205","pull_request_url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/comments/260673205"},"html":{"href":"https://github.com/dimagi/commcare-cloud/pull/2695#discussion_r260673205"},"pull_request":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695"}}},"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695","id":256599505,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU2NTk5NTA1","html_url":"https://github.com/dimagi/commcare-cloud/pull/2695","diff_url":"https://github.com/dimagi/commcare-cloud/pull/2695.diff","patch_url":"https://github.com/dimagi/commcare-cloud/pull/2695.patch","issue_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2695","number":2695,"state":"open","locked":false,"title":"Ns/ciuts role","user":{"login":"NitigyaS","id":11015404,"node_id":"MDQ6VXNlcjExMDE1NDA0","avatar_url":"https://avatars3.githubusercontent.com/u/11015404?v=4","gravatar_id":"","url":"https://api.github.com/users/NitigyaS","html_url":"https://github.com/NitigyaS","followers_url":"https://api.github.com/users/NitigyaS/followers","following_url":"https://api.github.com/users/NitigyaS/following{/other_user}","gists_url":"https://api.github.com/users/NitigyaS/gists{/gist_id}","starred_url":"https://api.github.com/users/NitigyaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NitigyaS/subscriptions","organizations_url":"https://api.github.com/users/NitigyaS/orgs","repos_url":"https://api.github.com/users/NitigyaS/repos","events_url":"https://api.github.com/users/NitigyaS/events{/privacy}","received_events_url":"https://api.github.com/users/NitigyaS/received_events","type":"User","site_admin":false},"body":"##### SUMMARY\r\n<!--- Describe the change below, including rationale and design decisions -->\r\nCitusDB on top of PostgresBase .\r\n<!--- HINT: Include \"Fixes #nnn\" if you are fixing an existing issue -->\r\n\r\n##### ENVIRONMENTS AFFECTED\r\n<!--- list which environments are affected by this change or None if this doesn't change any environment files -->\r\ndevelopment\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest -->\r\n\r\n- Feature Pull Request\r\n\r\n##### COMPONENT NAME\r\n<!--- Write the short name of the script, playbook, task or feature below -->\r\n\r\n##### ADDITIONAL INFORMATION\r\n<!--- Include additional information to help people understand the change here -->\r\n<!--- A step-by-step reproduction of the problem is helpful if there is no related issue -->\r\n\r\n<!--- Paste verbatim command output below, e.g. before and after your change -->\r\n","created_at":"2019-02-27T09:24:26Z","updated_at":"2019-02-27T10:18:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82f35e233c8835e82f599086ab9117c017a125b4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695/commits","review_comments_url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695/comments","review_comment_url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2695/comments","statuses_url":"https://api.github.com/repos/dimagi/commcare-cloud/statuses/55771df941498d823e087fb006018bf0f5fc2084","head":{"label":"dimagi:ns/ciuts_role","ref":"ns/ciuts_role","sha":"55771df941498d823e087fb006018bf0f5fc2084","user":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":22074543,"node_id":"MDEwOlJlcG9zaXRvcnkyMjA3NDU0Mw==","name":"commcare-cloud","full_name":"dimagi/commcare-cloud","private":false,"owner":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dimagi/commcare-cloud","description":"Tools for standing up and managing a CommCare HQ server environment","fork":false,"url":"https://api.github.com/repos/dimagi/commcare-cloud","forks_url":"https://api.github.com/repos/dimagi/commcare-cloud/forks","keys_url":"https://api.github.com/repos/dimagi/commcare-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcare-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcare-cloud/teams","hooks_url":"https://api.github.com/repos/dimagi/commcare-cloud/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcare-cloud/events","assignees_url":"https://api.github.com/repos/dimagi/commcare-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcare-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcare-cloud/tags","blobs_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcare-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcare-cloud/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcare-cloud/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcare-cloud/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcare-cloud/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcare-cloud/subscription","commits_url":"https://api.github.com/repos/dimagi/commcare-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcare-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcare-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcare-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcare-cloud/merges","archive_url":"https://api.github.com/repos/dimagi/commcare-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcare-cloud/downloads","issues_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcare-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcare-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcare-cloud/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcare-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcare-cloud/deployments","created_at":"2014-07-21T18:04:26Z","updated_at":"2019-02-27T01:14:29Z","pushed_at":"2019-02-27T09:29:55Z","git_url":"git://github.com/dimagi/commcare-cloud.git","ssh_url":"git@github.com:dimagi/commcare-cloud.git","clone_url":"https://github.com/dimagi/commcare-cloud.git","svn_url":"https://github.com/dimagi/commcare-cloud","homepage":"https://dimagi.github.io/commcare-cloud/","size":13869,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":14,"open_issues":54,"watchers":12,"default_branch":"master"}},"base":{"label":"dimagi:ns/seperate_postgres_base_role","ref":"ns/seperate_postgres_base_role","sha":"bf36e8ddaa9f2f7819bf2873e843398a79fe3c82","user":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":22074543,"node_id":"MDEwOlJlcG9zaXRvcnkyMjA3NDU0Mw==","name":"commcare-cloud","full_name":"dimagi/commcare-cloud","private":false,"owner":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dimagi/commcare-cloud","description":"Tools for standing up and managing a CommCare HQ server environment","fork":false,"url":"https://api.github.com/repos/dimagi/commcare-cloud","forks_url":"https://api.github.com/repos/dimagi/commcare-cloud/forks","keys_url":"https://api.github.com/repos/dimagi/commcare-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcare-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcare-cloud/teams","hooks_url":"https://api.github.com/repos/dimagi/commcare-cloud/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcare-cloud/events","assignees_url":"https://api.github.com/repos/dimagi/commcare-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcare-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcare-cloud/tags","blobs_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcare-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcare-cloud/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcare-cloud/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcare-cloud/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcare-cloud/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcare-cloud/subscription","commits_url":"https://api.github.com/repos/dimagi/commcare-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcare-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcare-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcare-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcare-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcare-cloud/merges","archive_url":"https://api.github.com/repos/dimagi/commcare-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcare-cloud/downloads","issues_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcare-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcare-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcare-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcare-cloud/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcare-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcare-cloud/deployments","created_at":"2014-07-21T18:04:26Z","updated_at":"2019-02-27T01:14:29Z","pushed_at":"2019-02-27T09:29:55Z","git_url":"git://github.com/dimagi/commcare-cloud.git","ssh_url":"git@github.com:dimagi/commcare-cloud.git","clone_url":"https://github.com/dimagi/commcare-cloud.git","svn_url":"https://github.com/dimagi/commcare-cloud","homepage":"https://dimagi.github.io/commcare-cloud/","size":13869,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":14,"open_issues":54,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695"},"html":{"href":"https://github.com/dimagi/commcare-cloud/pull/2695"},"issue":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2695"},"comments":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2695/comments"},"review_comments":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695/comments"},"review_comment":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/pulls/2695/commits"},"statuses":{"href":"https://api.github.com/repos/dimagi/commcare-cloud/statuses/55771df941498d823e087fb006018bf0f5fc2084"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"snopoke"}}