{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/4178","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/4178/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/4178/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/4178/events","html_url":"https://github.com/rancher/rancher/issues/4178","id":144068233,"number":4178,"title":"Rancher picks a random port once instead of per-container when creating a new service without a fixed port mapping","user":{"login":"iangcarroll","id":1280719,"avatar_url":"https://avatars.githubusercontent.com/u/1280719?v=3","gravatar_id":"","url":"https://api.github.com/users/iangcarroll","html_url":"https://github.com/iangcarroll","followers_url":"https://api.github.com/users/iangcarroll/followers","following_url":"https://api.github.com/users/iangcarroll/following{/other_user}","gists_url":"https://api.github.com/users/iangcarroll/gists{/gist_id}","starred_url":"https://api.github.com/users/iangcarroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iangcarroll/subscriptions","organizations_url":"https://api.github.com/users/iangcarroll/orgs","repos_url":"https://api.github.com/users/iangcarroll/repos","events_url":"https://api.github.com/users/iangcarroll/events{/privacy}","received_events_url":"https://api.github.com/users/iangcarroll/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancher/rancher/labels/area/service","name":"area/service","color":"FBCA04"},{"url":"https://api.github.com/repos/rancher/rancher/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"alena1108","id":1562176,"avatar_url":"https://avatars.githubusercontent.com/u/1562176?v=3","gravatar_id":"","url":"https://api.github.com/users/alena1108","html_url":"https://github.com/alena1108","followers_url":"https://api.github.com/users/alena1108/followers","following_url":"https://api.github.com/users/alena1108/following{/other_user}","gists_url":"https://api.github.com/users/alena1108/gists{/gist_id}","starred_url":"https://api.github.com/users/alena1108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena1108/subscriptions","organizations_url":"https://api.github.com/users/alena1108/orgs","repos_url":"https://api.github.com/users/alena1108/repos","events_url":"https://api.github.com/users/alena1108/events{/privacy}","received_events_url":"https://api.github.com/users/alena1108/received_events","type":"User","site_admin":false},"assignees":[{"login":"alena1108","id":1562176,"avatar_url":"https://avatars.githubusercontent.com/u/1562176?v=3","gravatar_id":"","url":"https://api.github.com/users/alena1108","html_url":"https://github.com/alena1108","followers_url":"https://api.github.com/users/alena1108/followers","following_url":"https://api.github.com/users/alena1108/following{/other_user}","gists_url":"https://api.github.com/users/alena1108/gists{/gist_id}","starred_url":"https://api.github.com/users/alena1108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena1108/subscriptions","organizations_url":"https://api.github.com/users/alena1108/orgs","repos_url":"https://api.github.com/users/alena1108/repos","events_url":"https://api.github.com/users/alena1108/events{/privacy}","received_events_url":"https://api.github.com/users/alena1108/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2016-03-28T19:58:21Z","updated_at":"2016-07-11T18:08:15Z","closed_at":null,"body":"Rancher Version: v0.63.1\r\n\r\nDocker Version: 1.10.3\r\n\r\nOS: Ubuntu\r\n\r\nWhen provisioning a stack from `rancher-compose`, Rancher appears to pick one port for a port mapping that isn't fixed (i.e. docker dynamically assigns it) for all containers, which poses a problem when you have more containers of that type than host. \r\n\r\nFor example, if I provision the service `web` and specify 80 under `ports` in `docker-compose.yml`, Rancher picks a random port like `53563` and then tries to use it for all containers. If I have three hosts and request eight `web` containers, it becomes stuck. The Rancher UI shows it's only trying to use the port it randomly picked as well."},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/231816499","html_url":"https://github.com/rancher/rancher/issues/4178#issuecomment-231816499","issue_url":"https://api.github.com/repos/rancher/rancher/issues/4178","id":231816499,"user":{"login":"dishcandanty","id":2327777,"avatar_url":"https://avatars.githubusercontent.com/u/2327777?v=3","gravatar_id":"","url":"https://api.github.com/users/dishcandanty","html_url":"https://github.com/dishcandanty","followers_url":"https://api.github.com/users/dishcandanty/followers","following_url":"https://api.github.com/users/dishcandanty/following{/other_user}","gists_url":"https://api.github.com/users/dishcandanty/gists{/gist_id}","starred_url":"https://api.github.com/users/dishcandanty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dishcandanty/subscriptions","organizations_url":"https://api.github.com/users/dishcandanty/orgs","repos_url":"https://api.github.com/users/dishcandanty/repos","events_url":"https://api.github.com/users/dishcandanty/events{/privacy}","received_events_url":"https://api.github.com/users/dishcandanty/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T18:08:15Z","updated_at":"2016-07-11T18:08:15Z","body":"@vincent99 @alena1108 any update on this? (Picking a new random port, rather than a random port when service is created)\r\n\r\nThis would be extremely nice :)"}}
{"actor":{"display_login":"dishcandanty"}}