Skip to content

Error during bootstrap #1

Description

@tobi
default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node.rb:411:in `expand!': stderr
[default] : : stderr
[default] Chef::Exceptions::MissingRole: stderr
[default]  (: stderr
[default] Chef::Exceptions::MissingRole: stderr
[default] )
: stderr
[default]   from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:223:in `build_node'
: stderr
[default]   from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:145:in `run'
: stderr
[default] [Fri, 22 Apr 2011 20:50:32 -0700] DEBUG: Building node object for 
[Fri, 22 Apr 2011 20:50:32 -0700] DEBUG: Extracting run list from JSON attributes provided on command line
[Fri, 22 Apr 2011 20:50:32 -0700] INFO: Setting the run_list to ["role[cloudfoundry]"] from JSON
[Fri, 22 Apr 2011 20:50:32 -0700] DEBUG: Applying attributes from json file
[Fri, 22 Apr 2011 20:50:32 -0700] DEBUG: Platform is ubuntu version 10.04
[Fri, 22 Apr 2011 20:50:32 -0700] ERROR: Role cloudfoundry is in the runlist but does not exist. Skipping expand.
[default]   from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:in `run_application'
    from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `loop'
    from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `run_application'
    from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in `run'
    from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-solo:25
    from /usr/bin/chef-solo:19:in `load'
    from /usr/bin/chef-solo:19
: stderr
[default] : stdout
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

cd /tmp/vagrant-chef
chef-solo -c solo.rb -j dna.json

The output of the command prior to failing is outputted below:

[no output]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions