{"action":"created","issue":{"url":"https://api.github.com/repos/pywren/pywren/issues/232","repository_url":"https://api.github.com/repos/pywren/pywren","labels_url":"https://api.github.com/repos/pywren/pywren/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/pywren/pywren/issues/232/comments","events_url":"https://api.github.com/repos/pywren/pywren/issues/232/events","html_url":"https://github.com/pywren/pywren/issues/232","id":304962766,"number":232,"title":"AccessDenied after installation with default settings?","user":{"login":"msm-code","id":7026881,"avatar_url":"https://avatars3.githubusercontent.com/u/7026881?v=4","gravatar_id":"","url":"https://api.github.com/users/msm-code","html_url":"https://github.com/msm-code","followers_url":"https://api.github.com/users/msm-code/followers","following_url":"https://api.github.com/users/msm-code/following{/other_user}","gists_url":"https://api.github.com/users/msm-code/gists{/gist_id}","starred_url":"https://api.github.com/users/msm-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msm-code/subscriptions","organizations_url":"https://api.github.com/users/msm-code/orgs","repos_url":"https://api.github.com/users/msm-code/repos","events_url":"https://api.github.com/users/msm-code/events{/privacy}","received_events_url":"https://api.github.com/users/msm-code/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-13T22:47:04Z","updated_at":"2018-03-14T17:05:26Z","closed_at":null,"author_association":"NONE","body":"I'm trying to set up amazon and pywren, and I'm out of ideas.\r\n\r\nI created new IAM user, gave him full (Admin) permissions, and run pywren-setup script (few times, because at first I tried without IAM user).\r\n\r\nThe result is:\r\n```\r\n╰─$ pywren-setup                                                                                         \r\nThis is the PyWren interactive setup script                                              \r\nYour AWS configuration appears to be set up, and your account ID is 370942689422                    \r\nThis interactive script will set up your initial PyWren configuration.                                 \r\nIf this is the first time you are using PyWren then accepting the defaults should be fine.\r\nWhat is your default aws region? [us-west-2]: eu-central-1                                               \r\nLocation for config file:  [/home/msm/.pywren_config]:                            \r\nPyWren requires an s3 bucket to store intermediate data. What s3 bucket would you like to use? [msm-pywren-437]:\r\nBucket does not currently exist, would you like to create it? [Y/n]:                     \r\nPyWren prefixes every object it puts in S3 with a particular prefix.                                     \r\nPyWren s3 prefix:  [pywren.jobs]:                                                                            \r\nWould you like to configure advanced PyWren properties? [y/N]:                                 \r\nPyWren standalone mode uses dedicated AWS instances to run PyWren tasks. This is more flexible, but more expensive with fewer simultaneous workers.\r\nWould you like to enable PyWren standalone mode? [y/N]:                                                 \r\nCreating config /home/msm/.pywren_config                                                                   \r\nnew default file created in /home/msm/.pywren_config                                                \r\nlambda role is pywren_exec_role_1                                                                        \r\nCreating bucket msm-pywren-437.                                                                                      \r\nCreating role.                                                                                 \r\nDeploying lambda.                                                                       \r\nfunction exists, updating                                                                                                                                                     \r\nPausing for 10 sec for changes to propagate.                                                   \r\nTraceback (most recent call last):                                       \r\n  File \"/usr/local/bin/pywren-setup\", line 11, in <module>                                               \r\n    load_entry_point('pywren==0.3.0', 'console_scripts', 'pywren-setup')()            \r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 722, in __call__                     \r\n    return self.main(*args, **kwargs)                                      \r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 697, in main                                     \r\n    rv = self.invoke(ctx)                                                                        \r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 895, in invoke       \r\n    return ctx.invoke(self.callback, **ctx.params)                                                       \r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 535, in invoke                     \r\n    return callback(*args, **kwargs)                                                                     \r\n  File \"/usr/local/lib/python2.7/dist-packages/click/decorators.py\", line 17, in new_func   \r\n    return f(get_current_context(), *args, **kwargs)                                                     \r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/scripts/setupscript.py\", line 208, in interactive_setup   \r\n    ctx.invoke(pywrencli.test_function)                                    \r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)                \r\n  File \"/usr/local/lib/python2.7/dist-packages/click/decorators.py\", line 17, in new_func                \r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/scripts/pywrencli.py\", line 374, in test_function\r\n    wrenexec = pywren.default_executor(config=config)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/wren.py\", line 21, in default_executor\r\n    return lambda_executor(**kwargs)                \r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/wren.py\", line 37, in lambda_executor              \r\n    return Executor(invoker, config, job_max_runtime)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/executor.py\", line 40, in __init__\r\n    self.runtime_meta_info = runtime.get_runtime_info(config['runtime'])\r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/runtime.py\", line 10, in get_runtime_info\r\n    runtime_meta = storage.get_runtime_info(runtime_config)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/storage/storage.py\", line 112, in get_runtime_info\r\n    json_str = handler.get_object(key)              \r\n  File \"/usr/local/lib/python2.7/dist-packages/pywren/storage/s3_backend.py\", line 42, in get_object\r\n    raise e                                                                                              \r\nbotocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the GetObject operation: Access Denied\r\n                              \r\n```\r\n\r\n`pywren test_function` throws the same error btw. Is this a known problem (couldn't find anything too similar on the internet, but I'm new to AWS so I'm probably wrong) "},"comment":{"url":"https://api.github.com/repos/pywren/pywren/issues/comments/373099408","html_url":"https://github.com/pywren/pywren/issues/232#issuecomment-373099408","issue_url":"https://api.github.com/repos/pywren/pywren/issues/232","id":373099408,"user":{"login":"Vaishaal","id":1361040,"avatar_url":"https://avatars2.githubusercontent.com/u/1361040?v=4","gravatar_id":"","url":"https://api.github.com/users/Vaishaal","html_url":"https://github.com/Vaishaal","followers_url":"https://api.github.com/users/Vaishaal/followers","following_url":"https://api.github.com/users/Vaishaal/following{/other_user}","gists_url":"https://api.github.com/users/Vaishaal/gists{/gist_id}","starred_url":"https://api.github.com/users/Vaishaal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vaishaal/subscriptions","organizations_url":"https://api.github.com/users/Vaishaal/orgs","repos_url":"https://api.github.com/users/Vaishaal/repos","events_url":"https://api.github.com/users/Vaishaal/events{/privacy}","received_events_url":"https://api.github.com/users/Vaishaal/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T17:05:26Z","updated_at":"2018-03-14T17:05:26Z","author_association":"COLLABORATOR","body":"It looks like we forgot to mark the region public, we are doing it right now"}}
{"actor":{"display_login":"Vaishaal"}}