{"action":"created","comment":{"url":"https://api.github.com/repos/blueboxgroup/ursula/pulls/comments/40152949","id":40152949,"diff_hunk":"@@ -0,0 +1,332 @@\n+#!/usr/bin/python\n+#\n+\n+# (c) 2014, Pavel Antonov <antonov@adwz.ru>\n+#\n+# This file is part of Ansible\n+#\n+# This module is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# This software is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this software.  If not, see <http://www.gnu.org/licenses/>.\n+\n+######################################################################\n+\n+DOCUMENTATION = '''\n+---\n+module: docker_image\n+author: \"Pavel Antonov (@softzilla)\"\n+version_added: \"1.5\"","path":"library/docker_image.py","position":27,"original_position":27,"commit_id":"830717bd2d76746adf91e0a67bd2830b1a116ed2","original_commit_id":"830717bd2d76746adf91e0a67bd2830b1a116ed2","user":{"login":"j2sol","id":523287,"avatar_url":"https://avatars.githubusercontent.com/u/523287?v=3","gravatar_id":"","url":"https://api.github.com/users/j2sol","html_url":"https://github.com/j2sol","followers_url":"https://api.github.com/users/j2sol/followers","following_url":"https://api.github.com/users/j2sol/following{/other_user}","gists_url":"https://api.github.com/users/j2sol/gists{/gist_id}","starred_url":"https://api.github.com/users/j2sol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j2sol/subscriptions","organizations_url":"https://api.github.com/users/j2sol/orgs","repos_url":"https://api.github.com/users/j2sol/repos","events_url":"https://api.github.com/users/j2sol/events{/privacy}","received_events_url":"https://api.github.com/users/j2sol/received_events","type":"User","site_admin":false},"body":"Same question about this. Why are we including it in ursula?","created_at":"2015-09-22T22:30:30Z","updated_at":"2015-09-22T22:30:30Z","html_url":"https://github.com/blueboxgroup/ursula/pull/1211#discussion_r40152949","pull_request_url":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211","_links":{"self":{"href":"https://api.github.com/repos/blueboxgroup/ursula/pulls/comments/40152949"},"html":{"href":"https://github.com/blueboxgroup/ursula/pull/1211#discussion_r40152949"},"pull_request":{"href":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211"}}},"pull_request":{"url":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211","id":45499843,"html_url":"https://github.com/blueboxgroup/ursula/pull/1211","diff_url":"https://github.com/blueboxgroup/ursula/pull/1211.diff","patch_url":"https://github.com/blueboxgroup/ursula/pull/1211.patch","issue_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/1211","number":1211,"state":"open","locked":false,"title":"Experimental docker support for running openstack projects","user":{"login":"paulczar","id":2488346,"avatar_url":"https://avatars.githubusercontent.com/u/2488346?v=3","gravatar_id":"","url":"https://api.github.com/users/paulczar","html_url":"https://github.com/paulczar","followers_url":"https://api.github.com/users/paulczar/followers","following_url":"https://api.github.com/users/paulczar/following{/other_user}","gists_url":"https://api.github.com/users/paulczar/gists{/gist_id}","starred_url":"https://api.github.com/users/paulczar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulczar/subscriptions","organizations_url":"https://api.github.com/users/paulczar/orgs","repos_url":"https://api.github.com/users/paulczar/repos","events_url":"https://api.github.com/users/paulczar/events{/privacy}","received_events_url":"https://api.github.com/users/paulczar/received_events","type":"User","site_admin":false},"body":"Very early and experimental support for running openstack projects in docker containers.\r\n\r\nHEAT used as an example.\r\n\r\nbasic premise ...   \r\n\r\n* docker registry is installed on controller nodes ( need to set up replication between them via rsync or something )\r\n* `openstack-docker` role attempts to fetch container from registry, if it doesn't exist it will build it using giftwrap and upload.\r\n* alternatives are used to create bash functions in `/etc/profile.d/` to do a docker run for the various commands we want to expose to the host cli.\r\n* config, logs, cacert are volume mounted into container at runtime\r\n* uses host networking to avoid port mapping shenanigans.","created_at":"2015-09-20T17:02:19Z","updated_at":"2015-09-22T22:30:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e7db4e8f772eeedee7d9031e7bdc4e8cdb4a481","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211/commits","review_comments_url":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211/comments","review_comment_url":"https://api.github.com/repos/blueboxgroup/ursula/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/1211/comments","statuses_url":"https://api.github.com/repos/blueboxgroup/ursula/statuses/830717bd2d76746adf91e0a67bd2830b1a116ed2","head":{"label":"blueboxgroup:docker_support","ref":"docker_support","sha":"830717bd2d76746adf91e0a67bd2830b1a116ed2","user":{"login":"blueboxgroup","id":458705,"avatar_url":"https://avatars.githubusercontent.com/u/458705?v=3","gravatar_id":"","url":"https://api.github.com/users/blueboxgroup","html_url":"https://github.com/blueboxgroup","followers_url":"https://api.github.com/users/blueboxgroup/followers","following_url":"https://api.github.com/users/blueboxgroup/following{/other_user}","gists_url":"https://api.github.com/users/blueboxgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/blueboxgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueboxgroup/subscriptions","organizations_url":"https://api.github.com/users/blueboxgroup/orgs","repos_url":"https://api.github.com/users/blueboxgroup/repos","events_url":"https://api.github.com/users/blueboxgroup/events{/privacy}","received_events_url":"https://api.github.com/users/blueboxgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":11848896,"name":"ursula","full_name":"blueboxgroup/ursula","owner":{"login":"blueboxgroup","id":458705,"avatar_url":"https://avatars.githubusercontent.com/u/458705?v=3","gravatar_id":"","url":"https://api.github.com/users/blueboxgroup","html_url":"https://github.com/blueboxgroup","followers_url":"https://api.github.com/users/blueboxgroup/followers","following_url":"https://api.github.com/users/blueboxgroup/following{/other_user}","gists_url":"https://api.github.com/users/blueboxgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/blueboxgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueboxgroup/subscriptions","organizations_url":"https://api.github.com/users/blueboxgroup/orgs","repos_url":"https://api.github.com/users/blueboxgroup/repos","events_url":"https://api.github.com/users/blueboxgroup/events{/privacy}","received_events_url":"https://api.github.com/users/blueboxgroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blueboxgroup/ursula","description":"Ansible playbooks for operating OpenStack - Powering Blue Box Cloud.","fork":false,"url":"https://api.github.com/repos/blueboxgroup/ursula","forks_url":"https://api.github.com/repos/blueboxgroup/ursula/forks","keys_url":"https://api.github.com/repos/blueboxgroup/ursula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueboxgroup/ursula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueboxgroup/ursula/teams","hooks_url":"https://api.github.com/repos/blueboxgroup/ursula/hooks","issue_events_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/events{/number}","events_url":"https://api.github.com/repos/blueboxgroup/ursula/events","assignees_url":"https://api.github.com/repos/blueboxgroup/ursula/assignees{/user}","branches_url":"https://api.github.com/repos/blueboxgroup/ursula/branches{/branch}","tags_url":"https://api.github.com/repos/blueboxgroup/ursula/tags","blobs_url":"https://api.github.com/repos/blueboxgroup/ursula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueboxgroup/ursula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueboxgroup/ursula/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueboxgroup/ursula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueboxgroup/ursula/statuses/{sha}","languages_url":"https://api.github.com/repos/blueboxgroup/ursula/languages","stargazers_url":"https://api.github.com/repos/blueboxgroup/ursula/stargazers","contributors_url":"https://api.github.com/repos/blueboxgroup/ursula/contributors","subscribers_url":"https://api.github.com/repos/blueboxgroup/ursula/subscribers","subscription_url":"https://api.github.com/repos/blueboxgroup/ursula/subscription","commits_url":"https://api.github.com/repos/blueboxgroup/ursula/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueboxgroup/ursula/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueboxgroup/ursula/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueboxgroup/ursula/contents/{+path}","compare_url":"https://api.github.com/repos/blueboxgroup/ursula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueboxgroup/ursula/merges","archive_url":"https://api.github.com/repos/blueboxgroup/ursula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueboxgroup/ursula/downloads","issues_url":"https://api.github.com/repos/blueboxgroup/ursula/issues{/number}","pulls_url":"https://api.github.com/repos/blueboxgroup/ursula/pulls{/number}","milestones_url":"https://api.github.com/repos/blueboxgroup/ursula/milestones{/number}","notifications_url":"https://api.github.com/repos/blueboxgroup/ursula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueboxgroup/ursula/labels{/name}","releases_url":"https://api.github.com/repos/blueboxgroup/ursula/releases{/id}","created_at":"2013-08-02T17:37:26Z","updated_at":"2015-09-15T20:40:42Z","pushed_at":"2015-09-22T22:10:12Z","git_url":"git://github.com/blueboxgroup/ursula.git","ssh_url":"git@github.com:blueboxgroup/ursula.git","clone_url":"https://github.com/blueboxgroup/ursula.git","svn_url":"https://github.com/blueboxgroup/ursula","homepage":"https://www.blueboxcloud.com","size":13969,"stargazers_count":100,"watchers_count":100,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":41,"forks":59,"open_issues":41,"watchers":100,"default_branch":"master"}},"base":{"label":"blueboxgroup:magnum","ref":"magnum","sha":"3e64f346416c6ec86f858e7050adc2800ddb7519","user":{"login":"blueboxgroup","id":458705,"avatar_url":"https://avatars.githubusercontent.com/u/458705?v=3","gravatar_id":"","url":"https://api.github.com/users/blueboxgroup","html_url":"https://github.com/blueboxgroup","followers_url":"https://api.github.com/users/blueboxgroup/followers","following_url":"https://api.github.com/users/blueboxgroup/following{/other_user}","gists_url":"https://api.github.com/users/blueboxgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/blueboxgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueboxgroup/subscriptions","organizations_url":"https://api.github.com/users/blueboxgroup/orgs","repos_url":"https://api.github.com/users/blueboxgroup/repos","events_url":"https://api.github.com/users/blueboxgroup/events{/privacy}","received_events_url":"https://api.github.com/users/blueboxgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":11848896,"name":"ursula","full_name":"blueboxgroup/ursula","owner":{"login":"blueboxgroup","id":458705,"avatar_url":"https://avatars.githubusercontent.com/u/458705?v=3","gravatar_id":"","url":"https://api.github.com/users/blueboxgroup","html_url":"https://github.com/blueboxgroup","followers_url":"https://api.github.com/users/blueboxgroup/followers","following_url":"https://api.github.com/users/blueboxgroup/following{/other_user}","gists_url":"https://api.github.com/users/blueboxgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/blueboxgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueboxgroup/subscriptions","organizations_url":"https://api.github.com/users/blueboxgroup/orgs","repos_url":"https://api.github.com/users/blueboxgroup/repos","events_url":"https://api.github.com/users/blueboxgroup/events{/privacy}","received_events_url":"https://api.github.com/users/blueboxgroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blueboxgroup/ursula","description":"Ansible playbooks for operating OpenStack - Powering Blue Box Cloud.","fork":false,"url":"https://api.github.com/repos/blueboxgroup/ursula","forks_url":"https://api.github.com/repos/blueboxgroup/ursula/forks","keys_url":"https://api.github.com/repos/blueboxgroup/ursula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueboxgroup/ursula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueboxgroup/ursula/teams","hooks_url":"https://api.github.com/repos/blueboxgroup/ursula/hooks","issue_events_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/events{/number}","events_url":"https://api.github.com/repos/blueboxgroup/ursula/events","assignees_url":"https://api.github.com/repos/blueboxgroup/ursula/assignees{/user}","branches_url":"https://api.github.com/repos/blueboxgroup/ursula/branches{/branch}","tags_url":"https://api.github.com/repos/blueboxgroup/ursula/tags","blobs_url":"https://api.github.com/repos/blueboxgroup/ursula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueboxgroup/ursula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueboxgroup/ursula/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueboxgroup/ursula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueboxgroup/ursula/statuses/{sha}","languages_url":"https://api.github.com/repos/blueboxgroup/ursula/languages","stargazers_url":"https://api.github.com/repos/blueboxgroup/ursula/stargazers","contributors_url":"https://api.github.com/repos/blueboxgroup/ursula/contributors","subscribers_url":"https://api.github.com/repos/blueboxgroup/ursula/subscribers","subscription_url":"https://api.github.com/repos/blueboxgroup/ursula/subscription","commits_url":"https://api.github.com/repos/blueboxgroup/ursula/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueboxgroup/ursula/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueboxgroup/ursula/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueboxgroup/ursula/contents/{+path}","compare_url":"https://api.github.com/repos/blueboxgroup/ursula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueboxgroup/ursula/merges","archive_url":"https://api.github.com/repos/blueboxgroup/ursula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueboxgroup/ursula/downloads","issues_url":"https://api.github.com/repos/blueboxgroup/ursula/issues{/number}","pulls_url":"https://api.github.com/repos/blueboxgroup/ursula/pulls{/number}","milestones_url":"https://api.github.com/repos/blueboxgroup/ursula/milestones{/number}","notifications_url":"https://api.github.com/repos/blueboxgroup/ursula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueboxgroup/ursula/labels{/name}","releases_url":"https://api.github.com/repos/blueboxgroup/ursula/releases{/id}","created_at":"2013-08-02T17:37:26Z","updated_at":"2015-09-15T20:40:42Z","pushed_at":"2015-09-22T22:10:12Z","git_url":"git://github.com/blueboxgroup/ursula.git","ssh_url":"git@github.com:blueboxgroup/ursula.git","clone_url":"https://github.com/blueboxgroup/ursula.git","svn_url":"https://github.com/blueboxgroup/ursula","homepage":"https://www.blueboxcloud.com","size":13969,"stargazers_count":100,"watchers_count":100,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":41,"forks":59,"open_issues":41,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211"},"html":{"href":"https://github.com/blueboxgroup/ursula/pull/1211"},"issue":{"href":"https://api.github.com/repos/blueboxgroup/ursula/issues/1211"},"comments":{"href":"https://api.github.com/repos/blueboxgroup/ursula/issues/1211/comments"},"review_comments":{"href":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211/comments"},"review_comment":{"href":"https://api.github.com/repos/blueboxgroup/ursula/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1211/commits"},"statuses":{"href":"https://api.github.com/repos/blueboxgroup/ursula/statuses/830717bd2d76746adf91e0a67bd2830b1a116ed2"}}}}