[chef] chef-0.8.10 web login with default password failing


Chronological Thread 
  • From: Mike Bailey < >
  • To:
  • Subject: [chef] chef-0.8.10 web login with default password failing
  • Date: Sat, 3 Apr 2010 02:00:18 +1100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=aEqZ6U5vZxSrynSU+3sRFOfU002X+q7mtozXJFZUo+6Lhe8Kp9dJYLYFovBv2J3YLa Sq9v2BphXnbgknw98qFi2N/xBOcau1Ef39VH+2wvbh5ggs3YW67itOqJFuIHRJzuPiJe 0Ix+MhqlrTxSn/VBN5Bi9tPR/HNfOMjAjtzCY=

I've just installed a fresh copy of chef-server on an Ubuntu 9.10 EC2 instance (ami-857829c0)

I can't login. Details below. Any help would be appreciated.

thanks,

Mike 


http://chef.failmode.com:4040/

# /etc/chef/server.rb
web_ui_admin_user_name "admin"
web_ui_admin_default_password "1R0KVK8XdWca11Rdrh8z"

Error displayed on web page: "Could not complete logging in."

:/etc/service/chef-server/log/main# tail -f current 

2010-04-02_14:50:52.47123 INFO: Authenticating client chef-webui
2010-04-02_14:50:52.49012 merb : worker (port 4000) ~ Cannot load user admin - (Merb::ControllerExceptions::NotFound)
2010-04-02_14:50:52.49013 /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.8.10/app/controllers/users.rb:37:in `show'
2010-04-02_14:50:52.49013 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:315:in `send'
2010-04-02_14:50:52.49014 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action'
2010-04-02_14:50:52.49014 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
2010-04-02_14:50:52.49015 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/merb_controller.rb:252:in `_dispatch'
2010-04-02_14:50:52.49016 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:102:in `dispatch_action'
2010-04-02_14:50:52.49016 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:74:in `handle'
2010-04-02_14:50:52.49017 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:36:in `handle'
2010-04-02_14:50:52.49017 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/application.rb:17:in `call'
2010-04-02_14:50:52.49018 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/middleware/static.rb:28:in `call'
2010-04-02_14:50:52.49019 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:76:in `pre_process'
2010-04-02_14:50:52.49020 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `catch'
2010-04-02_14:50:52.49020 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `pre_process'
2010-04-02_14:50:52.49021 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:57:in `process'
2010-04-02_14:50:52.49021 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:42:in `receive_data'
2010-04-02_14:50:52.49024 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2010-04-02_14:50:52.49025 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2010-04-02_14:50:52.49025 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in `start'
2010-04-02_14:50:52.49026 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/server.rb:156:in `start'
2010-04-02_14:50:52.49026 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/thin.rb:30:in `start_server'
2010-04-02_14:50:52.49027 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:296:in `start_at_port'
2010-04-02_14:50:52.49027 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:128:in `start'
2010-04-02_14:50:52.49028 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:174:in `bootup'
2010-04-02_14:50:52.49029 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:42:in `start'
2010-04-02_14:50:52.49029 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core.rb:173:in `start'
2010-04-02_14:50:52.49030 /usr/lib/ruby/gems/1.8/gems/chef-server-0.8.10/bin/chef-server:77
2010-04-02_14:50:52.49030 /usr/bin/chef-server:19:in `load'
2010-04-02_14:50:52.49031 /usr/bin/chef-server:19
2010-04-02_14:50:52.49049 merb : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"show", "id"=>"admin", "controller"=>"chef_server_api/users"}
2010-04-02_14:50:52.49092 merb : worker (port 4000) ~ 
2010-04-02_14:50:52.49092 




Archive powered by MHonArc 2.6.16.

§