{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/convoy/issues/44","labels_url":"https://api.github.com/repos/rancher/convoy/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/rancher/convoy/issues/44/comments","events_url":"https://api.github.com/repos/rancher/convoy/issues/44/events","html_url":"https://github.com/rancher/convoy/issues/44","id":115621322,"number":44,"title":"\"AWS Error: UnauthorizedOperation... : <nil>\" when trying to use EBS backend","user":{"login":"lrvick","id":69200,"avatar_url":"https://avatars.githubusercontent.com/u/69200?v=3","gravatar_id":"","url":"https://api.github.com/users/lrvick","html_url":"https://github.com/lrvick","followers_url":"https://api.github.com/users/lrvick/followers","following_url":"https://api.github.com/users/lrvick/following{/other_user}","gists_url":"https://api.github.com/users/lrvick/gists{/gist_id}","starred_url":"https://api.github.com/users/lrvick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrvick/subscriptions","organizations_url":"https://api.github.com/users/lrvick/orgs","repos_url":"https://api.github.com/users/lrvick/repos","events_url":"https://api.github.com/users/lrvick/events{/privacy}","received_events_url":"https://api.github.com/users/lrvick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-07T01:07:02Z","updated_at":"2015-11-09T18:57:56Z","closed_at":null,"body":"Installed convoy to CoreOS with following systemd unit:\r\n```\r\n[Unit]\r\nDescription=Convoy Daemon\r\nRequires=docker.service\r\n\r\n[Service]\r\nUser=core\r\nWorkingDirectory=/tmp\r\nExecStartPre=/usr/bin/curl -L -o /tmp/convoy.tar.gz https://github.com/rancher/convoy/releases/download/v0.3/convoy.tar.gz\r\nExecStartPre=/usr/bin/tar -C /tmp -xvzf /tmp/convoy.tar.gz\r\nExecStartPre=/usr/bin/sudo mkdir -p /opt/bin\r\nExecStartPre=/usr/bin/sudo cp /tmp/convoy/convoy /tmp/convoy/convoy-pdata_tools /opt/bin/\r\nExecStartPre=/usr/bin/sudo mkdir -p /etc/docker/plugins/\r\nExecStartPre=/usr/bin/sudo bash -c 'echo \"unix:///var/run/convoy/convoy.sock\" > /etc/docker/plugins/convoy.spec'\r\nExecStart=/usr/bin/sudo convoy daemon --drivers ebs\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n```\r\n\r\nRelease info:\r\n```\r\ncore@ip-10-0-10-60 ~ $ cat /etc/os-release \r\nNAME=CoreOS\r\nID=coreos\r\nVERSION=835.2.0\r\nVERSION_ID=835.2.0\r\nBUILD_ID=\r\nPRETTY_NAME=\"CoreOS 835.2.0\"\r\nANSI_COLOR=\"1;32\"\r\nHOME_URL=\"https://coreos.com/\"\r\nBUG_REPORT_URL=\"https://github.com/coreos/bugs/issues\"\r\n\r\ncore@ip-10-0-10-60 ~ $ docker -v\r\nDocker version 1.8.3, build cedd534-dirty\r\n```\r\n\r\nNo love trying to use convoy:\r\n```\r\ncore@ip-10-0-10-60 ~ $ ps -aux | grep convoy\r\nroot      6455  0.0  0.3 263340 15360 ?        Ssl  Nov06   0:01 convoy daemon --drivers ebs\r\ncore@ip-10-0-10-60 ~ $ docker run --rm --volume-driver=convoy --volume convoy-debian-test:/test debian                                                                                                                                         \r\nError response from daemon: AWS Error:  UnauthorizedOperation You are not authorized to perform this operation. <nil>\r\n403\r\n\r\ncore@ip-10-0-10-60 ~ $ sudo convoy create test       \r\nERRO[0000] Error response from server, AWS Error:  UnauthorizedOperation You are not authorized to perform this operation. <nil>\r\n403  {\r\n        \"Error\": \"Error response from server, AWS Error:  UnauthorizedOperation You are not authorized to perform this operation. \\u003cnil\\u003e\\n403 \\n\\n\"\r\n}\r\n```\r\n\r\nRelated IAM role policy:\r\n```\r\n{\r\n    \"Statement\": [\r\n        {\r\n            \"Sid\": \"Stmt32854384387634\",\r\n            \"Action\": [\r\n                \"ec2:CreateSnapshot\",\r\n                \"ec2:CreateTags\",\r\n                \"ec2:DescribeAvailabilityZones\",\r\n                \"ec2:DescribeSnapshots\",\r\n                \"ec2:DescribeTags\",\r\n                \"ec2:DescribeVolumeAttribute\",\r\n                \"ec2:DescribeVolumeStatus\",\r\n                \"ec2:DescribeVolumes\"\r\n            ],\r\n            \"Effect\": \"Allow\",\r\n            \"Resource\": [\r\n                \"*\"\r\n            ]\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/rancher/convoy/issues/comments/155155473","html_url":"https://github.com/rancher/convoy/issues/44#issuecomment-155155473","issue_url":"https://api.github.com/repos/rancher/convoy/issues/44","id":155155473,"user":{"login":"yasker","id":3344618,"avatar_url":"https://avatars.githubusercontent.com/u/3344618?v=3","gravatar_id":"","url":"https://api.github.com/users/yasker","html_url":"https://github.com/yasker","followers_url":"https://api.github.com/users/yasker/followers","following_url":"https://api.github.com/users/yasker/following{/other_user}","gists_url":"https://api.github.com/users/yasker/gists{/gist_id}","starred_url":"https://api.github.com/users/yasker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasker/subscriptions","organizations_url":"https://api.github.com/users/yasker/orgs","repos_url":"https://api.github.com/users/yasker/repos","events_url":"https://api.github.com/users/yasker/events{/privacy}","received_events_url":"https://api.github.com/users/yasker/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T18:57:56Z","updated_at":"2015-11-09T18:57:56Z","body":"Have you setup AWS credential? \r\n\r\nhttps://github.com/rancher/convoy#backup-a-snapshot\r\nhttps://github.com/aws/aws-sdk-go#configuring-credentials"}}