{"action":"created","comment":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/comments/41171391","id":41171391,"diff_hunk":"@@ -17,27 +17,35 @@\n # under the License.\n #\n # update database connection\n+# /usr/bin/cloudstack-setup-databases cloud:password@$MYSQL_PORT_3306_TCP_ADDR\n # start cloudstack-management server\n-#/usr/bin/cloudstack-setup-databases cloud:password@$MYSQL_PORT_3306_TCP_ADDR\n \n # initial startup of the container to generage ssh_key\n # performed as privileged\n if [ ! -d /var/cloudstack/management/.ssh ]; then\n \tmknod /dev/loop6 -m0660 b 7 6\n fi\n-sleep 5\n \n-mysql -p\"$MYSQL_ENV_MYSQL_ROOT_PASSWORD\" -h\"$MYSQL_PORT_3306_TCP_ADDR\" \\\n+RESTART_REQUIRED=false\n+\n+until nc -z $MYSQL_PORT_3306_TCP_ADDR 3306; do","path":"tools/docker/init.sh_centos6","position":18,"original_position":18,"commit_id":"c633e90fd148092501af182a2eca78ad97dfc63d","original_commit_id":"c633e90fd148092501af182a2eca78ad97dfc63d","user":{"login":"runseb","id":1886299,"avatar_url":"https://avatars.githubusercontent.com/u/1886299?v=3","gravatar_id":"","url":"https://api.github.com/users/runseb","html_url":"https://github.com/runseb","followers_url":"https://api.github.com/users/runseb/followers","following_url":"https://api.github.com/users/runseb/following{/other_user}","gists_url":"https://api.github.com/users/runseb/gists{/gist_id}","starred_url":"https://api.github.com/users/runseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runseb/subscriptions","organizations_url":"https://api.github.com/users/runseb/orgs","repos_url":"https://api.github.com/users/runseb/repos","events_url":"https://api.github.com/users/runseb/events{/privacy}","received_events_url":"https://api.github.com/users/runseb/received_events","type":"User","site_admin":false},"body":"that would be good. giving a hint that the link is probably not there or not set properly....that's why the env does not exist","created_at":"2015-10-05T17:23:25Z","updated_at":"2015-10-05T17:23:25Z","html_url":"https://github.com/apache/cloudstack/pull/910#discussion_r41171391","pull_request_url":"https://api.github.com/repos/apache/cloudstack/pulls/910","_links":{"self":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/comments/41171391"},"html":{"href":"https://github.com/apache/cloudstack/pull/910#discussion_r41171391"},"pull_request":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/910"}}},"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/910","id":46735115,"html_url":"https://github.com/apache/cloudstack/pull/910","diff_url":"https://github.com/apache/cloudstack/pull/910.diff","patch_url":"https://github.com/apache/cloudstack/pull/910.patch","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/910","number":910,"state":"open","locked":false,"title":"Dockerfile part2","user":{"login":"pdion891","id":5923502,"avatar_url":"https://avatars.githubusercontent.com/u/5923502?v=3","gravatar_id":"","url":"https://api.github.com/users/pdion891","html_url":"https://github.com/pdion891","followers_url":"https://api.github.com/users/pdion891/followers","following_url":"https://api.github.com/users/pdion891/following{/other_user}","gists_url":"https://api.github.com/users/pdion891/gists{/gist_id}","starred_url":"https://api.github.com/users/pdion891/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdion891/subscriptions","organizations_url":"https://api.github.com/users/pdion891/orgs","repos_url":"https://api.github.com/users/pdion891/repos","events_url":"https://api.github.com/users/pdion891/events{/privacy}","received_events_url":"https://api.github.com/users/pdion891/received_events","type":"User","site_admin":false},"body":"This PR simplify download of systemvm templates, work with docker-compose and enable integration-api port and use of localstorage without reconfiguration of cloudstack.\r\n\r\nThanks\r\n","created_at":"2015-10-04T22:36:25Z","updated_at":"2015-10-05T17:23:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e22bffbd7dbfe799f9f45be43d470f1f1143094","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/cloudstack/pulls/910/commits","review_comments_url":"https://api.github.com/repos/apache/cloudstack/pulls/910/comments","review_comment_url":"https://api.github.com/repos/apache/cloudstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/910/comments","statuses_url":"https://api.github.com/repos/apache/cloudstack/statuses/c633e90fd148092501af182a2eca78ad97dfc63d","head":{"label":"pdion891:dockerfile5","ref":"dockerfile5","sha":"c633e90fd148092501af182a2eca78ad97dfc63d","user":{"login":"pdion891","id":5923502,"avatar_url":"https://avatars.githubusercontent.com/u/5923502?v=3","gravatar_id":"","url":"https://api.github.com/users/pdion891","html_url":"https://github.com/pdion891","followers_url":"https://api.github.com/users/pdion891/followers","following_url":"https://api.github.com/users/pdion891/following{/other_user}","gists_url":"https://api.github.com/users/pdion891/gists{/gist_id}","starred_url":"https://api.github.com/users/pdion891/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdion891/subscriptions","organizations_url":"https://api.github.com/users/pdion891/orgs","repos_url":"https://api.github.com/users/pdion891/repos","events_url":"https://api.github.com/users/pdion891/events{/privacy}","received_events_url":"https://api.github.com/users/pdion891/received_events","type":"User","site_admin":false},"repo":{"id":22960513,"name":"cloudstack","full_name":"pdion891/cloudstack","owner":{"login":"pdion891","id":5923502,"avatar_url":"https://avatars.githubusercontent.com/u/5923502?v=3","gravatar_id":"","url":"https://api.github.com/users/pdion891","html_url":"https://github.com/pdion891","followers_url":"https://api.github.com/users/pdion891/followers","following_url":"https://api.github.com/users/pdion891/following{/other_user}","gists_url":"https://api.github.com/users/pdion891/gists{/gist_id}","starred_url":"https://api.github.com/users/pdion891/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdion891/subscriptions","organizations_url":"https://api.github.com/users/pdion891/orgs","repos_url":"https://api.github.com/users/pdion891/repos","events_url":"https://api.github.com/users/pdion891/events{/privacy}","received_events_url":"https://api.github.com/users/pdion891/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pdion891/cloudstack","description":"Mirror of Apache Cloudstack","fork":true,"url":"https://api.github.com/repos/pdion891/cloudstack","forks_url":"https://api.github.com/repos/pdion891/cloudstack/forks","keys_url":"https://api.github.com/repos/pdion891/cloudstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pdion891/cloudstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pdion891/cloudstack/teams","hooks_url":"https://api.github.com/repos/pdion891/cloudstack/hooks","issue_events_url":"https://api.github.com/repos/pdion891/cloudstack/issues/events{/number}","events_url":"https://api.github.com/repos/pdion891/cloudstack/events","assignees_url":"https://api.github.com/repos/pdion891/cloudstack/assignees{/user}","branches_url":"https://api.github.com/repos/pdion891/cloudstack/branches{/branch}","tags_url":"https://api.github.com/repos/pdion891/cloudstack/tags","blobs_url":"https://api.github.com/repos/pdion891/cloudstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pdion891/cloudstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pdion891/cloudstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/pdion891/cloudstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pdion891/cloudstack/statuses/{sha}","languages_url":"https://api.github.com/repos/pdion891/cloudstack/languages","stargazers_url":"https://api.github.com/repos/pdion891/cloudstack/stargazers","contributors_url":"https://api.github.com/repos/pdion891/cloudstack/contributors","subscribers_url":"https://api.github.com/repos/pdion891/cloudstack/subscribers","subscription_url":"https://api.github.com/repos/pdion891/cloudstack/subscription","commits_url":"https://api.github.com/repos/pdion891/cloudstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/pdion891/cloudstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/pdion891/cloudstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/pdion891/cloudstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/pdion891/cloudstack/contents/{+path}","compare_url":"https://api.github.com/repos/pdion891/cloudstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pdion891/cloudstack/merges","archive_url":"https://api.github.com/repos/pdion891/cloudstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pdion891/cloudstack/downloads","issues_url":"https://api.github.com/repos/pdion891/cloudstack/issues{/number}","pulls_url":"https://api.github.com/repos/pdion891/cloudstack/pulls{/number}","milestones_url":"https://api.github.com/repos/pdion891/cloudstack/milestones{/number}","notifications_url":"https://api.github.com/repos/pdion891/cloudstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pdion891/cloudstack/labels{/name}","releases_url":"https://api.github.com/repos/pdion891/cloudstack/releases{/id}","created_at":"2014-08-14T16:21:50Z","updated_at":"2014-10-31T23:01:40Z","pushed_at":"2015-10-05T02:02:08Z","git_url":"git://github.com/pdion891/cloudstack.git","ssh_url":"git@github.com:pdion891/cloudstack.git","clone_url":"https://github.com/pdion891/cloudstack.git","svn_url":"https://github.com/pdion891/cloudstack","homepage":null,"size":488124,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"78f74295e15fd396c8d8736f4a787cc8d3b165a4","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":9759448,"name":"cloudstack","full_name":"apache/cloudstack","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cloudstack","description":"Mirror of Apache Cloudstack","fork":false,"url":"https://api.github.com/repos/apache/cloudstack","forks_url":"https://api.github.com/repos/apache/cloudstack/forks","keys_url":"https://api.github.com/repos/apache/cloudstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cloudstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cloudstack/teams","hooks_url":"https://api.github.com/repos/apache/cloudstack/hooks","issue_events_url":"https://api.github.com/repos/apache/cloudstack/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cloudstack/events","assignees_url":"https://api.github.com/repos/apache/cloudstack/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cloudstack/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cloudstack/tags","blobs_url":"https://api.github.com/repos/apache/cloudstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cloudstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cloudstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cloudstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cloudstack/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cloudstack/languages","stargazers_url":"https://api.github.com/repos/apache/cloudstack/stargazers","contributors_url":"https://api.github.com/repos/apache/cloudstack/contributors","subscribers_url":"https://api.github.com/repos/apache/cloudstack/subscribers","subscription_url":"https://api.github.com/repos/apache/cloudstack/subscription","commits_url":"https://api.github.com/repos/apache/cloudstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cloudstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cloudstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cloudstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cloudstack/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cloudstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cloudstack/merges","archive_url":"https://api.github.com/repos/apache/cloudstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cloudstack/downloads","issues_url":"https://api.github.com/repos/apache/cloudstack/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cloudstack/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cloudstack/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cloudstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cloudstack/labels{/name}","releases_url":"https://api.github.com/repos/apache/cloudstack/releases{/id}","created_at":"2013-04-29T22:27:12Z","updated_at":"2015-10-02T16:31:27Z","pushed_at":"2015-10-05T15:34:48Z","git_url":"git://github.com/apache/cloudstack.git","ssh_url":"git@github.com:apache/cloudstack.git","clone_url":"https://github.com/apache/cloudstack.git","svn_url":"https://github.com/apache/cloudstack","homepage":null,"size":759497,"stargazers_count":296,"watchers_count":296,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":380,"mirror_url":"git://git.apache.org/cloudstack.git","open_issues_count":104,"forks":380,"open_issues":104,"watchers":296,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/910"},"html":{"href":"https://github.com/apache/cloudstack/pull/910"},"issue":{"href":"https://api.github.com/repos/apache/cloudstack/issues/910"},"comments":{"href":"https://api.github.com/repos/apache/cloudstack/issues/910/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/910/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/910/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cloudstack/statuses/c633e90fd148092501af182a2eca78ad97dfc63d"}}}}