chef-solo vagrant file listed in compute admin manual doesn't work with vagrant --pre

Bug #923304 reported by Alan Horn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Tom Fifield

Bug Description

Following instructions in http://docs.openstack.org/diablo/openstack-compute/admin/content/openstack-compute-installation-using-virtualbox-vagrant-and-chef.html

Section 6. "Get the chef-solo Vagrant file"

The file from URL :
curl -o Vagrantfile https://raw.github.com/gist/786945/solo.rb

Gives the following error on running 'vagrant up' :

You are using a feature that has been removed in this version. Explanation:

`config.vm.customize` now takes an array of arguments to send to
`VBoxManage` instead of having a block which gets a virtual machine
object. Example of the new usage:

    config.vm.customize ["modifyvm", :id, "--memory", "1024"]

The above will run `VBoxManage modifyvm 1234 --memory 1024` where
"1234" is the ID of your current virtual machine. Anything you could
do before is certainly still possible with `VBoxManage` as well.

Note that this error message will not appear in the next version of Vagrant.

---

gem list -d on my system gives :

*** LOCAL GEMS ***

abstract (1.0.0)
    Author: makoto kuwata
    Homepage: http://rubyforge.org/projects/abstract
    Installed at: /opt/local/lib/ruby/gems/1.8

    a library which enable you to define abstract method in Ruby

archive-tar-minitar (0.5.2)
    Author: Austin Ziegler, Mauricio Ferna'ndez
    Rubyforge: http://rubyforge.org/projects/ruwiki
    Homepage: http://rubyforge.org/projects/ruwiki/
    Installed at: /opt/local/lib/ruby/gems/1.8

    Provides POSIX tarchive management from Ruby programs.

childprocess (0.3.0)
    Author: Jari Bakken
    Rubyforge: http://rubyforge.org/projects/childprocess
    Homepage: http://github.com/jarib/childprocess
    Installed at: /opt/local/lib/ruby/gems/1.8

    This gem aims at being a simple and reliable solution for
    controlling external programs running in the background on any Ruby
    / OS combination.

erubis (2.7.0, 2.6.6)
    Author: makoto kuwata
    Rubyforge: http://rubyforge.org/projects/erubis
    Homepage: http://www.kuwata-lab.com/erubis/
    Installed at (2.7.0): /Users/ahorn/.gem/ruby/1.8
                 (2.6.6): /opt/local/lib/ruby/gems/1.8

    a fast and extensible eRuby implementation which supports
    multi-language

ffi (1.0.11)
    Author: Wayne Meissner
    Rubyforge: http://rubyforge.org/projects/ffi
    Homepage: http://wiki.github.com/ffi/ffi
    Installed at: /opt/local/lib/ruby/gems/1.8

    Ruby-FFI is a ruby extension for programmatically loading dynamic
    libraries, binding functions within them, and calling those
    functions from Ruby code

i18n (0.6.0, 0.5.0)
    Authors: Sven Fuchs, Joshua Harvey, Matt Aimonetti, Stephan Soller,
    Saimon Moore
    Rubyforge: http://rubyforge.org/projects/[none]
    Homepage: http://github.com/svenfuchs/i18n
    Installed at (0.6.0): /opt/local/lib/ruby/gems/1.8
                 (0.5.0): /opt/local/lib/ruby/gems/1.8

    New wave Internationalization support for Ruby

json (1.6.5, 1.6.4, 1.5.4, 1.4.6)
    Author: Florian Frank
    Rubyforge: http://rubyforge.org/projects/json
    Homepage: http://flori.github.com/json
    Installed at (1.6.5): /opt/local/lib/ruby/gems/1.8
                 (1.6.4): /opt/local/lib/ruby/gems/1.8
                 (1.5.4): /opt/local/lib/ruby/gems/1.8
                 (1.4.6): /opt/local/lib/ruby/gems/1.8

    JSON Implementation for Ruby

log4r (1.1.10)
    Author: Colby Gutierrez-Kraybill
    Homepage: http://log4r.rubyforge.org
    Installed at: /opt/local/lib/ruby/gems/1.8

    Log4r, logging framework for ruby

mario (0.0.6)
    Author: John Bender
    Homepage: http://github.com/johnbender/mario
    Installed at: /opt/local/lib/ruby/gems/1.8

    Mario is a collection of utilities for dealing with platform
    specific issues

net-scp (1.0.4)
    Authors: Jamis Buck, Delano Mandelbaum
    Rubyforge: http://rubyforge.org/projects/net-ssh
    Homepage: http://net-ssh.rubyforge.org/scp
    Installed at: /opt/local/lib/ruby/gems/1.8

    A pure Ruby implementation of the SCP client protocol

net-ssh (2.3.0, 2.2.2, 2.1.4, 2.0.24)
    Authors: Jamis Buck, Delano Mandelbaum
    Rubyforge: http://rubyforge.org/projects/net-ssh
    Homepage: http://github.com/net-ssh/net-ssh
    Installed at (2.3.0): /opt/local/lib/ruby/gems/1.8
                 (2.2.2): /opt/local/lib/ruby/gems/1.8
                 (2.1.4): /Users/ahorn/.gem/ruby/1.8
                 (2.0.24): /opt/local/lib/ruby/gems/1.8

    Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.

rubygems-update (1.8.15)
    Authors: Jim Weirich, Chad Fowler, Eric Hodel
    Rubyforge: http://rubyforge.org/projects/rubygems
    Homepage: http://rubygems.org
    Installed at: /opt/local/lib/ruby/gems/1.8

    RubyGems is a package management framework for Ruby

thor (0.14.6)
    Authors: Yehuda Katz, José Valim
    Homepage: http://github.com/wycats/thor
    Installed at: /opt/local/lib/ruby/gems/1.8

    A scripting framework that replaces rake, sake and rubigen

vagrant (0.9.4, 0.8.10, 0.7.0.beta2)
    Authors: Mitchell Hashimoto, John Bender
    Rubyforge: http://rubyforge.org/projects/vagrant
    Homepage: http://vagrantup.com
    Installed at (0.9.4): /opt/local/lib/ruby/gems/1.8
                 (0.8.10): /opt/local/lib/ruby/gems/1.8
                 (0.7.0.beta2): /opt/local/lib/ruby/gems/1.8

    Build and distribute virtualized development environments.

virtualbox (0.9.2, 0.8.6)
    Author: Mitchell Hashimoto
    Rubyforge: http://rubyforge.org/projects/virtualbox
    Homepage: http://github.com/mitchellh/virtualbox
    Installed at (0.9.2): /opt/local/lib/ruby/gems/1.8
                 (0.8.6): /opt/local/lib/ruby/gems/1.8

    Create and modify virtual machines in VirtualBox using pure ruby

Alan Horn (deorth)
summary: - chef-solo vagrant file listed in computer admin manual doesn't work with
+ chef-solo vagrant file listed in compute admin manual doesn't work with
vagrant --pre
Anne Gentle (annegentle)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Tom Fifield (fifieldt) wrote :

This article was originally written by anso labs @ http://wiki.openstack.org/SingleNodeNovaVagrantChef and can no longer be found on their site.

Further, it doesn't exist in the Essex manuals.

Revision history for this message
Tom Fifield (fifieldt) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (stable/diablo)

Fix proposed to branch: stable/diablo
Review: https://review.openstack.org/9616

Tom Fifield (fifieldt)
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → In Progress
Anne Gentle (annegentle)
Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (stable/diablo)

Reviewed: https://review.openstack.org/9616
Committed: http://github.com/openstack/openstack-manuals/commit/f5834d5551dc4958e6097c3354e282b48bae4389
Submitter: Jenkins
Branch: stable/diablo

commit f5834d5551dc4958e6097c3354e282b48bae4389
Author: Tom Fifield <email address hidden>
Date: Wed Jul 11 09:27:07 2012 +1000

    Fix Diablo Automation Chef link

    fixes bug 923304

    The chef cookbook location was no longer maintained and had moved.
    This patch points to the new location, and removes a reference to
    ubuntu maverick, which is no longer supported.

    Change-Id: Icf8daa5ebc5d3f3587185a53340d6940850eb0f1

tags: added: in-stable-diablo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.