{"action":"created","issue":{"url":"https://api.github.com/repos/wso2/puppet-modules/issues/73","repository_url":"https://api.github.com/repos/wso2/puppet-modules","labels_url":"https://api.github.com/repos/wso2/puppet-modules/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/wso2/puppet-modules/issues/73/comments","events_url":"https://api.github.com/repos/wso2/puppet-modules/issues/73/events","html_url":"https://github.com/wso2/puppet-modules/issues/73","id":163605913,"number":73,"title":"Carbon product hostname should not point to marathonlb","user":{"login":"udaraliyanage","id":3539407,"avatar_url":"https://avatars.githubusercontent.com/u/3539407?v=3","gravatar_id":"","url":"https://api.github.com/users/udaraliyanage","html_url":"https://github.com/udaraliyanage","followers_url":"https://api.github.com/users/udaraliyanage/followers","following_url":"https://api.github.com/users/udaraliyanage/following{/other_user}","gists_url":"https://api.github.com/users/udaraliyanage/gists{/gist_id}","starred_url":"https://api.github.com/users/udaraliyanage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udaraliyanage/subscriptions","organizations_url":"https://api.github.com/users/udaraliyanage/orgs","repos_url":"https://api.github.com/users/udaraliyanage/repos","events_url":"https://api.github.com/users/udaraliyanage/events{/privacy}","received_events_url":"https://api.github.com/users/udaraliyanage/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wso2/puppet-modules/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-04T05:34:10Z","updated_at":"2016-07-22T12:56:09Z","closed_at":null,"body":"Hostnames of all the products are pointed to marathon-lb hostname. \r\nIMO hostname of a product should points to product's hostname regardless of the fact that product is load balanced via marathon LB. It is the responsibility of the deployment to map those product hostnames to ip of marathonlb or any other external such as ELB [1]\r\n\r\nwso2::apim_keymanager:\r\n  host: marathon-lb.marathon.mesos\r\n\r\n[1] https://mesosphere.com/blog/2016/04/06/lets-encrypt-dcos/"},"comment":{"url":"https://api.github.com/repos/wso2/puppet-modules/issues/comments/234536266","html_url":"https://github.com/wso2/puppet-modules/issues/73#issuecomment-234536266","issue_url":"https://api.github.com/repos/wso2/puppet-modules/issues/73","id":234536266,"user":{"login":"imesh","id":56142,"avatar_url":"https://avatars.githubusercontent.com/u/56142?v=3","gravatar_id":"","url":"https://api.github.com/users/imesh","html_url":"https://github.com/imesh","followers_url":"https://api.github.com/users/imesh/followers","following_url":"https://api.github.com/users/imesh/following{/other_user}","gists_url":"https://api.github.com/users/imesh/gists{/gist_id}","starred_url":"https://api.github.com/users/imesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imesh/subscriptions","organizations_url":"https://api.github.com/users/imesh/orgs","repos_url":"https://api.github.com/users/imesh/repos","events_url":"https://api.github.com/users/imesh/events{/privacy}","received_events_url":"https://api.github.com/users/imesh/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T12:56:09Z","updated_at":"2016-07-22T12:56:09Z","body":"We have done this as a workaround for a limitation in Mesos DCOS. The problem is as follows:\r\n- Cluster hostnames are used by WSO2 products for load balancing, providing absolute URLs in HTML body (in UIs), making internal calls to its dependencies and itself.\r\n- Mesos DCOS currently does not have a service concept similar to Kubernetes services for resolving hostnames to its cluster and providing a fixed set of ports.\r\n- Mesos DNS points to Mesos slaves and they can only be used with host ports. For scalability reasons host ports should be dynamic.\r\n- Therefore Mesos DNS with Marathon application names cannot be used for cluster hostnames.\r\n- We have used marathon load balancer hostname as the cluster hostname of all products for this reason as it provides fixed ports. This has been done to make the out of the box scenario working.\r\n- In a real deployment this can be fixed by using a DNS server and adding DNS entries for each cluster hostname."}}
{"actor":{"display_login":"imesh"}}