Issue #5398 has been updated by Nigel Kersten.
Rudy, the debian packages are done by a dedicated group. Your best bet there is to report a bug on bugs.debian.org to get the dependency added. ---------------------------------------- Bug #5398: inventory custom query and node inventory error https://projects.puppetlabs.com/issues/5398 Author: Stefan Goethals Status: Accepted Priority: High Assignee: Category: Target version: Keywords: Branch: https://github.com/mmrobins/puppet-dashboard/tree/ticket/next/5398-document-json-dependency Affected URL: Affected Dashboard version: 1.0.5 When enabling the inventory service When browsing a node page there is no 'error' but the page shows : Inventory Could not retrieve facts from inventory service: uninitialized constant Node::JSON and when using the custom query page the following error and log shows : page <pre> NameError in NodesController#search uninitialized constant Node::JSON RAILS_ROOT: /usr/local/puppet-dashboard Application Trace | Framework Trace | Full Trace /usr/local/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in `const_missing' /usr/local/puppet-dashboard/app/models/node.rb:82:in `find_from_inventory_search' /usr/local/puppet-dashboard/app/controllers/nodes_controller.rb:39:in `search' /usr/local/puppet-dashboard/app/controllers/nodes_controller.rb:35:in `search' </pre> log <pre> Processing NodesController#search (for 192.168.0.202 at 2010-11-26 11:10:09) [GET] Parameters: {"action"=>"search", "controller"=>"nodes", "search_params"=>[{"comparator"=>"eq", "fact"=>"processorcount", "value"=>"2"}]} ^[[4;36;1mNode Load (1.1ms)^[[0m ^[[0;1mSELECT * FROM `nodes` ^[[0m NameError (uninitialized constant Node::JSON): app/models/node.rb:82:in `find_from_inventory_search' app/controllers/nodes_controller.rb:39:in `search' app/controllers/nodes_controller.rb:35:in `search' haml (3.0.13) [v] rails/./lib/sass/plugin/rack.rb:41:in `call' /usr/lib64/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib64/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib64/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib64/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:82:in `start' Rendered rescues/_trace (26.2ms) Rendered rescues/_request_and_response (0.3ms) Rendering rescues/layout (internal_server_error) </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
