[chef] Named route not found: new_node - (Merb::Router::GenerationError)


Chronological Thread 
  • From: Dikang Gu < >
  • To: chef < >
  • Subject: [chef] Named route not found: new_node - (Merb::Router::GenerationError)
  • Date: Fri, 2 Apr 2010 12:07:43 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YeZkfhNyfa9dlqprm4NuYjveHgQArO7e9lLMRTRUWOAHQL/NjxJGQV7e50R5+d3dUk cKN6f295ZhoiUoosUgdCI3d7bQt5WtuPtoU/yrLfV5E/K/2XPx+8kdg9El6cpCVCGund mlto6S8Fn6OkSW5ZgwyYo/VZs0rc4ffwiciAI=

Hi guys,

I login to the 4040 web ui and got a merb page showing the "generation error 500", and then I check the log on the chef server and find this:

-----------------
DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/nodes/_view/all_id
merb : worker (port 4000) ~ {:after_filters_time=>2.1e-05, :dispatch_time=>0.109564, :before_filters_time=>0.005522, :action_time=>0.109166}
merb : worker (port 4000) ~ 

merb : worker (port 4040) ~ Named route not found: new_node - (Merb::Router::GenerationError)
/usr/lib/ruby/gems/1.8/gems/merb-slices-1.1.0/lib/merb-slices/controller_mixin.rb:153:in `slice_url'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.8.6/app/views/nodes/_navigation.html.haml:3:in `__usr__lib__ruby__gems__1_8__gems__chef__server__webui__0_8_6__app__views__nodes____navigation_html_haml'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:326:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:326:in `partial'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:321:in `map'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:321:in `partial'

---------------

Do you know why this happened?  

I'm using chef 0.8.6.

Thanks
Dikang.



Archive powered by MHonArc 2.6.16.

§