{"action":"created","issue":{"url":"https://api.github.com/repos/kyma-project/kyma/issues/1294","repository_url":"https://api.github.com/repos/kyma-project/kyma","labels_url":"https://api.github.com/repos/kyma-project/kyma/issues/1294/labels{/name}","comments_url":"https://api.github.com/repos/kyma-project/kyma/issues/1294/comments","events_url":"https://api.github.com/repos/kyma-project/kyma/issues/1294/events","html_url":"https://github.com/kyma-project/kyma/issues/1294","id":370642195,"node_id":"MDU6SXNzdWUzNzA2NDIxOTU=","number":1294,"title":"Restore blocker: Service instance in error state after restore from ark backup","user":{"login":"mwieczorek","id":7051680,"node_id":"MDQ6VXNlcjcwNTE2ODA=","avatar_url":"https://avatars2.githubusercontent.com/u/7051680?v=4","gravatar_id":"","url":"https://api.github.com/users/mwieczorek","html_url":"https://github.com/mwieczorek","followers_url":"https://api.github.com/users/mwieczorek/followers","following_url":"https://api.github.com/users/mwieczorek/following{/other_user}","gists_url":"https://api.github.com/users/mwieczorek/gists{/gist_id}","starred_url":"https://api.github.com/users/mwieczorek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwieczorek/subscriptions","organizations_url":"https://api.github.com/users/mwieczorek/orgs","repos_url":"https://api.github.com/users/mwieczorek/repos","events_url":"https://api.github.com/users/mwieczorek/events{/privacy}","received_events_url":"https://api.github.com/users/mwieczorek/received_events","type":"User","site_admin":false},"labels":[{"id":1034222833,"node_id":"MDU6TGFiZWwxMDM0MjIyODMz","url":"https://api.github.com/repos/kyma-project/kyma/labels/area/service-catalog","name":"area/service-catalog","color":"3cba12","default":false},{"id":982732751,"node_id":"MDU6TGFiZWw5ODI3MzI3NTE=","url":"https://api.github.com/repos/kyma-project/kyma/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"jasiu001","id":10399074,"node_id":"MDQ6VXNlcjEwMzk5MDc0","avatar_url":"https://avatars0.githubusercontent.com/u/10399074?v=4","gravatar_id":"","url":"https://api.github.com/users/jasiu001","html_url":"https://github.com/jasiu001","followers_url":"https://api.github.com/users/jasiu001/followers","following_url":"https://api.github.com/users/jasiu001/following{/other_user}","gists_url":"https://api.github.com/users/jasiu001/gists{/gist_id}","starred_url":"https://api.github.com/users/jasiu001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasiu001/subscriptions","organizations_url":"https://api.github.com/users/jasiu001/orgs","repos_url":"https://api.github.com/users/jasiu001/repos","events_url":"https://api.github.com/users/jasiu001/events{/privacy}","received_events_url":"https://api.github.com/users/jasiu001/received_events","type":"User","site_admin":false},"assignees":[{"login":"jasiu001","id":10399074,"node_id":"MDQ6VXNlcjEwMzk5MDc0","avatar_url":"https://avatars0.githubusercontent.com/u/10399074?v=4","gravatar_id":"","url":"https://api.github.com/users/jasiu001","html_url":"https://github.com/jasiu001","followers_url":"https://api.github.com/users/jasiu001/followers","following_url":"https://api.github.com/users/jasiu001/following{/other_user}","gists_url":"https://api.github.com/users/jasiu001/gists{/gist_id}","starred_url":"https://api.github.com/users/jasiu001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasiu001/subscriptions","organizations_url":"https://api.github.com/users/jasiu001/orgs","repos_url":"https://api.github.com/users/jasiu001/repos","events_url":"https://api.github.com/users/jasiu001/events{/privacy}","received_events_url":"https://api.github.com/users/jasiu001/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kyma-project/kyma/milestones/83","html_url":"https://github.com/kyma-project/kyma/milestone/83","labels_url":"https://api.github.com/repos/kyma-project/kyma/milestones/83/labels","id":3866960,"node_id":"MDk6TWlsZXN0b25lMzg2Njk2MA==","number":83,"title":"Sprint_Gopher_7","description":"","creator":{"login":"mjasinski5","id":5781126,"node_id":"MDQ6VXNlcjU3ODExMjY=","avatar_url":"https://avatars1.githubusercontent.com/u/5781126?v=4","gravatar_id":"","url":"https://api.github.com/users/mjasinski5","html_url":"https://github.com/mjasinski5","followers_url":"https://api.github.com/users/mjasinski5/followers","following_url":"https://api.github.com/users/mjasinski5/following{/other_user}","gists_url":"https://api.github.com/users/mjasinski5/gists{/gist_id}","starred_url":"https://api.github.com/users/mjasinski5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjasinski5/subscriptions","organizations_url":"https://api.github.com/users/mjasinski5/orgs","repos_url":"https://api.github.com/users/mjasinski5/repos","events_url":"https://api.github.com/users/mjasinski5/events{/privacy}","received_events_url":"https://api.github.com/users/mjasinski5/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":15,"state":"open","created_at":"2018-12-03T15:08:49Z","updated_at":"2019-01-02T09:33:48Z","due_on":"2019-01-03T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-10-16T14:30:39Z","updated_at":"2019-01-02T09:39:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Description**\r\n\r\nWhen a service instance is restored from Ark's backup helm broker is trying to create the helm release once again. \r\n\r\nBecause such release already exists (helm config maps with releases data are also restored) helm broker get's an error. And finally the service instance is also in error state.\r\n\r\nFrom helm broker logs:\r\n```\r\n{\"level\":\"info\",\"log\":{\"message\":\"started handling request\",\"method\":\"PUT\",\"remote\":\"10.20.0.23:46452\",\"request\":\"/v2/service_instances/faa1cadb-d148-11e8-98ce-0a580a10001d?accepts_incomplete=true\",\"time\":\"2018-10-16T14:16:58.317Z\"}}\r\n{\"level\":\"info\",\"log\":{\"action\":\"provision\",\"message\":\"action response\",\"resp:async\":true,\"resp:operation:id\":\"01CSYKS96PPA3PX4X1V17ME2ZC\",\"service\":\"server\",\"time\":\"2018-10-16T14:16:58.445Z\"}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"completed handling request\",\"method\":\"PUT\",\"remote\":\"10.20.0.23:46452\",\"request\":\"/v2/service_instances/faa1cadb-d148-11e8-98ce-0a580a10001d?accepts_incomplete=true\",\"size\":63,\"status\":202,\"time\":\"2018-10-16T14:16:58.445Z\",\"took\":128609498}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"Merging values for operation [01CSYKS96PPA3PX4X1V17ME2ZC], releaseName [hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100], namespace [qa], bundlePlan [enterprise]. Plan values are: [map[resources:map[requests:map[memory:96Mi]]]], overrides: [map[redisPassword:SWxwQmNVVjJlbU5QUVc4aQo= resources:map[requests:map[memory:96Mi]]]], merged: [map[resources:map[requests:map[memory:96Mi]] redisPassword:SWxwQmNVVjJlbU5QUVc4aQo=]] \",\"service\":\"provisioner\",\"time\":\"2018-10-16T14:16:58.446Z\"}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"Installing chart with release name [hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100] in namespace [qa]\",\"service\":\"helm_client\",\"time\":\"2018-10-16T14:16:58.446Z\"}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"started handling request\",\"method\":\"GET\",\"remote\":\"[::1]:59086\",\"request\":\"/statusz\",\"time\":\"2018-10-16T14:16:58.514Z\"}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"completed handling request\",\"method\":\"GET\",\"remote\":\"[::1]:59086\",\"request\":\"/statusz\",\"size\":2,\"status\":200,\"time\":\"2018-10-16T14:16:58.514Z\",\"took\":113937}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"started handling request\",\"method\":\"GET\",\"remote\":\"10.20.0.23:46452\",\"request\":\"/v2/service_instances/faa1cadb-d148-11e8-98ce-0a580a10001d/last_operation?operation=01CSYKS96PPA3PX4X1V17ME2ZC\\u0026plan_id=a6078798-70a1-4674-af90-aba364dd6a56\\u0026service_id=a2257daa-0e26-4c61-a68d-8a7453c1b767\",\"time\":\"2018-10-16T14:16:59.58Z\"}}\r\n{\"level\":\"info\",\"log\":{\"action\":\"getLastOperation\",\"instance:id\":\"faa1cadb-d148-11e8-98ce-0a580a10001d\",\"message\":\"action response\",\"operation:id\":\"01CSYKS96PPA3PX4X1V17ME2ZC\",\"resp:operation:desc\":\"provisioning failed on error: while installing helm release: while installing release from chart with name [hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100] in namespace [qa]: rpc error: code = Unknown desc = a release named hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100 already exists.\\nRun: helm ls --all hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100; to check the status of the release\\nOr run: helm del --purge hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100; to delete it\",\"resp:operation:state\":\"failed\",\"service\":\"server\",\"time\":\"2018-10-16T14:16:59.584Z\"}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"completed handling request\",\"method\":\"GET\",\"remote\":\"10.20.0.23:46452\",\"request\":\"/v2/service_instances/faa1cadb-d148-11e8-98ce-0a580a10001d/last_operation?operation=01CSYKS96PPA3PX4X1V17ME2ZC\\u0026plan_id=a6078798-70a1-4674-af90-aba364dd6a56\\u0026service_id=a2257daa-0e26-4c61-a68d-8a7453c1b767\",\"size\":539,\"status\":200,\"time\":\"2018-10-16T14:16:59.584Z\",\"took\":4264952}}\r\n{\"level\":\"info\",\"log\":{\"message\":\"started handling request\",\"method\":\"GET\",\"remote\":\"[::1]:59100\",\"request\":\"/statusz\",\"time\":\"2018-10-16T14:17:00.098Z\"}}\r\n```\r\n\r\nDescribe of service instance:\r\n```\r\n Name:        redis-instance\r\n  Namespace:   qa\r\n  Status:      OrphanMitigation - Provision call failed: provisioning failed on error: while installing helm release: while installing release from chart with name [hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100] in namespace [qa]: rpc error: code = Unknown desc = a release named hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100 already exists.\r\n               Run: helm ls --all hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100; to check the status of the release\r\n               Or run: helm del --purge hb-redis-enterprise-faa1cadb-d148-11e8-98ce-0a580a100; to delete it @ 2018-10-16 14:16:59 +0000 UTC\r\n  Class:       redis\r\n  Plan:        enterprise\r\n\r\nParameters:\r\n  redisPassword: SWxwQmNVVjJlbU5QUVc4aQo=\r\n  resources:\r\n    requests:\r\n      memory: 96Mi\r\n\r\nBindings:\r\n           NAME                   STATUS\r\n+------------------------+-----------------------+\r\n  redis-instance-binding   ErrorInstanceNotReady\r\n```\r\n\r\n**Steps to reproduce**\r\n\r\n1. Install kyma\r\n2. Execute example from https://github.com/kyma-project/examples/blob/master/service-binding/lambda/README.md\r\n3. Create backup with heptio ark (version >= v0.9.7)\r\n4. Install new kyma cluster\r\n5. Restore the backup\r\n\r\n**Troubleshooting**\r\n\r\n<!-- Describe the steps you have already taken to solve the issue. -->\r\n"},"comment":{"url":"https://api.github.com/repos/kyma-project/kyma/issues/comments/450820150","html_url":"https://github.com/kyma-project/kyma/issues/1294#issuecomment-450820150","issue_url":"https://api.github.com/repos/kyma-project/kyma/issues/1294","id":450820150,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDgyMDE1MA==","user":{"login":"PK85","id":9609118,"node_id":"MDQ6VXNlcjk2MDkxMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/9609118?v=4","gravatar_id":"","url":"https://api.github.com/users/PK85","html_url":"https://github.com/PK85","followers_url":"https://api.github.com/users/PK85/followers","following_url":"https://api.github.com/users/PK85/following{/other_user}","gists_url":"https://api.github.com/users/PK85/gists{/gist_id}","starred_url":"https://api.github.com/users/PK85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PK85/subscriptions","organizations_url":"https://api.github.com/users/PK85/orgs","repos_url":"https://api.github.com/users/PK85/repos","events_url":"https://api.github.com/users/PK85/events{/privacy}","received_events_url":"https://api.github.com/users/PK85/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T09:39:24Z","updated_at":"2019-01-02T09:39:24Z","author_association":"CONTRIBUTOR","body":"What's a status? I see no plan how to solve it and no PR. "}}
{"actor":{"display_login":"PK85"}}