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

Fix heat stack create when multiple machines are declared #260

Merged
merged 3 commits into from
Nov 23, 2015

Conversation

ggiamarchi
Copy link
Owner

Vagrant launches the stack creation for each machine. Obviously, the second time fails because the stack already exists.

2015-11-23 14:25 | DEBUG | response => code    : 409
2015-11-23 14:25 | DEBUG | response => headers : {:content_type=>"application/json; charset=UTF-8", :content_length=>"214", :x_openstack_request_id=>"req-7f959980-42bf-47ae-a1e8-bacb464e4506", :date=>"Mon, 23 Nov 2015 13:25:44 GMT"}
2015-11-23 14:25 | DEBUG | response => body    : {"explanation": "There was a conflict when trying to complete your request.", "code": 409, "error": {"message": "The Stack (vagrant) already exists.", "traceback": null, "type": "StackExists"}, "title": "Conflict"}

This patch avoid to run the stack creation multiple times. Now the stack creation is run only once before the first machine creation.

Vagrant launches the stack creation for each machine.
This patch avoid to run the stack creation multiple
times. Now the stack creation is run only once before
the first machine creation.
@ggiamarchi ggiamarchi added this to the 0.7.1 milestone Nov 23, 2015
@ggiamarchi
Copy link
Owner Author

Self merge 😈

ggiamarchi added a commit that referenced this pull request Nov 23, 2015
Fix heat stack create when multiple machines are declared
@ggiamarchi ggiamarchi merged commit 2ada985 into master Nov 23, 2015
@ggiamarchi ggiamarchi deleted the fix-heat-stack-create branch November 23, 2015 16:41
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

Successfully merging this pull request may close these issues.

1 participant