[Crowbar] Postgresql barclamp

Jain, Charu charu.jain at hp.com
Thu Jul 12 11:46:48 CDT 2012


I downloaded the postgresql barclamp from https://github.com/dellcloudedge/barclamp-postgresql and installed it. When I try to install postgresql using this barclamp on a node I am getting an error while it is trying to install gem pg . The error is

[Sat, 24 Sep 2011 14:54:21 -0500] INFO: Starting Chef Run for d00-0c-29-e1-c4-21.crowbar.org
[Sat, 24 Sep 2011 14:54:21 -0500] INFO: Running start handlers
[Sat, 24 Sep 2011 14:54:21 -0500] INFO: Start handlers complete.
[Sat, 24 Sep 2011 14:54:22 -0500] INFO: Loading cookbooks [apache2, barclamp, bluepill, bmc-nat, crowbar-hacks,  ganglia, ipmi, kernel-panic, logging, mysql, nagios, network, ntp, ohai, openssl, postgresql, provisioner, repos, resolver, utils]
[Sat, 24 Sep 2011 14:54:22 -0500] INFO: Missing gem 'pg'
[Sat, 24 Sep 2011 14:54:22 -0500] INFO: ohai plugins will be at: /etc/chef/ohai_plugins
[Sat, 24 Sep 2011 14:54:22 -0500] INFO: Processing directory[/etc/chef/ohai_plugins] action create (ohai::default line 23)
[Sat, 24 Sep 2011 14:54:22 -0500] INFO: Processing remote_directory[/etc/chef/ohai_plugins] action create (ohai::default line 32)
[Sat, 24 Sep 2011 14:54:22 -0500] INFO: Processing cookbook_file[/etc/chef/ohai_plugins/crowbar.rb] action create (dynamically defined)
[Sat, 24 Sep 2011 14:54:22 -0500] INFO: Processing cookbook_file[/etc/chef/ohai_plugins/README] action create (dynamically defined)
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Conduit mapping for this node:  {"intf0"=>{"if_list"=>["eth0"]}, "intf1"=>{"if_list"=>["eth0"]}, "intf2"=>{"if_list"=>["eth0"]}}
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: will allow routers from admin
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Current interfaces:
{"eth0"=>{:config=>"static", :router=>"192.168.124.1", :broadcast=>"192.168.124.255", :netmask=>"255.255.255.0", :interface_list=>[], :order=>0, :ipaddress=>"192.168.124.82", :interface=>"eth0", :auto=>true}}

[Sat, 24 Sep 2011 14:54:23 -0500] INFO: New interfaces:
{"eth0"=>{:config=>"static", :router=>"192.168.124.1", :broadcast=>"192.168.124.255", :interface_list=>[], :netmask=>"255.255.255.0", :order=>0, :ipaddress=>"192.168.124.82", :auto=>true, :interface=>"eth0"}}

[Sat, 24 Sep 2011 14:54:23 -0500] INFO: eth0 did not change, skipping.
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Sleeping for 0 seconds due new link coming up
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Processing package[postgresql-client] action install (postgresql::client line 37)
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Processing package[libpq-dev] action install (postgresql::client line 37)
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Processing package[make] action install (postgresql::client line 37)
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Processing package[ruby-dev] action install (postgresql::client line 37)
[Sat, 24 Sep 2011 14:54:23 -0500] INFO: Processing gem_package[pg] action install (postgresql::client line 42)
[Sat, 24 Sep 2011 14:54:43 -0500] WARN:  failed to find gem pg (>= 0) from [http://rubygems.org/]
[Sat, 24 Sep 2011 14:54:44 -0500] ERROR: gem_package[pg] (postgresql::client line 42) has had an error
[Sat, 24 Sep 2011 14:54:44 -0500] ERROR: Running exception handlers
[Sat, 24 Sep 2011 14:54:44 -0500] FATAL: Saving node information to /var/cache/chef/failed-run-data.json
[Sat, 24 Sep 2011 14:54:44 -0500] ERROR: Exception handlers complete
[Sat, 24 Sep 2011 14:54:44 -0500] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
[Sat, 24 Sep 2011 14:54:44 -0500] FATAL: Mixlib::ShellOut::ShellCommandFailed: gem_package[pg] (postgresql::client line 42) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of gem install pg -q --no-rdoc --no-ri -v "" ----
STDOUT:
STDERR: ERROR:  While executing gem ... (ArgumentError)
    Illformed requirement [""]
---- End output of gem install pg -q --no-rdoc --no-ri -v "" ----
Ran gem install pg -q --no-rdoc --no-ri -v "" returned 1

Thanks,
Charu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/crowbar/attachments/20120712/1fcf3b95/attachment.html 


More information about the Crowbar mailing list