{"action":"opened","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/6169","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/6169/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/6169/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/6169/events","html_url":"https://github.com/rancher/rancher/issues/6169","id":181434731,"number":6169,"title":"Recreate from health check does not re-create links","user":{"login":"guyspronck","id":8409187,"avatar_url":"https://avatars.githubusercontent.com/u/8409187?v=3","gravatar_id":"","url":"https://api.github.com/users/guyspronck","html_url":"https://github.com/guyspronck","followers_url":"https://api.github.com/users/guyspronck/followers","following_url":"https://api.github.com/users/guyspronck/following{/other_user}","gists_url":"https://api.github.com/users/guyspronck/gists{/gist_id}","starred_url":"https://api.github.com/users/guyspronck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyspronck/subscriptions","organizations_url":"https://api.github.com/users/guyspronck/orgs","repos_url":"https://api.github.com/users/guyspronck/repos","events_url":"https://api.github.com/users/guyspronck/events{/privacy}","received_events_url":"https://api.github.com/users/guyspronck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-06T14:42:42Z","updated_at":"2016-10-06T14:42:42Z","closed_at":null,"body":"**Rancher Version:**\r\nv1.1.4\r\n\r\n**Docker Version:**\r\n1.12.1\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**\r\nRancherOS\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\r\nThree hosts on three different physical servers with internal DB. (No HA setup yet)\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**\r\nCattle\r\n\r\n**Steps to Reproduce:**\r\n\r\n1. Setup a stack with two or more linked containers. For example: database which is linked in a website.\r\n2. Setup health checks for both services. Make sure Recreate is selected. (TCP)\r\n3. When the containers are running on different hosts, kill the host on which the database is running.\r\n4. Health check should automatically recreate the database.\r\n5. The link between the website and database is not recreating, leaving the website without a database whilst it is actually recovered.\r\n\r\n\r\n**Results:** \r\nHave a recreated database which is not linked to the website container, causing the website container to not have a database connection anymore.\r\n\r\n**Expected:**\r\nThe link should be recovered after recreation."}}
{"actor":{"display_login":"guyspronck"}}