{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/4636","repository_url":"https://api.github.com/repos/mesosphere/marathon","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/4636/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/4636/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/4636/events","html_url":"https://github.com/mesosphere/marathon/issues/4636","id":187272951,"number":4636,"title":"Adding servcie for MongoDB in Mesos using marathon framework ","user":{"login":"priyankaghadage","id":23098732,"avatar_url":"https://avatars.githubusercontent.com/u/23098732?v=3","gravatar_id":"","url":"https://api.github.com/users/priyankaghadage","html_url":"https://github.com/priyankaghadage","followers_url":"https://api.github.com/users/priyankaghadage/followers","following_url":"https://api.github.com/users/priyankaghadage/following{/other_user}","gists_url":"https://api.github.com/users/priyankaghadage/gists{/gist_id}","starred_url":"https://api.github.com/users/priyankaghadage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyankaghadage/subscriptions","organizations_url":"https://api.github.com/users/priyankaghadage/orgs","repos_url":"https://api.github.com/users/priyankaghadage/repos","events_url":"https://api.github.com/users/priyankaghadage/events{/privacy}","received_events_url":"https://api.github.com/users/priyankaghadage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-04T07:57:04Z","updated_at":"2016-11-07T14:49:20Z","closed_at":null,"body":"**Rancher Version**: v.1.1.4\r\n**Docker Version**: 1.11\r\nOS and where are the hosts located? AWS Ubuntu 14.04\r\n\r\n three EC2 Instances with three mesos-master containers and three mesos-slaves containers created via Rancher\r\n\r\n**Rancher Environment Type**: (Cattle/Kubernetes/Swarm/Mesos) Mesos\r\n\r\n**Steps to Reproduce**:\r\n Created 3 hosts using RancherUI envorment type Mesos.\r\n Install Marathon on Mesos through Rancher UI and able to access marathon dashboard <node-IP>:8080\r\n Adding mongoDB using marathon UI with below json\r\n\r\n{\r\n \"id\": \"/todo-with-mongo-marathon\",\r\n \"instances\": 1,\r\n \"container\": {\r\n \"type\": \"DOCKER\",\r\n \"docker\": {\r\n \"image\": \"mongo:3.1\",\r\n \"network\": \"BRIDGE\",\r\n \"portMappings\": [\r\n {\r\n \"containerPort\": 27017,\r\n \"hostPort\": 0,\r\n \"servicePort\": 53376,\r\n \"protocol\": \"tcp\"\r\n }\r\n ]\r\n }\r\n },\r\n \"healthChecks\": [{\r\n \"protocol\": \"HTTP\",\r\n \"portIndex\": 0\r\n }],\r\n \"ports\": [0],\r\n \"cpus\": 0.25,\r\n \"mem\": 256.0\r\n }\r\n\r\n**Results**:\r\n Mongo Service stays in deploying sate forever, mongo conatiner logs says - \"**waiting for connections on port 27017\"**\r\n and automatically restarts service after few minuites.\r\n **No stdout and stderr files** are generated for todo-with-mongo-marathon service.\r\n\r\n**Expected**:\r\n MongoDB should get created and should be accessible through other services\r\n"},"comment":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/258855181","html_url":"https://github.com/mesosphere/marathon/issues/4636#issuecomment-258855181","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/4636","id":258855181,"user":{"login":"Poogles","id":4892260,"avatar_url":"https://avatars.githubusercontent.com/u/4892260?v=3","gravatar_id":"","url":"https://api.github.com/users/Poogles","html_url":"https://github.com/Poogles","followers_url":"https://api.github.com/users/Poogles/followers","following_url":"https://api.github.com/users/Poogles/following{/other_user}","gists_url":"https://api.github.com/users/Poogles/gists{/gist_id}","starred_url":"https://api.github.com/users/Poogles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Poogles/subscriptions","organizations_url":"https://api.github.com/users/Poogles/orgs","repos_url":"https://api.github.com/users/Poogles/repos","events_url":"https://api.github.com/users/Poogles/events{/privacy}","received_events_url":"https://api.github.com/users/Poogles/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T14:49:20Z","updated_at":"2016-11-07T14:49:20Z","body":"You're using a TCP health check on the MongoDB port which (AFAIK) going to work.  Change this for a TCP health check and it should get marked as healthy."}}
{"actor":{"display_login":"Poogles"}}