{"action":"created","issue":{"url":"https://api.github.com/repos/subutai-io/Subutai/issues/19","repository_url":"https://api.github.com/repos/subutai-io/Subutai","labels_url":"https://api.github.com/repos/subutai-io/Subutai/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/subutai-io/Subutai/issues/19/comments","events_url":"https://api.github.com/repos/subutai-io/Subutai/issues/19/events","html_url":"https://github.com/subutai-io/Subutai/issues/19","id":132656673,"number":19,"title":"Agent fails to reconnect after SS redeploy","user":{"login":"Dilshat","id":3367326,"avatar_url":"https://avatars.githubusercontent.com/u/3367326?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilshat","html_url":"https://github.com/Dilshat","followers_url":"https://api.github.com/users/Dilshat/followers","following_url":"https://api.github.com/users/Dilshat/following{/other_user}","gists_url":"https://api.github.com/users/Dilshat/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilshat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilshat/subscriptions","organizations_url":"https://api.github.com/users/Dilshat/orgs","repos_url":"https://api.github.com/users/Dilshat/repos","events_url":"https://api.github.com/users/Dilshat/events{/privacy}","received_events_url":"https://api.github.com/users/Dilshat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/subutai-io/Subutai/labels/agent","name":"agent","color":"006b75"},{"url":"https://api.github.com/repos/subutai-io/Subutai/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/subutai-io/Subutai/labels/sysnet","name":"sysnet","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"soffokl","id":8612618,"avatar_url":"https://avatars.githubusercontent.com/u/8612618?v=3","gravatar_id":"","url":"https://api.github.com/users/soffokl","html_url":"https://github.com/soffokl","followers_url":"https://api.github.com/users/soffokl/followers","following_url":"https://api.github.com/users/soffokl/following{/other_user}","gists_url":"https://api.github.com/users/soffokl/gists{/gist_id}","starred_url":"https://api.github.com/users/soffokl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soffokl/subscriptions","organizations_url":"https://api.github.com/users/soffokl/orgs","repos_url":"https://api.github.com/users/soffokl/repos","events_url":"https://api.github.com/users/soffokl/events{/privacy}","received_events_url":"https://api.github.com/users/soffokl/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-10T10:13:45Z","updated_at":"2016-02-10T10:27:03Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n1. Setup peer with 2 RHs. First time after approval both agents connect normally\r\n2. Redeploy SS inside MH container. Agents don't reconnect until restarted. Tested on develop/devel"},"comment":{"url":"https://api.github.com/repos/subutai-io/Subutai/issues/comments/182298583","html_url":"https://github.com/subutai-io/Subutai/issues/19#issuecomment-182298583","issue_url":"https://api.github.com/repos/subutai-io/Subutai/issues/19","id":182298583,"user":{"login":"Dilshat","id":3367326,"avatar_url":"https://avatars.githubusercontent.com/u/3367326?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilshat","html_url":"https://github.com/Dilshat","followers_url":"https://api.github.com/users/Dilshat/followers","following_url":"https://api.github.com/users/Dilshat/following{/other_user}","gists_url":"https://api.github.com/users/Dilshat/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilshat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilshat/subscriptions","organizations_url":"https://api.github.com/users/Dilshat/orgs","repos_url":"https://api.github.com/users/Dilshat/repos","events_url":"https://api.github.com/users/Dilshat/events{/privacy}","received_events_url":"https://api.github.com/users/Dilshat/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T10:27:02Z","updated_at":"2016-02-10T10:27:02Z","body":"`#####################################\r\nservice management stop\r\n\r\ncd /root\r\nmkdir temp\r\ntar xf subutai-4.0.0-RC6.tar.gz -C /root/temp/\r\n\r\n#####################################\r\nrm -rf /var/lib/apps/subutai-mng/current/*\r\necho Removed Subutai DB ...\r\n#####################################\r\n\r\nrm -rf /apps/subutai-mng/current/system\r\nrm -rf /apps/subutai-mng/current/lib\r\nrm -rf /apps/subutai-mng/current/deploy\r\n\r\necho Removed old files of karaf ...\r\n\r\ncp -a /root/temp/subutai*/system /apps/subutai-mng/current/system\r\ncp -a /root/temp/subutai*/lib /apps/subutai-mng/current/lib\r\ncp -a /root/temp/subutai*/deploy /apps/subutai-mng/current/deploy\r\ncp /root/temp/subutai*/etc/subutai-mng/git.properties /apps/subutai-mng/current/etc/subutai-mng/\r\ncp /root/temp/subutai*/etc/subutai-mng/quota.cfg /apps/subutai-mng/current/etc/subutai-mng/\r\n\r\nrm -r /root/temp/\r\n\r\n######################################\r\n# Set DEBUG MODE #####################\r\nsed 's/# export KARAF_DEBUG/export KARAF_DEBUG=true/g' /apps/subutai-mng/current/bin/setenv > setenv && mv setenv /apps/subutai-mng/current/bin\r\n######################################\r\nservice management start\r\n\r\necho Management Started successfully !!!\r\n\r\n#######################################                                                                           \r\n\r\n`"}}