Comments (7)
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/117271935.
from bosh-bootloader.
I seem to get this failure even when the step that fails is after the cloudformation step (e.g. the bosh-init deploy fails). Every time I have to delete the cloudformation stack manually in order to run the tool again.
from bosh-bootloader.
@robdimsdale one current limitation of bbl, is that we only write out the state.json
when the command successfully finishes, so when your command failed, it left AWS artifacts which are not tracked by bbl. Also, the destroy
command needs stack and bosh information in order to do it's job, so your destroy
failed because that information didn't exist.
We have a track of stories for bbl to gracefully handle errors during a provision, but until we get to that point, it may be worth providing a more useful error message letting the user know that they should delete the stack which bbl created.
from bosh-bootloader.
Hey @robdimsdale
Do you have any events from the AWS console explaining why the original cloudformation stack might have failed?
We have stories that would fix the destroy
problem you hit. But we should still improve the original error message.
Instead of:
aws cloudformation failed: ROLLBACK_COMPLETE
It should say:
Failed creating cloudformation stack `STACK_NAME'.
Check the AWS console for error events related to this
stack, and/or open a GitHub issue at
https://github.com/pivotal-cf-experimental/bosh-bootloader/issues.
from bosh-bootloader.
No logs anymore, but here's what I think happened:
- run
bbl
first time - bosh-init step fails due to nokogiri / xcode - install xcode and nokogiri, re-run
bbl
- I'm not quite sure what happened here, but I thinkbbl
had no state file so tried to create an entirely new stack.- This failed because I reached my VPC limit. I remember seeing two stacks in Cloudformation.
- I deleted both stacks (including having to destroy the bosh-init director manually from the first stack as it wasn't part of Cloud Formation) and ran
bbl
again and it succeeded.
from bosh-bootloader.
Yes, re-running bbl
created a new stack because it's not re-entrant yet. This epic will address that.
from bosh-bootloader.
Ok, well it sounds like we understood what went wrong and have stories/epics to address the various pain points along the way. I'll close this issue now. Thanks for the updates and explanations.
from bosh-bootloader.
Related Issues (20)
- MTLS to gorouter HOT 2
- keeping up to date with bosh/jumpbox-deployment HOT 2
- ability to pull the latest bosh/cf-deployment HOT 3
- bbl down not documented in `bbl -h` HOT 4
- Bump to the latest bosh-deployment HOT 4
- [terraform] On macOS getting error for tls provider HOT 7
- migrate from packr2 to embed HOT 1
- Please bump the golang.org/x/sys dependency HOT 5
- bbl v9.0.0 fails on aws with --lb-type=cf HOT 2
- bbl v9.0.0 {jumpbox-address,outputs} can fail HOT 5
- bbl v9.0.0 fails in combination with the network-lb-gcp plan patch HOT 8
- bbl v9.0.0 fails with bosh-lite-gcp plan patch provided
- BBL v9.0.1 fails on AWS HOT 2
- Terraform error not correctly displayed when using bbl in debug mode HOT 1
- release schedule for bootloader HOT 1
- Create a Jumpbox and a BOSH Director error HOT 2
- AWS: bbl up fails with error while setting up BOSH director HOT 6
- bump mholt/archiver dependency
- Azure app gateway standard tier is deprecated. HOT 2
- Publish `bbl` as Nix package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bosh-bootloader.