Skip to content

Instantly share code, notes, and snippets.

@glarizza
Created May 24, 2011 17:12
Show Gist options
  • Select an option

  • Save glarizza/989150 to your computer and use it in GitHub Desktop.

Select an option

Save glarizza/989150 to your computer and use it in GitHub Desktop.
Debian failures in doing vagrant up with the MC Module
garys-mbp:mcollective-demo gary$ vagrant up
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/kramdown-0.13.3.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/RedCloth-4.2.7.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/rubygems-update-1.8.3.gemspec:11.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/slideshow-0.9.5.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Users/gary/.gem/ruby/1.8/specifications/RedCloth-4.2.7.gemspec:10.
[a] Provisioning enabled with puppet...
[a] Importing base box 'squeeze64'...
[a] Matching MAC address for NAT networking...
[a] Running any VM customizations...
[a] Clearing any previously set forwarded ports...
[a] Forwarding ports...
[a] -- ssh: 22 => 2222 (adapter 1)
[a] Creating shared folders metadata...
[a] Preparing host only network...
[a] Creating new host only network for environment...
[a] Booting VM...
[a] Waiting for VM to boot. This can take a few minutes.
[a] VM booted and ready for use!
[a] Enabling host only network...
[a] Setting host name...
[a] Mounting shared folders...
[a] -- v-root: /vagrant
[a] -- manifests: /tmp/vagrant-puppet/manifests
[a] -- v-pp-m0: /tmp/vagrant-puppet/modules-0
[a] Running provisioner: Vagrant::Provisioners::Puppet...
[a] Running Puppet with site.pp...
[a] stdin: is not a tty
[a] info: Applying configuration version '1306256657'
[a]
[a] notice: /Stage[pre]/Vagrant::Aptitude/File[ignore_trust_violations]/ensure: defined content as '{md5}a618206707d4d9faf77e4c1e3c62d73a'
[a]
[a] info: /Stage[pre]/Vagrant::Aptitude/File[ignore_trust_violations]: Scheduling refresh of Exec[aptitude_update]
[a]
[a] notice: /Stage[pre]/Vagrant::Aptitude/File[mcollective_repo]/ensure: defined content as '{md5}44a11b51402478b81182287649b7cf7c'
[a]
[a] info: /Stage[pre]/Vagrant::Aptitude/File[mcollective_repo]: Scheduling refresh of Exec[aptitude_update]
[a]
[a] notice: /Stage[pre]/Vagrant::Aptitude/File[kumina_repo]/ensure: defined content as '{md5}24adbf54f66d401bc923079dd6596677'
[a]
[a] info: /Stage[pre]/Vagrant::Aptitude/File[kumina_repo]: Scheduling refresh of Exec[aptitude_update]
[a]
[a] notice: /Stage[pre]/Vagrant::Aptitude/Exec[aptitude_update]: Triggered 'refresh' from 3 events
[a] notice: /Stage[main]/Mcollective::Pkg::Debian/Package[libstomp-ruby]/ensure: ensure changed 'purged' to 'present'
[a] notice: /Stage[main]/Mcollective::Client::Pkg/Package[mcollective-client]/ensure: ensure changed 'purged' to 'latest'
[a] notice: /Stage[main]/Mcollective::Client::Config/File[client_config]/ensure: defined content as '{md5}425c80fb1738f9375bca8b68ccd5b8c5'
[a]
[a] notice: /Stage[main]/Mcollective::Server::Pkg/Package[mcollective]/ensure: ensure changed 'purged' to 'latest'
info: FileBucket adding {md5}a3b32563bf6f387a9657bbcfca51f1b4
info: /Stage[main]/Mcollective::Server::Config/File[server_config]: Filebucketed /etc/mcollective/server.cfg to puppet with sum a3b32563bf6f387a9657bbcfca51f1b4
[a] notice: /Stage[main]/Mcollective::Server::Config/File[server_config]/content: content changed '{md5}a3b32563bf6f387a9657bbcfca51f1b4' to '{md5}10af5ef64b393f2c2a2c8dede7ae3e11'
[a]
info: /Stage[main]/Mcollective::Server::Config/File[server_config]: Scheduling refresh of Service[mcollective]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[meta]/File[/usr/share/mcollective/plugins/mcollective/registration/meta.rb]/ensure: defined content as '{md5}7b738cfefefd1ea51773e3e5cb890731'
[a]
[a] info: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[meta]/File[/usr/share/mcollective/plugins/mcollective/registration/meta.rb]: Scheduling refresh of Service[mcollective]
notice: /Stage[main]/Mcollective::Plugins/File[/usr/share/mcollective/plugins/mcollective/util]/ensure: created
info: /Stage[main]/Mcollective::Plugins/File[/usr/share/mcollective/plugins/mcollective/util]: Scheduling refresh of Service[mcollective]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/share/mcollective/plugins/mcollective/agent/service.ddl]/ensure: defined content as '{md5}69002f2e5494ccbfd191b0272c2753cf'
[a]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/share/mcollective/plugins/mcollective/agent/package.ddl]/ensure: defined content as '{md5}09e309f7bd4efadaf9add9d8efe10a83'
[a]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/share/mcollective/plugins/mcollective/agent/package.rb]/ensure: defined content as '{md5}12f0bf7539d0c82d8d1ed53237644877'
[a]
[a] info: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/share/mcollective/plugins/mcollective/agent/package.rb]: Scheduling refresh of Service[mcollective]
[a]
[a] notice: /Stage[main]/Mcollective::Client::Base/Mcollective::Plugins::Plugin[registration]/File[/usr/share/mcollective/plugins/mcollective/agent/registration.rb]/ensure: defined content as '{md5}a4a255c10aa29292519acf19f236f7e1'
[a]
[a] info: /Stage[main]/Mcollective::Client::Base/Mcollective::Plugins::Plugin[registration]/File[/usr/share/mcollective/plugins/mcollective/agent/registration.rb]: Scheduling refresh of Service[mcollective]
[a]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/share/mcollective/plugins/mcollective/agent/service.rb]/ensure: defined content as '{md5}408a3b826aa4f5f9f29eaa184ef5b130'
[a]
[a] info: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/share/mcollective/plugins/mcollective/agent/service.rb]: Scheduling refresh of Service[mcollective]
[a]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[facter_facts]/File[/usr/share/mcollective/plugins/mcollective/facts/facter_facts.rb]/ensure: defined content as '{md5}1c39d16557ea71b99884a0df137d8582'
[a]
[a] info: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[facter_facts]/File[/usr/share/mcollective/plugins/mcollective/facts/facter_facts.rb]: Scheduling refresh of Service[mcollective]
[a]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/share/mcollective/plugins/mcollective/application/package.rb]/ensure: defined content as '{md5}eed0685132cc1961d7b3b683b8536c22'
[a]
[a] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/share/mcollective/plugins/mcollective/application/service.rb]/ensure: defined content as '{md5}7dfd6bf679c7ede79e575eb939f7beb7'
[a]
[a] err: /Stage[main]/Activemq::Config/File[activemq_conf]/ensure: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /etc/activemq/activemq.xml.puppettmp_8706 at /tmp/vagrant-puppet/modules-0/activemq/manifests/config.pp:24
[a]
[a] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Scheduling refresh of Service[activemq]
[a]
[a] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Scheduling refresh of Service[activemq]
[a]
[a] notice: /Stage[main]/Activemq::Service/Service[activemq]: Dependency File[activemq_conf] has failures: true
[a]
[a] warning: /Stage[main]/Activemq::Service/Service[activemq]: Skipping because of failed dependencies
[a]
[a] err: /Stage[main]/Activemq::Service/Service[activemq]: Failed to call refresh: Could not find init script for 'activemq'
[a]
[a] notice: /Stage[main]/Activemq::Pkg::Debian/Package[activemq]/ensure: ensure changed 'purged' to 'present'
[a] notice: /Stage[main]//Node[aserver.puppetlabs.lan]/Exec[certname]/returns: aserver.puppetlabs.lan
notice: /Stage[main]//Node[aserver.puppetlabs.lan]/Exec[certname]/returns: executed successfully
[a] notice: /Stage[main]/Vagrant::Fixes/Host[aserver]/host_aliases: host_aliases changed 'aserver squeeze64.vagrant.internal squeeze64' to 'aserver.vagrant.internal'
[a]
[a] info: FileBucket adding {md5}7feaf24a22bb1a22254f833338be3026
[a]
[a] notice: /Stage[main]/Mcollective/Host[stomp]/ensure: created
[a]
[a] info: /Stage[main]/Mcollective/Host[stomp]: Scheduling refresh of Service[mcollective]
[a]
[a] notice: /Stage[main]/Mcollective::Server::Service/Service[mcollective]/ensure: ensure changed 'stopped' to 'running'
[a] notice: /Stage[main]/Mcollective::Server::Service/Service[mcollective]: Triggered 'refresh' from 8 events
[a] info: Creating state file /var/lib/puppet/state/state.yaml
[a] notice: Finished catalog run in 215.26 seconds
[a]
@glarizza
Copy link
Copy Markdown
Author

Provisioning a second time works:

garys-mbp:mcollective-demo gary$ vagrant provision a
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/kramdown-0.13.3.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/RedCloth-4.2.7.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/rubygems-update-1.8.3.gemspec:11.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/slideshow-0.9.5.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Users/gary/.gem/ruby/1.8/specifications/RedCloth-4.2.7.gemspec:10.
[a] Provisioning enabled with puppet...
[a] Running provisioner: Vagrant::Provisioners::Puppet...
[a] Running Puppet with site.pp...
[a] stdin: is not a tty
[a] info: Applying configuration version '1306257096'
[a]
[a] info: FileBucket adding {md5}41087c01078a99250c624af21b4c50f7
[a]
[a] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Filebucketed /etc/activemq/activemq.xml to puppet with sum 41087c01078a99250c624af21b4c50f7
[a]
[a] notice: /Stage[main]/Activemq::Config/File[activemq_conf]/content: content changed '{md5}41087c01078a99250c624af21b4c50f7' to '{md5}8f6ab6f3ccf4b5d453cd5ed913838ccf'
[a]
[a] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Scheduling refresh of Service[activemq]
[a]
[a] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Scheduling refresh of Service[activemq]
[a]
[a] notice: /Stage[main]/Activemq::Service/Service[activemq]: Triggered 'refresh' from 2 events
[a] notice: /Stage[main]//Node[aserver.puppetlabs.lan]/Exec[certname]/returns: aserver.puppetlabs.lan
notice: /Stage[main]//Node[aserver.puppetlabs.lan]/Exec[certname]/returns: executed successfully
[a] notice: Finished catalog run in 3.01 seconds
[a]

@mitchellh
Copy link
Copy Markdown

Vagrant creator here :)

Glad you got it working. I just wanted to point out that if you run a gem pristine --all (sudo if you have to), then those annoying deprecation warnings will go away!

@glarizza
Copy link
Copy Markdown
Author

Hi Mitchell,

Thanks for the tip! Those warnings make me feel like a rebel...

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