Giter Club home page Giter Club logo

Comments (5)

drnic avatar drnic commented on June 16, 2024

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:

from bosh.

ajpande avatar ajpande commented on June 16, 2024

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' tohttp://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:inclient_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:increate'
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:inwith_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:increate_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:instep'
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:inblock 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:increate_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:inrun'
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:inrun'
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:inload'
from /usr/local/bin/bosh:19:in `

'

Regards
Ajay

from bosh.

ajpande avatar ajpande commented on June 16, 2024

Dr .Nic , Any idea ?

Regards
Ajay

from bosh.

oppegard avatar oppegard commented on June 16, 2024

In the AWS web console, did you create or upload a keypair named "bosh"?

from bosh.

ajackson avatar ajackson commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.