EB deploy not receiving final status update, hence never completes


#1

Similar problem to Deploying to elastic beanstalk never completes

In my deploy job, after setting up eb cli, the next step is to deploy. All things go well but it will be stuck at “Creating AppVersion”

Uploading rates-server/app-d02b-180527_082318.zip to S3. This may take a while.
Upload Complete.
INFO: Creating AppVersion app-d02b-180527_082318

Running eb deploy with --debug reveals that it is not receiving status updates after update_environment

2018-05-27 08:50:54,215 (DEBUG) ebcli.lib.aws : Making api call: (elasticbeanstalk, update_environment) to region: ap-southeast-1 with args:{‘EnvironmentName’: ‘rates-staging’, ‘VersionLabel’: ‘app-d02b-180527_085049’}
2018-05-27 08:50:56,199 (DEBUG) ebcli.lib.aws : API call finished, status = 200

Last few lines of eb deploy --debug logs below, showing the api polling even though deployment was shown as done on the AWS eb dashboard

2018-05-27 08:54:26,630 (DEBUG) ebcli.lib.elasticbeanstalk : Inside get_new_events api wrapper
2018-05-27 08:54:26,631 (DEBUG) ebcli.lib.aws : Making api call: (elasticbeanstalk, describe_events) to region: ap-southeast-1 with args:{‘EnvironmentName’: ‘rates-staging’, ‘RequestId’: ‘8b50c28c-6e82-4dc9-84ee-b65003cb299c’}
2018-05-27 08:54:27,022 (DEBUG) ebcli.lib.aws : API call finished, status = 200
2018-05-27 08:54:27,022 (DEBUG) ebcli.lib.aws : Response: {u’Events’: [], ‘ResponseMetadata’: {‘date’: ‘Sun, 27 May 2018 08:54:26 GMT’, ‘RetryAttempts’: 0, ‘HTTPStatusCode’: 200, ‘RequestId’: ‘1d318249-0fa7-4213-89dc-60471f12cd49’}}
2018-05-27 08:54:32,027 (DEBUG) ebcli.lib.elasticbeanstalk : Inside get_new_events api wrapper
2018-05-27 08:54:32,028 (DEBUG) ebcli.lib.aws : Making api call: (elasticbeanstalk, describe_events) to region: ap-southeast-1 with args:{‘EnvironmentName’: ‘rates-staging’, ‘RequestId’: ‘8b50c28c-6e82-4dc9-84ee-b65003cb299c’}
2018-05-27 08:54:32,396 (DEBUG) ebcli.lib.aws : API call finished, status = 200
2018-05-27 08:54:32,396 (DEBUG) ebcli.lib.aws : Response: {u’Events’: [], ‘ResponseMetadata’: {‘date’: ‘Sun, 27 May 2018 08:54:31 GMT’, ‘RetryAttempts’: 0, ‘HTTPStatusCode’: 200, ‘RequestId’: ‘3678532f-8eb1-4d6f-b976-f10320a7d95a’}}
2018-05-27 08:54:37,401 (DEBUG) ebcli.lib.elasticbeanstalk : Inside get_new_events api wrapper
2018-05-27 08:54:37,402 (DEBUG) ebcli.lib.aws : Making api call: (elasticbeanstalk, describe_events) to region: ap-southeast-1 with args:{‘EnvironmentName’: ‘rates-staging’, ‘RequestId’: ‘8b50c28c-6e82-4dc9-84ee-b65003cb299c’}
2018-05-27 08:54:37,787 (DEBUG) ebcli.lib.aws : API call finished, status = 200
2018-05-27 08:54:37,787 (DEBUG) ebcli.lib.aws : Response: {u’Events’: [], ‘ResponseMetadata’: {‘date’: ‘Sun, 27 May 2018 08:54:36 GMT’, ‘RetryAttempts’: 0, ‘HTTPStatusCode’: 200, ‘RequestId’: ‘87895855-a84c-4579-97bf-a399fc68e4c2’}}
2018-05-27 08:54:42,793 (DEBUG) ebcli.lib.elasticbeanstalk : Inside get_new_events api wrapper
2018-05-27 08:54:42,793 (DEBUG) ebcli.lib.aws : Making api call: (elasticbeanstalk, describe_events) to region: ap-southeast-1 with args:{‘EnvironmentName’: ‘rates-staging’, ‘RequestId’: ‘8b50c28c-6e82-4dc9-84ee-b65003cb299c’}
2018-05-27 08:54:43,165 (DEBUG) ebcli.lib.aws : API call finished, status = 200
2018-05-27 08:54:43,165 (DEBUG) ebcli.lib.aws : Response: {u’Events’: [], ‘ResponseMetadata’: {‘date’: ‘Sun, 27 May 2018 08:54:43 GMT’, ‘RetryAttempts’: 0, ‘HTTPStatusCode’: 200, ‘RequestId’: ‘01ef1be4-10da-4fdb-870e-d0be9ace5f4e’}}


#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.