GithubHelp home page GithubHelp logo

vagrant_demo's People

Contributors

jeremyquinton avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

vagrant_demo's Issues

Stuck on login

Hi Jeremy

once i start vagrant up --no-provision i get a gui with a login prompt but i dont remember the login details, could you confirm any login details used throught the package. mysql etc?

also after i run vagrant provision i get these errors

bizmate$ vagrant provision
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[2013-01-15T17:58:55+00:00] INFO: *** Chef 10.16.2 ***
[2013-01-15T17:58:56+00:00] INFO: Setting the run_list to ["role[local]"] from JSON
[2013-01-15T17:58:56+00:00] INFO: Run List is [role[local]]
[2013-01-15T17:58:56+00:00] INFO: Run List expands to [yum::ius, hostsfile-writer, iptables-writer, mysql::server, apache2, apache2::mod_deflate, apache2::mod_rewrite, apache2::mod_expires, apache2::mod_headers, apache2::vagrant_demo, php, php::module_mysql]
[2013-01-15T17:58:56+00:00] INFO: Starting Chef Run for localhost
[2013-01-15T17:58:56+00:00] INFO: Running start handlers
[2013-01-15T17:58:56+00:00] INFO: Start handlers complete.
[2013-01-15T17:58:56+00:00] WARN: Setting attributes without specifying a precedence is deprecated and will be
removed in Chef 11.0. To set attributes at normal precedence, change code like:
node["key"] = "value" # Not this
to:
node.set["key"] = "value" # This

Called from:
/usr/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/node/attribute.rb:449:in method_missing' /usr/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/node.rb:346:insend'
/usr/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/node.rb:346:in `method_missing'

[2013-01-15T17:58:56+00:00] INFO: Could not find previously defined grants.sql resource
[2013-01-15T17:58:56+00:00] INFO: Processing remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm] action create (yum::epel line 38)
[2013-01-15T17:59:03+00:00] INFO: Retrying execution of remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm], 4 attempt(s) left
[2013-01-15T17:59:11+00:00] INFO: Retrying execution of remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm], 3 attempt(s) left
[2013-01-15T17:59:19+00:00] INFO: Retrying execution of remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm], 2 attempt(s) left
[2013-01-15T17:59:27+00:00] INFO: Retrying execution of remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm], 1 attempt(s) left
[2013-01-15T17:59:34+00:00] INFO: Retrying execution of remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm], 0 attempt(s) left

Error executing action create on resource 'remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm]'

Net::HTTPServerException

404 "Not Found"

Resource Declaration:

In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/epel.rb

38: remote_file "#{Chef::Config[:file_cache_path]}/epel-release-#{epel}.noarch.rpm" do
39: source "http://dl.fedoraproject.org/pub/epel/#{major}/#{rpm_arch}/epel-release-#{epel}.noarch.rpm"
40: not_if "rpm -qa | egrep -qx 'epel-release-#{epel}(|.noarch)'"
41: notifies :install, "rpm_package[epel-release]", :immediately
42: retries 5 # We may be redirected to a FTP URL, CHEF-1031.
43: end
44:

Compiled Resource:

Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/epel.rb:38:in `from_file'

remote_file("/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm") do
backup 5
path "/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm"
retries 0
source "http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm"
recipe_name "epel"
action "create"
retry_delay 2
provider Chef::Provider::RemoteFile
cookbook_name :yum
not_if "rpm -qa | egrep -qx 'epel-release-6-7(|.noarch)'"
end

[2013-01-15T17:59:42+00:00] ERROR: Running exception handlers
[2013-01-15T17:59:42+00:00] ERROR: Exception handlers complete
[2013-01-15T17:59:42+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2013-01-15T17:59:42+00:00] FATAL: Net::HTTPServerException: remote_file[/tmp/vagrant-chef-1/epel-release-6-7.noarch.rpm](yum::epel line 38) had an error: Net::HTTPServerException: 404 "Not Found"
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

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.