Comments (10)
Do you get this if you run it again?
I think this issue can only be "fixed" within BOSH itself. Could you also please create a Jira ticket? https://cloudfoundry.atlassian.net/browse/CF
from bosh-bootstrap.
Re-ran it and still got it. Also ran bosh micro deploy
from the inception VM and got the issue. Looks like this is the offending code:
https://github.com/cloudfoundry/bosh/blob/master/aws_cpi/lib/cloud/aws/cloud.rb#L759
From aws-sdk-ruby...
# @option options [String] :availability_zone Specifies the
# availability zone where the instance should run. Without
# this option, EC2 will choose an availability zone for you.
I'm re-running this after commenting out: https://github.com/cloudfoundry/bosh/blob/master/aws_cpi/lib/cloud/aws/cloud.rb#L114-L116
I've also filed an issue in JIRA: https://cloudfoundry.atlassian.net/browse/CF-232
from bosh-bootstrap.
Brian, for the moment, want to try us-west-2 (same prices as us-east-1).
from bosh-bootstrap.
I'll give that a run as well (even if this succeeds)
from bosh-bootstrap.
By the way, didn't have a chance to run it in us-west-2, but I did completed the setup in us-east-1 after removing the code that specified the AZ. This is most certainly an issue that should be solved in BOSH's AWS CPI, I've posted my thoughts on the topic in the JIRA ticket I linked previously.
from bosh-bootstrap.
Closing for now as a bootstrap issue.
from bosh-bootstrap.
Theoretically fog should be able to show which AZs are available:
azInfo = connection.describe_availability_zones.body["availabilityZoneInfo"]
azInfo.select {|az| az["zoneState"] == "available"}
azInfo.select {|az| az["zoneState"] == "available"}.map {|az| az["zoneName"]}
Though it shows all available for @BrianMMcClain when he runs it
from bosh-bootstrap.
May need to support a list of AZs to ignore; and actually randomly pick an az for the inception VM and core/0 VM and other VMs if BOSH isn't going to help with VM assignment.
from bosh-bootstrap.
This is still to be implemented in v0.11+
from bosh-bootstrap.
Explicit AZ can be specified via provider.az
in settings.yml; shipped in v0.11.2.
See https://github.com/StarkAndWayne/bosh-bootstrap#restrict-aws-availability-zones
from bosh-bootstrap.
Related Issues (20)
- log writing failed. can't be called from trap context HOT 7
- bosh sg ports should be discrete, are instead a range HOT 1
- bosh bootstrap delete should require confirmation or -n
- Uploading stemcell failed: unable to find AKI HOT 4
- [aws] Use new light stemcells for all regions
- bosh-bootstrap deploy is failed with the Runtime Error. HOT 3
- bosh-bootstrap deploy is failed with the error "Cannot allocate memory - tar (Errno::ENOMEM)" HOT 3
- Question about using bosh-init as deployment tool. HOT 3
- it seems that bosh-bootstrap uses micro bosh cli and not bosh-init HOT 1
- [aws] use lite/hvm stemcells
- bosh-bootstrap fails on kernal_require.rb HOT 5
- creation of stem cell fails because openstack api_key is not an instance of String
- bosh bootstrap fails because server state is error, expected active HOT 3
- ERROR: illegal image file HOT 8
- Command failed with status (1): [bosh -n micro deploy --update-if-exists /h...] (RuntimeError) HOT 1
- "gem install bosh-bootstrap" hangs forever HOT 7
- update httpclient gem HOT 2
- create stemcell failed: Timed out reading instance metadata, please make sure CPI is running on EC2 instance HOT 5
- bosh-bootstrap not assigning VIP / floating ip on openstack HOT 1
- bosh-bootstrap for aws failing - micro.rb: cannot load such file -- rake/file_utils_extmake: *** [provision] Error 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-bootstrap.