{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/5000","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/5000/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/5000/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/5000/events","html_url":"https://github.com/rancher/rancher/issues/5000","id":158276503,"number":5000,"title":"\"Start before stopping\" not a zero downtime deploy","user":{"login":"bkuhl","id":524933,"avatar_url":"https://avatars.githubusercontent.com/u/524933?v=3","gravatar_id":"","url":"https://api.github.com/users/bkuhl","html_url":"https://github.com/bkuhl","followers_url":"https://api.github.com/users/bkuhl/followers","following_url":"https://api.github.com/users/bkuhl/following{/other_user}","gists_url":"https://api.github.com/users/bkuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/bkuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkuhl/subscriptions","organizations_url":"https://api.github.com/users/bkuhl/orgs","repos_url":"https://api.github.com/users/bkuhl/repos","events_url":"https://api.github.com/users/bkuhl/events{/privacy}","received_events_url":"https://api.github.com/users/bkuhl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-03T02:00:07Z","updated_at":"2016-06-07T03:54:54Z","closed_at":null,"body":"When upgrading a service's image and selecting \"Start before stopping\" I'm running into issues where my site is going offline - turning into a 502 Bad Gateway.  The point at which it shows a bad gateway, the fpm container shows 2 stopped and 2 Running containers.  To resolve this, I have to restart my nginx container.\r\n\r\n**docker-compose**\r\n```\r\nnginx:\r\n  log_driver: ''\r\n  labels:\r\n    io.rancher.container.pull_image: always\r\n  tty: true\r\n  log_opt: {}\r\n  image: namespace/project:nginx.91c82cc1\r\n  links:\r\n  - 'fpm:'\r\n  stdin_open: true\r\nload-balancer:\r\n  ports:\r\n  - 443:80\r\n  - 80:2443\r\n  labels:\r\n    io.rancher.loadbalancer.ssl.ports: '443'\r\n    io.rancher.scheduler.affinity:host_label: domain=my-domain.com\r\n  tty: true\r\n  image: rancher/load-balancer-service\r\n  links:\r\n  - nginx:nginx\r\n  stdin_open: true\r\nfpm:\r\n  log_driver: ''\r\n  labels:\r\n    io.rancher.container.pull_image: always\r\n  tty: true\r\n  log_opt: {}\r\n  image: namespace/project:fpm.974d73a9\r\n  links:\r\n  - 'database:'\r\n  - 'redis:'\r\n  stdin_open: true\r\n```\r\n---\r\n| Useful | Info |\r\n| :-- | :-- |\r\n|Versions|Rancher `v1.0.1` Cattle: `v0.159.7` UI: `v1.0.5` |\r\n|Access|`github` `admin`|\r\n|Route|`environment.code`|\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/224166590","html_url":"https://github.com/rancher/rancher/issues/5000#issuecomment-224166590","issue_url":"https://api.github.com/repos/rancher/rancher/issues/5000","id":224166590,"user":{"login":"deniseschannon","id":11410997,"avatar_url":"https://avatars.githubusercontent.com/u/11410997?v=3","gravatar_id":"","url":"https://api.github.com/users/deniseschannon","html_url":"https://github.com/deniseschannon","followers_url":"https://api.github.com/users/deniseschannon/followers","following_url":"https://api.github.com/users/deniseschannon/following{/other_user}","gists_url":"https://api.github.com/users/deniseschannon/gists{/gist_id}","starred_url":"https://api.github.com/users/deniseschannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniseschannon/subscriptions","organizations_url":"https://api.github.com/users/deniseschannon/orgs","repos_url":"https://api.github.com/users/deniseschannon/repos","events_url":"https://api.github.com/users/deniseschannon/events{/privacy}","received_events_url":"https://api.github.com/users/deniseschannon/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T03:54:54Z","updated_at":"2016-06-07T03:54:54Z","body":"It sounds like you're hitting this issue? \r\n\r\nhttps://github.com/rancher/rancher/issues/2777"}}
{"actor":{"display_login":"deniseschannon"}}