{"action":"opened","issue":{"url":"https://api.github.com/repos/onnela-lab/beiwe-backend/issues/31","repository_url":"https://api.github.com/repos/onnela-lab/beiwe-backend","labels_url":"https://api.github.com/repos/onnela-lab/beiwe-backend/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/onnela-lab/beiwe-backend/issues/31/comments","events_url":"https://api.github.com/repos/onnela-lab/beiwe-backend/issues/31/events","html_url":"https://github.com/onnela-lab/beiwe-backend/issues/31","id":299880147,"number":31,"title":"\"Unable to assume role\" IAM error on eb deploy","user":{"login":"zagorsky","id":5118157,"avatar_url":"https://avatars2.githubusercontent.com/u/5118157?v=4","gravatar_id":"","url":"https://api.github.com/users/zagorsky","html_url":"https://github.com/zagorsky","followers_url":"https://api.github.com/users/zagorsky/followers","following_url":"https://api.github.com/users/zagorsky/following{/other_user}","gists_url":"https://api.github.com/users/zagorsky/gists{/gist_id}","starred_url":"https://api.github.com/users/zagorsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zagorsky/subscriptions","organizations_url":"https://api.github.com/users/zagorsky/orgs","repos_url":"https://api.github.com/users/zagorsky/repos","events_url":"https://api.github.com/users/zagorsky/events{/privacy}","received_events_url":"https://api.github.com/users/zagorsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"biblicabeebli","id":1715982,"avatar_url":"https://avatars3.githubusercontent.com/u/1715982?v=4","gravatar_id":"","url":"https://api.github.com/users/biblicabeebli","html_url":"https://github.com/biblicabeebli","followers_url":"https://api.github.com/users/biblicabeebli/followers","following_url":"https://api.github.com/users/biblicabeebli/following{/other_user}","gists_url":"https://api.github.com/users/biblicabeebli/gists{/gist_id}","starred_url":"https://api.github.com/users/biblicabeebli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biblicabeebli/subscriptions","organizations_url":"https://api.github.com/users/biblicabeebli/orgs","repos_url":"https://api.github.com/users/biblicabeebli/repos","events_url":"https://api.github.com/users/biblicabeebli/events{/privacy}","received_events_url":"https://api.github.com/users/biblicabeebli/received_events","type":"User","site_admin":false},"assignees":[{"login":"biblicabeebli","id":1715982,"avatar_url":"https://avatars3.githubusercontent.com/u/1715982?v=4","gravatar_id":"","url":"https://api.github.com/users/biblicabeebli","html_url":"https://github.com/biblicabeebli","followers_url":"https://api.github.com/users/biblicabeebli/followers","following_url":"https://api.github.com/users/biblicabeebli/following{/other_user}","gists_url":"https://api.github.com/users/biblicabeebli/gists{/gist_id}","starred_url":"https://api.github.com/users/biblicabeebli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biblicabeebli/subscriptions","organizations_url":"https://api.github.com/users/biblicabeebli/orgs","repos_url":"https://api.github.com/users/biblicabeebli/repos","events_url":"https://api.github.com/users/biblicabeebli/events{/privacy}","received_events_url":"https://api.github.com/users/biblicabeebli/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-23T23:16:00Z","updated_at":"2018-02-23T23:16:00Z","closed_at":null,"author_association":"COLLABORATOR","body":"Error report from Zhe:\r\n> in the \"Setup AWS EB CLI\" section of the wiki, the command `eb deploy` does not work because the elastic beanstalk server's health is reported as \"severe\" and the server state is not \"ready\" for deployment. The one error reported by the server is:\r\n        Unable to assume role \"arn:aws:iam::[NUMBER]:role/arn:aws:iam::[NUMBER]:role/beiwetest-elasticbeanstalk-service-role\". Verify that the role exists and is configured correctly.\r\n        My investigation shows that I do indeed have an IAM role with the address `arn:aws:iam::[NUMBER]:role/beiwetest-elasticbeanstalk-service-role`. However, my guess it that there is a typo in the ELB server configuration? I'm not familiar with AWS, but if you look closely at the error message, could it be that the ELB server is looking for a role that has the prefix pasted twice?"}}
{"actor":{"display_login":"zagorsky"}}