Issue #16376 has been updated by Nathan Flynn.
Hello, This is apparently a duplicate of http://projects.puppetlabs.com/issues/14974; However I am running Puppet 3.0.0 and I am suffering from the bug: 14974 I have modified the file as per the full request but the issue remains; rocessing NodesController#search (for 212.23.9.X at 2012-10-02 14:49:30) [GET] Parameters: {"action"=>"search", "controller"=>"nodes", "search_params"=>[{"comparator"=>"eq", "fact"=>"lsbdistcodename", "value"=>"lenny"}]} Net::HTTPServerException (400 "Bad Request"): /usr/lib/ruby/1.8/net/http.rb:2105:in `error!' lib/puppet_https.rb:34:in `get' app/models/node.rb:85:in `find_from_inventory_search' app/controllers/nodes_controller.rb:44:in `search' 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/phusion_passenger/rack/request_handler.rb:92:in `process_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61 Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal Server Error) root@puppet01:/usr/share/puppet-dashboard/log# lynx "https://puppet01.admin.moos.net.uk:8140/production/facts_search/search?facts.processorcount.ge=2" header too long Alert!: HTTP/1.1 400 Bad Request ---------------------------------------- Bug #16376: Inventory service fails on fact search with `undefined method `has_fact_with_value' for #<Class:0x2adba4999d50>` https://projects.puppetlabs.com/issues/16376#change-72166 Author: Matthaus Owens Status: Merged - Pending Release Priority: Normal Assignee: Matthaus Owens Category: Target version: 2.7.20 Affected Puppet version: 2.7.14 Keywords: Branch: <pre> Sep 12 10:17:10 rhel5-latest-x86-64 puppet-master[10906]: Starting Puppet master version 2.7.19 (Puppet Enterprise 2.6.0rc0-19-g515dd42) Sep 12 10:17:10 rhel5-latest-x86-64 puppet-master[10906]: undefined method `has_fact_with_value' for #<Class:0x2adba4999d50> </pre> Looks like the problem is in lib/puppet/rails/inventory_node.rb and the rails 3 compatibility layer. -- 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.
