{"action":"created","comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments/59718462","id":59718462,"diff_hunk":"@@ -0,0 +1,104 @@\n+#!/bin/bash","path":"ansible/roles/prereq/templates/createImmortalDBs.sh.j2","position":1,"original_position":1,"commit_id":"b6c2b0560246a8b9199ba341dd633b9e66fc5f77","original_commit_id":"b6c2b0560246a8b9199ba341dd633b9e66fc5f77","user":{"login":"lehoanganh","id":1235825,"avatar_url":"https://avatars.githubusercontent.com/u/1235825?v=3","gravatar_id":"","url":"https://api.github.com/users/lehoanganh","html_url":"https://github.com/lehoanganh","followers_url":"https://api.github.com/users/lehoanganh/followers","following_url":"https://api.github.com/users/lehoanganh/following{/other_user}","gists_url":"https://api.github.com/users/lehoanganh/gists{/gist_id}","starred_url":"https://api.github.com/users/lehoanganh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lehoanganh/subscriptions","organizations_url":"https://api.github.com/users/lehoanganh/orgs","repos_url":"https://api.github.com/users/lehoanganh/repos","events_url":"https://api.github.com/users/lehoanganh/events{/privacy}","received_events_url":"https://api.github.com/users/lehoanganh/received_events","type":"User","site_admin":false},"body":"we will replace the j2 template with the real ansible way i.e. using modules to generate the immortal DBs","created_at":"2016-04-14T13:42:40Z","updated_at":"2016-04-14T13:42:40Z","html_url":"https://github.com/openwhisk/openwhisk/pull/209#discussion_r59718462","pull_request_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209","_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments/59718462"},"html":{"href":"https://github.com/openwhisk/openwhisk/pull/209#discussion_r59718462"},"pull_request":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209"}}},"pull_request":{"url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209","id":66448479,"html_url":"https://github.com/openwhisk/openwhisk/pull/209","diff_url":"https://github.com/openwhisk/openwhisk/pull/209.diff","patch_url":"https://github.com/openwhisk/openwhisk/pull/209.patch","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/209","number":209,"state":"open","locked":false,"title":"issue #197 restructure ansible deployment. using modes for deploy, clean, initdb","user":{"login":"domdom82","id":1755853,"avatar_url":"https://avatars.githubusercontent.com/u/1755853?v=3","gravatar_id":"","url":"https://api.github.com/users/domdom82","html_url":"https://github.com/domdom82","followers_url":"https://api.github.com/users/domdom82/followers","following_url":"https://api.github.com/users/domdom82/following{/other_user}","gists_url":"https://api.github.com/users/domdom82/gists{/gist_id}","starred_url":"https://api.github.com/users/domdom82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domdom82/subscriptions","organizations_url":"https://api.github.com/users/domdom82/orgs","repos_url":"https://api.github.com/users/domdom82/repos","events_url":"https://api.github.com/users/domdom82/events{/privacy}","received_events_url":"https://api.github.com/users/domdom82/received_events","type":"User","site_admin":false},"body":"adding roles for prereq and postdeploy as well as db role for local CouchDB.\r\n\r\nissue #197 introduce deploy and clean mode for each role\r\n\r\nissue #197 ignore errors on cleanup. invoker mounts provoke some device busy errors.\r\n\r\nissue #197 remove logs on cleanup.\r\n\r\nissue #197 don't create retry files\r\n\r\nissue #197 merge loadbalancer into controller. remove loadbalancer role.\r\n\r\nissue #197 createImmortalDBs, generate whisk.properties, env for travis\r\n\r\nissue #197 install ansible via pip on travis.\r\n\r\nissue #197 travis does not like us using port 53. changing back to 8600. we are not using consul dns anyway atm.\r\n\r\nissue #197 fix cli test\r\n\r\nissue #197 fix whisk.version.name and whisk.version.date\r\n\r\nissue #197 fix db prefix if hostname has uppercase letters\r\n\r\nissue #197 add db role to launch CouchDB if needed.\r\n\r\nissue #197 generate db env file to make ant build happy.\r\n\r\nSigned-off-by: Hoang Anh Le <hoang@de.ibm.com>","created_at":"2016-04-14T08:48:17Z","updated_at":"2016-04-14T13:42:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b68ef627cb977ec674208bc7c489a131f86f544","assignee":{"login":"markusthoemmes","id":1289147,"avatar_url":"https://avatars.githubusercontent.com/u/1289147?v=3","gravatar_id":"","url":"https://api.github.com/users/markusthoemmes","html_url":"https://github.com/markusthoemmes","followers_url":"https://api.github.com/users/markusthoemmes/followers","following_url":"https://api.github.com/users/markusthoemmes/following{/other_user}","gists_url":"https://api.github.com/users/markusthoemmes/gists{/gist_id}","starred_url":"https://api.github.com/users/markusthoemmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusthoemmes/subscriptions","organizations_url":"https://api.github.com/users/markusthoemmes/orgs","repos_url":"https://api.github.com/users/markusthoemmes/repos","events_url":"https://api.github.com/users/markusthoemmes/events{/privacy}","received_events_url":"https://api.github.com/users/markusthoemmes/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209/commits","review_comments_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209/comments","review_comment_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/209/comments","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk/statuses/b6c2b0560246a8b9199ba341dd633b9e66fc5f77","head":{"label":"domdom82:ansible_finalize","ref":"ansible_finalize","sha":"b6c2b0560246a8b9199ba341dd633b9e66fc5f77","user":{"login":"domdom82","id":1755853,"avatar_url":"https://avatars.githubusercontent.com/u/1755853?v=3","gravatar_id":"","url":"https://api.github.com/users/domdom82","html_url":"https://github.com/domdom82","followers_url":"https://api.github.com/users/domdom82/followers","following_url":"https://api.github.com/users/domdom82/following{/other_user}","gists_url":"https://api.github.com/users/domdom82/gists{/gist_id}","starred_url":"https://api.github.com/users/domdom82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domdom82/subscriptions","organizations_url":"https://api.github.com/users/domdom82/orgs","repos_url":"https://api.github.com/users/domdom82/repos","events_url":"https://api.github.com/users/domdom82/events{/privacy}","received_events_url":"https://api.github.com/users/domdom82/received_events","type":"User","site_admin":false},"repo":{"id":53428780,"name":"openwhisk","full_name":"domdom82/openwhisk","owner":{"login":"domdom82","id":1755853,"avatar_url":"https://avatars.githubusercontent.com/u/1755853?v=3","gravatar_id":"","url":"https://api.github.com/users/domdom82","html_url":"https://github.com/domdom82","followers_url":"https://api.github.com/users/domdom82/followers","following_url":"https://api.github.com/users/domdom82/following{/other_user}","gists_url":"https://api.github.com/users/domdom82/gists{/gist_id}","starred_url":"https://api.github.com/users/domdom82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domdom82/subscriptions","organizations_url":"https://api.github.com/users/domdom82/orgs","repos_url":"https://api.github.com/users/domdom82/repos","events_url":"https://api.github.com/users/domdom82/events{/privacy}","received_events_url":"https://api.github.com/users/domdom82/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domdom82/openwhisk","description":"OpenWhisk is a cloud-first distributed event-based programming service.","fork":true,"url":"https://api.github.com/repos/domdom82/openwhisk","forks_url":"https://api.github.com/repos/domdom82/openwhisk/forks","keys_url":"https://api.github.com/repos/domdom82/openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domdom82/openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domdom82/openwhisk/teams","hooks_url":"https://api.github.com/repos/domdom82/openwhisk/hooks","issue_events_url":"https://api.github.com/repos/domdom82/openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/domdom82/openwhisk/events","assignees_url":"https://api.github.com/repos/domdom82/openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/domdom82/openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/domdom82/openwhisk/tags","blobs_url":"https://api.github.com/repos/domdom82/openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domdom82/openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domdom82/openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/domdom82/openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domdom82/openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/domdom82/openwhisk/languages","stargazers_url":"https://api.github.com/repos/domdom82/openwhisk/stargazers","contributors_url":"https://api.github.com/repos/domdom82/openwhisk/contributors","subscribers_url":"https://api.github.com/repos/domdom82/openwhisk/subscribers","subscription_url":"https://api.github.com/repos/domdom82/openwhisk/subscription","commits_url":"https://api.github.com/repos/domdom82/openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/domdom82/openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/domdom82/openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/domdom82/openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/domdom82/openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/domdom82/openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domdom82/openwhisk/merges","archive_url":"https://api.github.com/repos/domdom82/openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domdom82/openwhisk/downloads","issues_url":"https://api.github.com/repos/domdom82/openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/domdom82/openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/domdom82/openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/domdom82/openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domdom82/openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/domdom82/openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/domdom82/openwhisk/deployments","created_at":"2016-03-08T16:48:03Z","updated_at":"2016-03-08T16:48:05Z","pushed_at":"2016-04-14T11:35:38Z","git_url":"git://github.com/domdom82/openwhisk.git","ssh_url":"git@github.com:domdom82/openwhisk.git","clone_url":"https://github.com/domdom82/openwhisk.git","svn_url":"https://github.com/domdom82/openwhisk","homepage":"","size":40582,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openwhisk:master","ref":"master","sha":"a17b939aae2441e4d3441c4efc44245f4cfede34","user":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"repo":{"id":52039373,"name":"openwhisk","full_name":"openwhisk/openwhisk","owner":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwhisk/openwhisk","description":"OpenWhisk is a cloud-first distributed event-based programming service.","fork":false,"url":"https://api.github.com/repos/openwhisk/openwhisk","forks_url":"https://api.github.com/repos/openwhisk/openwhisk/forks","keys_url":"https://api.github.com/repos/openwhisk/openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwhisk/openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwhisk/openwhisk/teams","hooks_url":"https://api.github.com/repos/openwhisk/openwhisk/hooks","issue_events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/openwhisk/openwhisk/events","assignees_url":"https://api.github.com/repos/openwhisk/openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/openwhisk/openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/openwhisk/openwhisk/tags","blobs_url":"https://api.github.com/repos/openwhisk/openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwhisk/openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwhisk/openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwhisk/openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/openwhisk/openwhisk/languages","stargazers_url":"https://api.github.com/repos/openwhisk/openwhisk/stargazers","contributors_url":"https://api.github.com/repos/openwhisk/openwhisk/contributors","subscribers_url":"https://api.github.com/repos/openwhisk/openwhisk/subscribers","subscription_url":"https://api.github.com/repos/openwhisk/openwhisk/subscription","commits_url":"https://api.github.com/repos/openwhisk/openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwhisk/openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwhisk/openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/openwhisk/openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwhisk/openwhisk/merges","archive_url":"https://api.github.com/repos/openwhisk/openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwhisk/openwhisk/downloads","issues_url":"https://api.github.com/repos/openwhisk/openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/openwhisk/openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/openwhisk/openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/openwhisk/openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/openwhisk/openwhisk/deployments","created_at":"2016-02-18T21:16:19Z","updated_at":"2016-04-14T09:49:16Z","pushed_at":"2016-04-14T11:35:38Z","git_url":"git://github.com/openwhisk/openwhisk.git","ssh_url":"git@github.com:openwhisk/openwhisk.git","clone_url":"https://github.com/openwhisk/openwhisk.git","svn_url":"https://github.com/openwhisk/openwhisk","homepage":"","size":41066,"stargazers_count":216,"watchers_count":216,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":49,"forks":58,"open_issues":49,"watchers":216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209"},"html":{"href":"https://github.com/openwhisk/openwhisk/pull/209"},"issue":{"href":"https://api.github.com/repos/openwhisk/openwhisk/issues/209"},"comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk/issues/209/comments"},"review_comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209/comments"},"review_comment":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/209/commits"},"statuses":{"href":"https://api.github.com/repos/openwhisk/openwhisk/statuses/b6c2b0560246a8b9199ba341dd633b9e66fc5f77"}}}}