[Puppet Users] Puppet Dashboard inventory search problems.

2012-10-05 Thread llowder
I'm using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19

When I do an inventory search, I get a blank screen.

In the logs, I found the following:

Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET]
  Parameters: {action=search, controller=nodes, 
search_params=[{fact=OSFamily, comparator=eq, value=Debian}]}

Errno::EIO (Input/output error):
  /usr/lib/ruby/1.8/net/http.rb:564:in `write'
  /usr/lib/ruby/1.8/net/http.rb:564:in `warn'
  /usr/lib/ruby/1.8/net/http.rb:564:in `connect'
  /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
  /usr/lib/ruby/1.8/net/http.rb:542:in `start'
  lib/puppet_https.rb:18:in `make_ssl_request'
  lib/puppet_https.rb:33:in `get'
  app/models/node.rb:85:in `find_from_inventory_search'
  app/controllers/nodes_controller.rb:44
  app/controllers/nodes_controller.rb:40:in `search'
  sass (3.1.2) [v] rails/./lib/sass/plugin/rack.rb:54:in `call'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal Server 
Error)

Any ideas as to the cause?


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/G1TyOXTlJKsJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet Dashboard inventory search problems.

2012-10-05 Thread Bill Fraser
Sounds like this bug:

http://projects.puppetlabs.com/issues/14974

On 12-10-05 10:22 AM, llowder wrote:
 I'm using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19
 
 When I do an inventory search, I get a blank screen.
 
 In the logs, I found the following:
 
 Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET]
   Parameters: {action=search, controller=nodes, 
 search_params=[{fact=OSFamily, comparator=eq, 
 value=Debian}]}
 
 Errno::EIO (Input/output error):
   /usr/lib/ruby/1.8/net/http.rb:564:in `write'
   /usr/lib/ruby/1.8/net/http.rb:564:in `warn'
   /usr/lib/ruby/1.8/net/http.rb:564:in `connect'
   /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
   /usr/lib/ruby/1.8/net/http.rb:542:in `start'
   lib/puppet_https.rb:18:in `make_ssl_request'
   lib/puppet_https.rb:33:in `get'
   app/models/node.rb:85:in `find_from_inventory_search'
   app/controllers/nodes_controller.rb:44
   app/controllers/nodes_controller.rb:40:in `search'
   sass (3.1.2) [v] rails/./lib/sass/plugin/rack.rb:54:in `call'
   /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
   /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
   /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
   /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
   /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
   /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
   /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
   /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
   /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
   /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
 
 Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal Server 
 Error)
 
 Any ideas as to the cause?
 
 

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.