{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/39750406","id":39750406,"diff_hunk":"@@ -0,0 +1,59 @@\n+# OpenShift and GlusterFS – running NGINX applications with Storage\n+---\n+### Environment:\n+This environment consists of 4 hosts: \n+* 2 GlusterFS nodes consisting of the gluster cluster (gluster1.rhs and gluster2.rhs)\n+* 2 RHEL7 Atomic Hosts running OpenShift and GlusterFS Client (master= ose1.rhs and node1 = ose2.rhs)\n+\n+OpenShift is installed from [OpenShift Admin Guide – quick installation](https://docs.openshift.com/enterprise/3.0/admin_guide/install/quick_install.html) and operational (meaning the server is running and you can login to the OpenShift Console via the GUI - https://master-host:8443/console).  Also the gluster cluster has been tested with all RHEL Atomic Nodes and is working properly and accessible to the OpenShift nodes.  \n+\n+Below is a summary of the Gluster Volume Info used for this example:\n+\n+\n+| Attribute       | Value                 |\n+|:--------------- | --------------------- | \n+| Volume Name     | myVol1                |\n+| Status          | Started               |\n+| Num Bricks      | 2                     |\n+| Brick1          | gluster1.rhs:/mnt/brick1/gv0 |\n+| Brick2          | gluster2.rhs:/mnt/brick1/gv1 |\n+\n+| Attribute       | Value                 |\n+|:--------------- | --------------------- |\n+| Volume Name     | myVol2                |\n+| Status          | Started               |\n+| Num Bricks      | 2                     |\n+| Brick1          | gluster1.rhs:/mnt/brick1/gv1 |\n+| Brick2          | gluster2.rhs:/mnt/brick1/gv2 |\n+","path":"examples/storage-examples/gluster-examples/README.md","position":28,"original_position":28,"commit_id":"92b969fd9afdb5fd26ea3c494e1854cf2aadfee5","original_commit_id":"92b969fd9afdb5fd26ea3c494e1854cf2aadfee5","user":{"login":"childsb","id":722782,"avatar_url":"https://avatars.githubusercontent.com/u/722782?v=3","gravatar_id":"","url":"https://api.github.com/users/childsb","html_url":"https://github.com/childsb","followers_url":"https://api.github.com/users/childsb/followers","following_url":"https://api.github.com/users/childsb/following{/other_user}","gists_url":"https://api.github.com/users/childsb/gists{/gist_id}","starred_url":"https://api.github.com/users/childsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/childsb/subscriptions","organizations_url":"https://api.github.com/users/childsb/orgs","repos_url":"https://api.github.com/users/childsb/repos","events_url":"https://api.github.com/users/childsb/events{/privacy}","received_events_url":"https://api.github.com/users/childsb/received_events","type":"User","site_admin":false},"body":"The bricks of myVol1 and myVol2 overlap on /mnt/brick1/gv1 which will not work\r\nAlso, The brick names are a slightly confusing here.  Convention is along the lines of:\r\n\r\n/mnt/brick{1..n}/volumeName \r\n\r\nAnd in this case should be: /mnt/brick1/myVol1 and /mnt/brick1/myVol2 on both hosts.  \r\n\r\nor if sharing a mass of space mounted at /mnt/bricks:\r\n\r\n/mnt/bricks/brick{1..n}/volName\r\n","created_at":"2015-09-17T14:20:46Z","updated_at":"2015-09-17T14:20:46Z","html_url":"https://github.com/openshift/origin/pull/4408#discussion_r39750406","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/4408","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/39750406"},"html":{"href":"https://github.com/openshift/origin/pull/4408#discussion_r39750406"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/4408"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/4408","id":43630885,"html_url":"https://github.com/openshift/origin/pull/4408","diff_url":"https://github.com/openshift/origin/pull/4408.diff","patch_url":"https://github.com/openshift/origin/pull/4408.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/4408","number":4408,"state":"open","locked":false,"title":"Local and GlusterFS nginx examples under a new \"storage_examples\" directory","user":{"login":"screeley44","id":6773375,"avatar_url":"https://avatars.githubusercontent.com/u/6773375?v=3","gravatar_id":"","url":"https://api.github.com/users/screeley44","html_url":"https://github.com/screeley44","followers_url":"https://api.github.com/users/screeley44/followers","following_url":"https://api.github.com/users/screeley44/following{/other_user}","gists_url":"https://api.github.com/users/screeley44/gists{/gist_id}","starred_url":"https://api.github.com/users/screeley44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screeley44/subscriptions","organizations_url":"https://api.github.com/users/screeley44/orgs","repos_url":"https://api.github.com/users/screeley44/repos","events_url":"https://api.github.com/users/screeley44/events{/privacy}","received_events_url":"https://api.github.com/users/screeley44/received_events","type":"User","site_admin":false},"body":"Local and GlusterFS nginx examples under a new \"storage_examples\" directory.  This is a high level tutorial that users can use to get familiar with gluster and the possible ways to use it within OpenShift.","created_at":"2015-08-28T14:03:31Z","updated_at":"2015-09-17T14:20:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0e7c5ca4f44987de4e17c410146b7924b24de08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/4408/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/4408/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/4408/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/92b969fd9afdb5fd26ea3c494e1854cf2aadfee5","head":{"label":"screeley44:storage_docs","ref":"storage_docs","sha":"92b969fd9afdb5fd26ea3c494e1854cf2aadfee5","user":{"login":"screeley44","id":6773375,"avatar_url":"https://avatars.githubusercontent.com/u/6773375?v=3","gravatar_id":"","url":"https://api.github.com/users/screeley44","html_url":"https://github.com/screeley44","followers_url":"https://api.github.com/users/screeley44/followers","following_url":"https://api.github.com/users/screeley44/following{/other_user}","gists_url":"https://api.github.com/users/screeley44/gists{/gist_id}","starred_url":"https://api.github.com/users/screeley44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screeley44/subscriptions","organizations_url":"https://api.github.com/users/screeley44/orgs","repos_url":"https://api.github.com/users/screeley44/repos","events_url":"https://api.github.com/users/screeley44/events{/privacy}","received_events_url":"https://api.github.com/users/screeley44/received_events","type":"User","site_admin":false},"repo":{"id":41106770,"name":"origin","full_name":"screeley44/origin","owner":{"login":"screeley44","id":6773375,"avatar_url":"https://avatars.githubusercontent.com/u/6773375?v=3","gravatar_id":"","url":"https://api.github.com/users/screeley44","html_url":"https://github.com/screeley44","followers_url":"https://api.github.com/users/screeley44/followers","following_url":"https://api.github.com/users/screeley44/following{/other_user}","gists_url":"https://api.github.com/users/screeley44/gists{/gist_id}","starred_url":"https://api.github.com/users/screeley44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screeley44/subscriptions","organizations_url":"https://api.github.com/users/screeley44/orgs","repos_url":"https://api.github.com/users/screeley44/repos","events_url":"https://api.github.com/users/screeley44/events{/privacy}","received_events_url":"https://api.github.com/users/screeley44/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/screeley44/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/screeley44/origin","forks_url":"https://api.github.com/repos/screeley44/origin/forks","keys_url":"https://api.github.com/repos/screeley44/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screeley44/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screeley44/origin/teams","hooks_url":"https://api.github.com/repos/screeley44/origin/hooks","issue_events_url":"https://api.github.com/repos/screeley44/origin/issues/events{/number}","events_url":"https://api.github.com/repos/screeley44/origin/events","assignees_url":"https://api.github.com/repos/screeley44/origin/assignees{/user}","branches_url":"https://api.github.com/repos/screeley44/origin/branches{/branch}","tags_url":"https://api.github.com/repos/screeley44/origin/tags","blobs_url":"https://api.github.com/repos/screeley44/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screeley44/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screeley44/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/screeley44/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screeley44/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/screeley44/origin/languages","stargazers_url":"https://api.github.com/repos/screeley44/origin/stargazers","contributors_url":"https://api.github.com/repos/screeley44/origin/contributors","subscribers_url":"https://api.github.com/repos/screeley44/origin/subscribers","subscription_url":"https://api.github.com/repos/screeley44/origin/subscription","commits_url":"https://api.github.com/repos/screeley44/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/screeley44/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/screeley44/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/screeley44/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/screeley44/origin/contents/{+path}","compare_url":"https://api.github.com/repos/screeley44/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screeley44/origin/merges","archive_url":"https://api.github.com/repos/screeley44/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screeley44/origin/downloads","issues_url":"https://api.github.com/repos/screeley44/origin/issues{/number}","pulls_url":"https://api.github.com/repos/screeley44/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/screeley44/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/screeley44/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screeley44/origin/labels{/name}","releases_url":"https://api.github.com/repos/screeley44/origin/releases{/id}","created_at":"2015-08-20T16:29:43Z","updated_at":"2015-08-20T16:29:47Z","pushed_at":"2015-08-31T16:48:55Z","git_url":"git://github.com/screeley44/origin.git","ssh_url":"git@github.com:screeley44/origin.git","clone_url":"https://github.com/screeley44/origin.git","svn_url":"https://github.com/screeley44/origin","homepage":"http://www.openshift.org","size":132688,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"openshift:master","ref":"master","sha":"cac6c641f04aacf3d110593bca5504ae9a4ec92b","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","created_at":"2014-07-30T20:04:05Z","updated_at":"2015-09-17T11:58:05Z","pushed_at":"2015-09-17T14:09:49Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":237756,"stargazers_count":683,"watchers_count":683,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":414,"mirror_url":null,"open_issues_count":536,"forks":414,"open_issues":536,"watchers":683,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/4408"},"html":{"href":"https://github.com/openshift/origin/pull/4408"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/4408"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/4408/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/4408/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/4408/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/92b969fd9afdb5fd26ea3c494e1854cf2aadfee5"}}}}