Comments (5)
gem uninstall fog
gem uninstall net-scp
gem uninstall net-ssh
Then:
gem install net-ssh -v 2.2.1
gem install net-scp -v 1.0.4
gem install fog -v 1.9.0
Work?
Dr Nic Williams
Stark & Wayne LLC - the consultancy for Cloud Foundry
http://starkandwayne.com
+1 415 860 2185
twitter: drnic
On Thu, Mar 7, 2013 at 9:34 PM, ajpande [email protected] wrote:
Hi
After installing bosh_deployer if i run commands like "bosh help" or "bosh micro deployment aws" i get following error.
Failed to load plugin gems/bosh_deployer-1.4.1/lib/bosh/cli/commands/micro.rb: Unable to activate fog-1.10.0, because net-scp-1.0.4 conflicts with net-scp (~> 1.1)
File gems/bosh_deployer-1.4.1/lib/bosh/cli/commands/micro.rb has been loaded as
plugin but it didn't contain any commands. Make sure this plugin is updated to
be compatible with BOSH CLI 1.0.
Unknown command: micro deployment aws
Please let me know how i can fix this. here are my env details
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.2
- RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.9.1
- /home/apande/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
https://rubygems.org/
Reply to this email directly or view it on GitHub:
Regards
Ajay
#73
from bosh.
Yes this worked ! Thanks a lot :)
But I am getting a new error when i execute "bosh micro deploy ami-64d59436"
I have kept key pair in ~/.ssh/ and name of the key is bosh. So I dont know why i am getting error below. Please let me know where exactly i should keep this key.
apande@pnq-apande:~/deployments$ bosh micro deploy ami-64d59436
Deploying new micro BOSH instance aws/micro_bosh.yml' to
http://aws:25555' (type 'yes' to continue): yes
Deploy Micro BOSH
using existing stemcell (00:00:00)
Creating VM from ami-64d59436 |oo | 1/11 00:00:02 ETA: --:--:--/usr/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:318:in return_or_raise': The key pair 'bosh' does not exist (AWS::EC2::Errors::InvalidKeyPair::NotFound) from /usr/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:419:in
client_request'
from (eval):3:in run_instances' from /usr/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/ec2/instance_collection.rb:265:in
create'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:119:in block in create_vm' from /usr/lib/ruby/gems/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_formatter.rb:46:in
with_thread_name'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:91:in create_vm' from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/deployer/instance_manager.rb:224:in
create_vm'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/deployer/instance_manager.rb:134:in block in create' from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/deployer/instance_manager.rb:84:in
step'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/deployer/instance_manager.rb:133:in create' from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/deployer/instance_manager.rb:104:in
block in create_deployment'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/deployer/instance_manager.rb:97:in with_lifecycle' from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/deployer/instance_manager.rb:103:in
create_deployment'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.1/lib/bosh/cli/commands/micro.rb:171:in perform' from /usr/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/command_handler.rb:57:in
run'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/runner.rb:61:in run' from /usr/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/runner.rb:18:in
run'
from /usr/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/bin/bosh:16:in <top (required)>' from /usr/local/bin/bosh:19:in
load'
from /usr/local/bin/bosh:19:in `
Regards
Ajay
from bosh.
Dr .Nic , Any idea ?
Regards
Ajay
from bosh.
In the AWS web console, did you create or upload a keypair named "bosh"?
from bosh.
Ajay if you're still having issues with this please let us know if you have the key in your AWS web console and reopen the issue. Thanks.
from bosh.
Related Issues (20)
- Stemcells do not contain an AMI in af-south-1 (Cape Town) and me-south-1 (Bahrain) AWS regions HOT 5
- The AMIs for us-gov-west-1 AWS region are missing HOT 2
- Collection of PRs related to integration of bosh-azure-storage-cli HOT 1
- Is an internal ca & certificate can be used instead of bosh self signed HOT 4
- When deploying bosh on Vsphere, Prompt Cleaning up rendered CPI jobs... Finished HOT 26
- `/metrics` and `/api_metrics` endpoint does not show the generic API metrics for the director's endpoints HOT 5
- Create a Jumpbox and a BOSH Director error HOT 2
- 1 of 2 post-start scripts failed. Failed Jobs: cloud_controller_ng. Successful Jobs: bosh-dns. HOT 1
- Resurrector not resurrecting unresponsive agent. HOT 7
- Multi-cpi with different iaas bosh cpi releases induce ruby package conflict HOT 2
- Default bosh generated x509 certificates have invalid 3 digits USA country code HOT 6
- Support Alibaba OSS as an external blobstore for bosh HOT 5
- Improve support for diagnostics of failed compilation: flag to preserve compilation source packages and logs HOT 2
- How to get vm_cid in VM? HOT 1
- Failed on upgrading BOSH Director from v271.2.0 to v280.0.14 HOT 4
- Non-descriptive error message when a BOSH job spec property name is a prefix for another one HOT 3
- Support for updating disks HOT 4
- Cannot connect to Bosh Director HOT 5
- Retention period of task logs HOT 2
- health_monitor is leaking connections
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.