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


Chronological Thread 
  • From: John Merrells < >
  • To:
  • Subject: [chef] Re: chef-0.8.10 web login with default password failing
  • Date: Fri, 2 Apr 2010 09:05:04 -0700


This happened to me twice yesterday installing 0.8.8. I couldn't find a better solution than reinstalling, and being very very careful to get the first login right...

John

On Apr 2, 2010, at 8:00 AM, Mike Bailey wrote:

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 



# /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 


-- 
John Merrells
+1.415.244.5808









Archive powered by MHonArc 2.6.16.

§