{"action":"created","issue":{"url":"https://api.github.com/repos/remind101/stacker/issues/196","repository_url":"https://api.github.com/repos/remind101/stacker","labels_url":"https://api.github.com/repos/remind101/stacker/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/remind101/stacker/issues/196/comments","events_url":"https://api.github.com/repos/remind101/stacker/issues/196/events","html_url":"https://github.com/remind101/stacker/issues/196","id":172309067,"number":196,"title":"Failure when deploying second stack with AWS interactive provider","user":{"login":"danielkza","id":747342,"avatar_url":"https://avatars.githubusercontent.com/u/747342?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkza","html_url":"https://github.com/danielkza","followers_url":"https://api.github.com/users/danielkza/followers","following_url":"https://api.github.com/users/danielkza/following{/other_user}","gists_url":"https://api.github.com/users/danielkza/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkza/subscriptions","organizations_url":"https://api.github.com/users/danielkza/orgs","repos_url":"https://api.github.com/users/danielkza/repos","events_url":"https://api.github.com/users/danielkza/events{/privacy}","received_events_url":"https://api.github.com/users/danielkza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-21T07:29:16Z","updated_at":"2016-08-24T19:47:51Z","closed_at":null,"body":"I get a traceback when attempting to deploy two stacks (second depends on the first) with the new interactive option (but *not* without it). The first stack deploys successfully, but the second doesn't even start.\r\n\r\nRunning from master at 3604de9e4e67ebd572941ce9ccc3b2e25cb28908.\r\n\r\n```\r\n[2016-08-21T04:20:32] Using Interactive AWS Provider\r\n[2016-08-21T04:20:32] Plan Status:\r\n[2016-08-21T04:20:32] \tcobli-auth: pending\r\n[2016-08-21T04:20:32] \tcobli-vpn:  pending\r\n[2016-08-21T04:20:32] Tailing stack: cobli-auth\r\n[2016-08-21T04:20:44] [cobli-auth] CREATE_IN_PROGRESS AWS::S3::Bucket\r\n[2016-08-21T04:20:44] [cobli-auth] CREATE_IN_PROGRESS AWS::S3::Bucket Resource creation Initiated\r\n[2016-08-21T04:21:05] [cobli-auth] CREATE_COMPLETE AWS::S3::Bucket\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_IN_PROGRESS AWS::IAM::ManagedPolicy\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_IN_PROGRESS AWS::IAM::Policy\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_IN_PROGRESS AWS::IAM::ManagedPolicy Resource creation Initiated\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_COMPLETE AWS::IAM::ManagedPolicy\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_IN_PROGRESS AWS::IAM::ManagedPolicy\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_IN_PROGRESS AWS::IAM::Policy Resource creation Initiated\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_COMPLETE AWS::IAM::Policy\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_IN_PROGRESS AWS::IAM::ManagedPolicy Resource creation Initiated\r\n[2016-08-21T04:21:10] [cobli-auth] CREATE_COMPLETE AWS::IAM::ManagedPolicy\r\n[2016-08-21T04:21:13] Tailing stack: cobli-vpn\r\nTraceback (most recent call last):\r\n  File \"/home/danielkza/venv/bin/stacker\", line 6, in <module>\r\n    exec(compile(open(__file__).read(), __file__, 'exec'))\r\n  File \"/home/danielkza/venv/src/stacker/scripts/stacker\", line 9, in <module>\r\n    args.run(args)\r\n  File \"/home/danielkza/venv/src/stacker/stacker/commands/stacker/build.py\", line 52, in run\r\n    dump=options.dump)\r\n  File \"/home/danielkza/venv/src/stacker/stacker/actions/base.py\", line 125, in execute\r\n    self.run(*args, **kwargs)\r\n  File \"/home/danielkza/venv/src/stacker/stacker/actions/build.py\", line 301, in run\r\n    plan.execute()\r\n  File \"/home/danielkza/venv/src/stacker/stacker/plan.py\", line 251, in execute\r\n    if not self._single_run():\r\n  File \"/home/danielkza/venv/src/stacker/stacker/plan.py\", line 219, in _single_run\r\n    status = step.run()\r\n  File \"/home/danielkza/venv/src/stacker/stacker/plan.py\", line 72, in run\r\n    return self._run_func(self.stack, status=self.status)\r\n  File \"/home/danielkza/venv/src/stacker/stacker/actions/build.py\", line 184, in _launch_stack\r\n    provider_stack = self.provider.get_stack(stack.fqn)\r\n  File \"/home/danielkza/venv/src/stacker/stacker/providers/aws/default.py\", line 101, in get_stack\r\n    kwargs=dict(StackName=stack_name))['Stacks'][0]\r\n  File \"/home/danielkza/venv/src/stacker/stacker/providers/aws/default.py\", line 69, in retry_on_throttling\r\n    retry_checker=_throttling_checker)\r\n  File \"/home/danielkza/venv/src/stacker/stacker/util.py\", line 57, in retry_with_backoff\r\n    return function(*args, **kwargs)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/client.py\", line 159, in _api_call\r\n    return self._make_api_call(operation_name, kwargs)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/client.py\", line 483, in _make_api_call\r\n    operation_model, request_dict)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/endpoint.py\", line 117, in make_request\r\n    return self._send_request(request_dict, operation_model)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/endpoint.py\", line 146, in _send_request\r\n    success_response, exception):\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/endpoint.py\", line 219, in _needs_retry\r\n    caught_exception=caught_exception, request_dict=request_dict)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/hooks.py\", line 227, in emit\r\n    return self._emit(event_name, kwargs)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/hooks.py\", line 210, in _emit\r\n    response = handler(**kwargs)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/retryhandler.py\", line 183, in __call__\r\n    if self._checker(attempts, response, caught_exception):\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/retryhandler.py\", line 251, in __call__\r\n    caught_exception)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/retryhandler.py\", line 266, in _should_retry\r\n    return self._checker(attempt_number, response, caught_exception)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/retryhandler.py\", line 314, in __call__\r\n    caught_exception)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/retryhandler.py\", line 223, in __call__\r\n    attempt_number, caught_exception)\r\n  File \"/home/danielkza/venv/lib/python2.7/site-packages/botocore/retryhandler.py\", line 356, in _check_caught_exception\r\n    raise caught_exception\r\nssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1754)\r\n```"},"comment":{"url":"https://api.github.com/repos/remind101/stacker/issues/comments/242186024","html_url":"https://github.com/remind101/stacker/issues/196#issuecomment-242186024","issue_url":"https://api.github.com/repos/remind101/stacker/issues/196","id":242186024,"user":{"login":"phobologic","id":517334,"avatar_url":"https://avatars.githubusercontent.com/u/517334?v=3","gravatar_id":"","url":"https://api.github.com/users/phobologic","html_url":"https://github.com/phobologic","followers_url":"https://api.github.com/users/phobologic/followers","following_url":"https://api.github.com/users/phobologic/following{/other_user}","gists_url":"https://api.github.com/users/phobologic/gists{/gist_id}","starred_url":"https://api.github.com/users/phobologic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phobologic/subscriptions","organizations_url":"https://api.github.com/users/phobologic/orgs","repos_url":"https://api.github.com/users/phobologic/repos","events_url":"https://api.github.com/users/phobologic/events{/privacy}","received_events_url":"https://api.github.com/users/phobologic/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T19:47:51Z","updated_at":"2016-08-24T19:47:51Z","body":"Yeah, just want to make sure we have all the info.  I'm not sure if `-i` and `--tail` were programmed to be used together (@mhahn would know, he wrote both) but I don't think that's your issue.\r\n\r\nIt looks like this specific error is well known with `multiprocessing` when using the `ssl` module:\r\n\r\nhttp://stackoverflow.com/questions/3724900/python-ssl-problem-with-multiprocessing\r\nhttp://stackoverflow.com/questions/31768631/ssl-error-with-using-multiprocessing-and-sockets\r\n\r\nMultiprocessing is only used with `--tail` as far as I know, not the `-i` interactive mode, so at least we can narrow the problem down a bit there.  Can you try it without `--tail` to verify that that is the issue?"}}
{"actor":{"display_login":"phobologic"}}