This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/perl-5.10.1/bin/perl | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
use JSON::RPC::Common::Marshal::HTTP; | |
use LWP::UserAgent; | |
my $ua = LWP::UserAgent->new; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chef backtrace: | |
[Thu, 16 Sep 2010 18:03:13 +0000] ERROR: package[lldpd] (/var/chef/cache/cookbooks/lldpd/recipes/default.rb:3:in `from_file') had an error: | |
You must override load_current_resource in #<Chef::Provider::Package:0xb6c7dbc8> | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider.rb:51:in `load_current_resource' | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:42:in `build_provider' | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:49:in `run_action' | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:107:in `converge' | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:106:in `each' | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:106:in `converge' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Thu, 16 Sep 2010 18:39:18 +0000] ERROR: cookbook_file[/etc/selinux/config] (/var/chef/cache/cookbooks/selinux/recipes/default.rb:6:in `from_file') had an error: | |
No such file or directory - /tmp/config20100916-31390-1s8v550-0 or /etc/selinux/config | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/fileutils.rb:505:in `rename' | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/fileutils.rb:505:in `mv' | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/fileutils.rb:1396:in `fu_each_src_dest' | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/fileutils.rb:1412:in `fu_each_src_dest0' | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/fileutils.rb:1394:in `fu_each_src_dest' | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/fileutils.rb:494:in `mv' | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/cookbook_file.rb:43:in `action_create' | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/tempfile.rb:188:in `open' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/perl-5.10.1/bin/perl | |
# | |
# Init file runs on firstboot | |
# | |
# chkconfig: 2345 57 43 | |
# description: rhapsody firstboot startup script | |
# | |
# | |
# RH7.3/RHEL3/RHEL4 /etc/rc.d/rc voodoo incantation: "action " | |
# RHEL5 /etc/rc.d/rc voodoo incantation: "init.d/functions" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# returns the name of the Xen virt from within the guest DomU. | |
# | |
# requires xe-guest-utilities to be installed. | |
# | |
let i=0 | |
while [ $i -le 100 ]; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0] 4:48pm lgranquist@test-corp-1103(pts/1): ~ > knife node run_list add cops-corp-1101.sea1.rhapsody.com 'recipe[yum-updatesd::enable]' | |
WARN: HTTP Request Returned 500 Internal Server Error: HTTP status code 500 | |
/usr/local/ruby-1.8.7/lib/ruby/1.8/net/http.rb:2101:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError) | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:217:in `api_request' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:268:in `retriable_rest_request' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:198:in `api_request' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:117:in `put_rest' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/node.rb:488:in `save' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/knife/node_run_list_add.rb:40:in `run' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/application/kn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> knife search node '*:*' > /tmp/out.json | |
/usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/json-1.4.2/lib/json/common.rb:270:in `match': Stack overflow in regexp matcher: /\A\s*(?:\[.*\]|\{.*\})\s*\Z/m (RegexpError) | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/json-1.4.2/lib/json/common.rb:270:in `generate' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/json-1.4.2/lib/json/common.rb:270:in `pretty_generate' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:276:in `output' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife/search.rb:85:in `run' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in `run' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in `run' | |
from /usr/local/ruby-1.8.7/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25 | |
from /usr/local/ruby-1.8.7/bin/knife:19:in `load' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/lamont/.rvm/gems/ruby-1.9.2-p180@oc/bundler/gems/mixlib-localization-5dda67137a4d/lib/mixlib/localization/messages.rb:10: warning: variable $KCODE is no longer effective; ignored | |
Merb root at: /Users/lamont/oc/opscode-account | |
Loading init file from ./config/init.rb | |
/Users/lamont/oc/opscode-account/config/init.rb:59:in `read': No such file or directory - /etc/opscode/azs.pem (Errno::ENOENT) | |
from /Users/lamont/oc/opscode-account/config/init.rb:59:in `<top (required)>' | |
from /Users/lamont/.rvm/gems/ruby-1.9.2-p180@oc/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in `load' | |
from /Users/lamont/.rvm/gems/ruby-1.9.2-p180@oc/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in `load_initfile' | |
from /Users/lamont/.rvm/gems/ruby-1.9.2-p180@oc/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:377:in `run' | |
from /Users/lamont/.rvm/gems/ruby-1.9.2-p180@oc/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:97:in `run' | |
from /Users/lamont/.rvm/gems/ruby-1.9.2-p180@oc/gems/merb-core-1.1.3/lib/merb-core/server. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using /Users/lamont/.rvm/gems/ruby-1.9.2-p180 with gemset oc | |
(in /Users/lamont/oc/opscode-test) | |
Hit CTRL-C to destroy development environment | |
[Tue, 17 May 2011 11:20:46 -0700] INFO: Opscode Expander 0.1.0 (34aff4c4e6edfcd6550935bdd5a256cd72b623dc) starting up. | |
[Tue, 17 May 2011 11:20:46 -0700] ERROR: Could not connect to rabbitmq. Make sure it is running and correctly configured. | |
[Tue, 17 May 2011 11:20:46 -0700] ERROR: Could not connect to server localhost:5672 | |
[Tue, 17 May 2011 11:20:52 -0700] INFO: Starting Consumers for vnodes 0-1023 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm 1.9.2@oc exec bundle exec rake setup:test | |
(in /Users/lamont/oc/opscode-test) | |
[Tue, 17 May 2011 12:00:26 -0700] WARN: HTTP Request Returned 404 Object Not Found: not_found | |
[Tue, 17 May 2011 12:00:26 -0700] WARN: HTTP Request Returned 404 Object Not Found: not_found | |
[Tue, 17 May 2011 12:00:26 -0700] WARN: HTTP Request Returned 404 Object Not Found: not_found | |
[Tue, 17 May 2011 12:00:26 -0700] WARN: HTTP Request Returned 404 Object Not Found: not_found | |
[Tue, 17 May 2011 12:00:26 -0700] WARN: HTTP Request Returned 404 Object Not Found: not_found | |
[Tue, 17 May 2011 12:00:26 -0700] INFO: Creating bootstrap databases | |
[Tue, 17 May 2011 12:00:26 -0700] INFO: Creating bootstrap user 'platform-superuser' | |
[Tue, 17 May 2011 12:00:30 -0700] INFO: Creating global containers |
OlderNewer