{"action":"created","comment":{"url":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/comments/178600237","pull_request_review_id":108239791,"id":178600237,"diff_hunk":"@@ -0,0 +1,49 @@\n+---\n+post_title: Troubleshooting\n+menu_order: 90\n+enterprise: 'no'\n+---\n+\n+<a name=\"accessing-logs\"></a>\n+# Accessing Logs\n+\n+Logs for the scheduler and all service nodes can be viewed from the DC/OS web interface.\n+\n+- Scheduler logs are useful for determining why a node is not being launched (this is under the purview of the Scheduler).\n+- Node logs are useful for examining problems in the service itself.\n+\n+In all cases, logs are generally piped to files name `stdout` and/or `stderr`.\n+\n+To view logs for a given node, perform the following steps:\n+1. Visit <dcos-url> to access the DC/OS web interface.\n+1. Navigate to `Services` and click on the service to be examined (default `percona-mongo`).\n+1. In the list of tasks for the service, click on the task to be examined (scheduler is named after the service, nodes are each `mongo-rs-<NUM>-node`).\n+1. In the task details, click on the `Logs` tab to go into the log viewer. By default, you will see `stdout`, but `stderr` is also useful. Use the pull-down in the upper right to select the file to be examined.\n+\n+You can also access the logs via the Mesos UI:\n+1. Visit <dcos-url>/mesos to view the Mesos UI.\n+1. Click the `Frameworks` tab in the upper left to get a list of services running in the cluster.\n+1. Navigate into the correct framework for your needs. The scheduler runs under `marathon` with a task name matching the service name (default _`percona-mongo`_). Service nodes run under a framework whose name matches the service name (default _`percona-mongo`_).\n+1. You should now see two lists of tasks. `Active Tasks` are tasks currently running, and `Completed Tasks` are tasks that have exited. Click on the `Sandbox` link for the task you wish to examine.\n+1. The `Sandbox` view will list files named `stdout` and `stderr`. Click the file names to view the files in the browser, or click `Download` to download the file to your system for local examination. Note that very old tasks will have their Sandbox automatically deleted to limit disk space usage.\n+\n+<a name=\"accessing-metrics\"></a>\n+# Accessing Metrics\n+_PROVIDE INSTRUCTIONS FOR ACCESSING METRICS OR INDICATE A LACK OF METRICS W/I LIMITATIONS.MD._","path":"pages/services/percona-mongo/0.2.0-3.4.13/troubleshooting/index.md","position":32,"original_position":32,"commit_id":"7a6da0c4d3155765cf89452286d4e0d9a0390f50","original_commit_id":"7a6da0c4d3155765cf89452286d4e0d9a0390f50","user":{"login":"pavisandhu","id":32348643,"avatar_url":"https://avatars3.githubusercontent.com/u/32348643?v=4","gravatar_id":"","url":"https://api.github.com/users/pavisandhu","html_url":"https://github.com/pavisandhu","followers_url":"https://api.github.com/users/pavisandhu/followers","following_url":"https://api.github.com/users/pavisandhu/following{/other_user}","gists_url":"https://api.github.com/users/pavisandhu/gists{/gist_id}","starred_url":"https://api.github.com/users/pavisandhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavisandhu/subscriptions","organizations_url":"https://api.github.com/users/pavisandhu/orgs","repos_url":"https://api.github.com/users/pavisandhu/repos","events_url":"https://api.github.com/users/pavisandhu/events{/privacy}","received_events_url":"https://api.github.com/users/pavisandhu/received_events","type":"User","site_admin":false},"body":"This is placeholder text. Either add the relevant content, or remove this text.","created_at":"2018-04-02T17:42:08Z","updated_at":"2018-04-02T17:43:14Z","html_url":"https://github.com/mesosphere/dcos-docs-site/pull/794#discussion_r178600237","pull_request_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/comments/178600237"},"html":{"href":"https://github.com/mesosphere/dcos-docs-site/pull/794#discussion_r178600237"},"pull_request":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794"}}},"pull_request":{"url":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794","id":178351278,"html_url":"https://github.com/mesosphere/dcos-docs-site/pull/794","diff_url":"https://github.com/mesosphere/dcos-docs-site/pull/794.diff","patch_url":"https://github.com/mesosphere/dcos-docs-site/pull/794.patch","issue_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/issues/794","number":794,"state":"open","locked":false,"title":"Percona-mongo 0.2.0-3.4.13","user":{"login":"timvaillancourt","id":3202797,"avatar_url":"https://avatars0.githubusercontent.com/u/3202797?v=4","gravatar_id":"","url":"https://api.github.com/users/timvaillancourt","html_url":"https://github.com/timvaillancourt","followers_url":"https://api.github.com/users/timvaillancourt/followers","following_url":"https://api.github.com/users/timvaillancourt/following{/other_user}","gists_url":"https://api.github.com/users/timvaillancourt/gists{/gist_id}","starred_url":"https://api.github.com/users/timvaillancourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvaillancourt/subscriptions","organizations_url":"https://api.github.com/users/timvaillancourt/orgs","repos_url":"https://api.github.com/users/timvaillancourt/repos","events_url":"https://api.github.com/users/timvaillancourt/events{/privacy}","received_events_url":"https://api.github.com/users/timvaillancourt/received_events","type":"User","site_admin":false},"body":"## Description\r\n<!-- Link to JIRA issue -->\r\n\r\n## Urgency\r\n- [ ] Blocker <!-- Ping @sascala, @stbof, or @pavisandhu for review -->\r\n- [X] High\r\n- [ ] Medium\r\n\r\n## Requirements\r\n- Test all commands and procedures.\r\n- Add [redirects](https://github.com/mesosphere/dcos-docs-site/wiki/Redirects).\r\n- Change all affected versions (e.g. 1.7, 1.8, 1.9, 1.10, 1.11).\r\n- See the [contribution guidelines](https://github.com/mesosphere/dcos-docs-site/wiki/Contributing).\r\n","created_at":"2018-03-29T14:47:58Z","updated_at":"2018-04-02T17:43:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79872096ad4d2a81f413824c284eb7b9c38893e7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ryadav88","id":1666717,"avatar_url":"https://avatars2.githubusercontent.com/u/1666717?v=4","gravatar_id":"","url":"https://api.github.com/users/ryadav88","html_url":"https://github.com/ryadav88","followers_url":"https://api.github.com/users/ryadav88/followers","following_url":"https://api.github.com/users/ryadav88/following{/other_user}","gists_url":"https://api.github.com/users/ryadav88/gists{/gist_id}","starred_url":"https://api.github.com/users/ryadav88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryadav88/subscriptions","organizations_url":"https://api.github.com/users/ryadav88/orgs","repos_url":"https://api.github.com/users/ryadav88/repos","events_url":"https://api.github.com/users/ryadav88/events{/privacy}","received_events_url":"https://api.github.com/users/ryadav88/received_events","type":"User","site_admin":false},{"login":"ToddGreenstein","id":6684866,"avatar_url":"https://avatars3.githubusercontent.com/u/6684866?v=4","gravatar_id":"","url":"https://api.github.com/users/ToddGreenstein","html_url":"https://github.com/ToddGreenstein","followers_url":"https://api.github.com/users/ToddGreenstein/followers","following_url":"https://api.github.com/users/ToddGreenstein/following{/other_user}","gists_url":"https://api.github.com/users/ToddGreenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/ToddGreenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToddGreenstein/subscriptions","organizations_url":"https://api.github.com/users/ToddGreenstein/orgs","repos_url":"https://api.github.com/users/ToddGreenstein/repos","events_url":"https://api.github.com/users/ToddGreenstein/events{/privacy}","received_events_url":"https://api.github.com/users/ToddGreenstein/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":767043126,"url":"https://api.github.com/repos/mesosphere/dcos-docs-site/labels/needs%20review","name":"needs review","color":"5319e7","default":false},{"id":764982477,"url":"https://api.github.com/repos/mesosphere/dcos-docs-site/labels/p1%20-%20high","name":"p1 - high","color":"FF7300","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794/commits","review_comments_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794/comments","review_comment_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/issues/794/comments","statuses_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/statuses/7a6da0c4d3155765cf89452286d4e0d9a0390f50","head":{"label":"Percona-Lab:percona-mongo_0.2.0-3.4.13","ref":"percona-mongo_0.2.0-3.4.13","sha":"7a6da0c4d3155765cf89452286d4e0d9a0390f50","user":{"login":"Percona-Lab","id":12824839,"avatar_url":"https://avatars2.githubusercontent.com/u/12824839?v=4","gravatar_id":"","url":"https://api.github.com/users/Percona-Lab","html_url":"https://github.com/Percona-Lab","followers_url":"https://api.github.com/users/Percona-Lab/followers","following_url":"https://api.github.com/users/Percona-Lab/following{/other_user}","gists_url":"https://api.github.com/users/Percona-Lab/gists{/gist_id}","starred_url":"https://api.github.com/users/Percona-Lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Percona-Lab/subscriptions","organizations_url":"https://api.github.com/users/Percona-Lab/orgs","repos_url":"https://api.github.com/users/Percona-Lab/repos","events_url":"https://api.github.com/users/Percona-Lab/events{/privacy}","received_events_url":"https://api.github.com/users/Percona-Lab/received_events","type":"Organization","site_admin":false},"repo":{"id":126246244,"name":"dcos-docs-site","full_name":"Percona-Lab/dcos-docs-site","owner":{"login":"Percona-Lab","id":12824839,"avatar_url":"https://avatars2.githubusercontent.com/u/12824839?v=4","gravatar_id":"","url":"https://api.github.com/users/Percona-Lab","html_url":"https://github.com/Percona-Lab","followers_url":"https://api.github.com/users/Percona-Lab/followers","following_url":"https://api.github.com/users/Percona-Lab/following{/other_user}","gists_url":"https://api.github.com/users/Percona-Lab/gists{/gist_id}","starred_url":"https://api.github.com/users/Percona-Lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Percona-Lab/subscriptions","organizations_url":"https://api.github.com/users/Percona-Lab/orgs","repos_url":"https://api.github.com/users/Percona-Lab/repos","events_url":"https://api.github.com/users/Percona-Lab/events{/privacy}","received_events_url":"https://api.github.com/users/Percona-Lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Percona-Lab/dcos-docs-site","description":"Mesosphere DC/OS Documentation Website","fork":true,"url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site","forks_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/forks","keys_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/teams","hooks_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/hooks","issue_events_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/issues/events{/number}","events_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/events","assignees_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/assignees{/user}","branches_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/branches{/branch}","tags_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/tags","blobs_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/statuses/{sha}","languages_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/languages","stargazers_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/stargazers","contributors_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/contributors","subscribers_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/subscribers","subscription_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/subscription","commits_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/contents/{+path}","compare_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/merges","archive_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/downloads","issues_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/issues{/number}","pulls_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/pulls{/number}","milestones_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/milestones{/number}","notifications_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/labels{/name}","releases_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/releases{/id}","deployments_url":"https://api.github.com/repos/Percona-Lab/dcos-docs-site/deployments","created_at":"2018-03-21T22:06:59Z","updated_at":"2018-03-30T20:20:13Z","pushed_at":"2018-03-30T20:21:56Z","git_url":"git://github.com/Percona-Lab/dcos-docs-site.git","ssh_url":"git@github.com:Percona-Lab/dcos-docs-site.git","clone_url":"https://github.com/Percona-Lab/dcos-docs-site.git","svn_url":"https://github.com/Percona-Lab/dcos-docs-site","homepage":"https://docs.mesosphere.com/","size":72276,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"percona-mongo_0.2.0-3.4.13"}},"base":{"label":"mesosphere:staging","ref":"staging","sha":"5f97b58521827863ff8e00ec0d461b1fdeae36f8","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars0.githubusercontent.com/u/3458585?v=4","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":96355495,"name":"dcos-docs-site","full_name":"mesosphere/dcos-docs-site","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars0.githubusercontent.com/u/3458585?v=4","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/dcos-docs-site","description":"Mesosphere DC/OS Documentation Website","fork":false,"url":"https://api.github.com/repos/mesosphere/dcos-docs-site","forks_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/forks","keys_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/teams","hooks_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/events","assignees_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/tags","blobs_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/languages","stargazers_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/subscription","commits_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/merges","archive_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/downloads","issues_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/releases{/id}","deployments_url":"https://api.github.com/repos/mesosphere/dcos-docs-site/deployments","created_at":"2017-07-05T19:46:48Z","updated_at":"2018-03-30T03:53:53Z","pushed_at":"2018-03-31T19:37:37Z","git_url":"git://github.com/mesosphere/dcos-docs-site.git","ssh_url":"git@github.com:mesosphere/dcos-docs-site.git","clone_url":"https://github.com/mesosphere/dcos-docs-site.git","svn_url":"https://github.com/mesosphere/dcos-docs-site","homepage":"https://docs.mesosphere.com/","size":73609,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":101,"license":null,"forks":37,"open_issues":101,"watchers":12,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794"},"html":{"href":"https://github.com/mesosphere/dcos-docs-site/pull/794"},"issue":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/issues/794"},"comments":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/issues/794/comments"},"review_comments":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794/comments"},"review_comment":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/pulls/794/commits"},"statuses":{"href":"https://api.github.com/repos/mesosphere/dcos-docs-site/statuses/7a6da0c4d3155765cf89452286d4e0d9a0390f50"}},"author_association":"NONE"}}
{"actor":{"display_login":"pavisandhu"}}