Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero downtime does not swap correctly #70

Open
mirkods opened this issue Oct 4, 2017 · 5 comments
Open

Zero downtime does not swap correctly #70

mirkods opened this issue Oct 4, 2017 · 5 comments

Comments

@mirkods
Copy link

mirkods commented Oct 4, 2017

Hi there,
congratulation for this awesome plugin.

I'm deploying with zero downtime checked and I'm having this error Environment Staging already exists.

These are the logs before the error:

AWSEB Deployment Plugin Version 0.3.19 (aws-java-sdk version: 1.11.119)
Using region: 'eu-west-1'
Zipping contents of Root File Object (BUILD_NAME) into tmp file awseb-838234532230766593.zip (includes=*/**, excludes=*/.git/,*/test/*)
Uploading file awseb-838234532230766593.zip as s3://DESTINATION.zip
Creating application version project-e6ab510a0036ec8d5b8f988383ff95a2a35f0532 for application Project for path s3://DESTINATION.zip
Created version: project-e6ab510a0036ec8d5b8f988383ff95a2a35f0532
Creating configuration template from application Project with label project-e6ab510a0036ec8d5b8f988383ff95a2a35f0532
Creating environment based on application Project/Staging from version project-e6ab510a0036ec8d5b8f988383ff95a2a35f0532 and configuration template tmp-project-e6ab510a0036ec8d5b8f988383ff95a2a35f0532
Cleaning up temporary file /tmp/awseb-838234532230766593.zip
FATAL: Deployment Failure
com.amazonaws.services.elasticbeanstalk.model.AWSElasticBeanstalkException: Environment Staging already exists. (Service: AWSElasticBeanstalk; Status Code: 400; Error Code: InvalidParameterValue; Request ID: 31f658a3-a8e3-11e7-92c2-0d45ccd86449)

What is going wrong?

Best,
Mirko

@mirkods mirkods changed the title Zero downtime does now swap correctly Zero downtime does not swap correctly Oct 4, 2017
@rednikov
Copy link

rednikov commented Dec 20, 2017

+1 spent a lot of time to find a workaround, but unfortunately without result :((((

@aldrinleal
Copy link
Member

Zero Downtime is about creating a new environment and replacing the CName. Are you confusing it with perhaps A/B Deployment instead?

@aldrinleal
Copy link
Member

Oh crap. Found ZeroDowntime stopped working a while ago. Anyway, I'll be working on it.

@icarustechdev
Copy link

@aldrinleal Do you have any news about ZeroDowntime plugin problem?

@aldrinleal
Copy link
Member

@icarustechdev CONGRATURATION! Its broken. PR's welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants