Skip to content

Vagrant fails due to missing chef server #8

@runningman84

Description

@runningman84

How can I use this vagrant setup?

==> node-1: /usr/bin/chef-solo:52:in `load'
==> node-1: /usr/bin/chef-solo:52:in `<main>'
==> node-1: [2016-06-17T19:58:15+00:00] INFO: HTTP Request Returned 404 Not Found: Parent not found: chefzero://localhost:8889/nodes
==> node-1: 
==> node-1: ================================================================================
==> node-1: Chef encountered an error attempting to load the node data for "vagrant-6b7e27a0"
==> node-1: ================================================================================
==> node-1: 
==> node-1: 
==> node-1: Resource Not Found:
==> node-1: -------------------
==> node-1: The server returned a HTTP 404. This usually indicates that your chef_server_url is incorrect.
==> node-1: 
==> node-1: 
==> node-1: 
==> node-1: Relevant Config Settings:
==> node-1: -------------------------
==> node-1: chef_server_url "chefzero://localhost:8889"
==> node-1: 
==> node-1: Platform:
==> node-1: ---------
==> node-1: x86_64-linux
==> node-1: 
==> node-1: 
==> node-1: Running handlers:
==> node-1: [2016-06-17T19:58:15+00:00] ERROR: Running exception handlers
==> node-1: Running handlers complete
==> node-1: [2016-06-17T19:58:15+00:00] ERROR: Exception handlers complete
==> node-1: Chef Client failed. 0 resources updated in 01 seconds
==> node-1: [2016-06-17T19:58:15+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> node-1: [2016-06-17T19:58:15+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
==> node-1: [2016-06-17T19:58:15+00:00] ERROR: 404 "Not Found"
==> node-1: [2016-06-17T19:58:16+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

I have already installed this plugins:

  • vagrant-berkshelf (4.1.0)
  • vagrant-chef-zero (2.0.0)
  • vagrant-hosts (2.8.0)
  • vagrant-omnibus (1.4.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions