Hide Forgot
Created attachment 510284 [details] ss Description of problem: 1. add a rhevm provider 2. add a rhevm provider account used a bad user.. a fully qualified nt domain user user = rhevm\administrator rocessing ProviderAccountsController#new (for 10.11.228.65 at 2011-06-28 09:29:32) [GET] Parameters: {"action"=>"new", "controller"=>"provider_accounts"} Rendering template within layouts/application Rendering provider_accounts/new Completed in 141ms (View: 111, DB: 28) | 200 OK [https://sgi-xe270-01.rhts.eng.bos.redhat.com/conductor/provider_accounts/new] Processing ProviderAccountsController#set_selected_provider (for 10.11.228.65 at 2011-06-28 09:29:35) [GET] Parameters: {"action"=>"set_selected_provider", "controller"=>"provider_accounts", "provider_account"=>{"provider_id"=>"5"}} Completed in 36ms (View: 12, DB: 22) | 200 OK [https://sgi-xe270-01.rhts.eng.bos.redhat.com/conductor/provider_accounts/set_selected_provider?provider_account%5Bprovider_id%5D=5] Processing ProviderAccountsController#create (for 10.11.228.65 at 2011-06-28 09:30:18) [POST] Parameters: {"commit"=>"Save", "action"=>"create", "quota"=>{"maximum_running_instances"=>"unlimited"}, "controller"=>"provider_accounts", "__map"=>{"set_selected_provider"=>{"method"=>"GET", "url"=>"/conductor/provider_accounts/set_selected_provider"}}, "provider_account"=>{"label"=>"rhevmAccount", "provider_id"=>"5", "credentials_hash"=>{"username"=>"rhevm\\administrator", "password"=>"[FILTERED]"}}} DeltaCloud::API::BackendError (uninitialized constant Deltacloud::BackendError): /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.1.0/lib/deltacloud.rb:294:in `handle_backend_error' /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.1.0/lib/deltacloud.rb:262:in `request' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:218:in `call' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:218:in `process_result' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `transmit' /usr/lib/ruby/1.8/net/http.rb:543:in `start' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:60:in `execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:31:in `execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient.rb:68:in `get' /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.1.0/lib/deltacloud.rb:261:in `send' /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.1.0/lib/deltacloud.rb:261:in `request' /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.1.0/lib/deltacloud.rb:51:in `valid_credentials?' app/models/provider_account.rb:169:in `valid_credentials?' app/models/provider_account.rb:79:in `validate_credentials' app/controllers/provider_accounts_controller.rb:77:in `create' compass (0.10.4) lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in `process' haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call' haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call' thin (1.2.5) lib/thin/connection.rb:76:in `pre_process' thin (1.2.5) lib/thin/connection.rb:74:in `catch' thin (1.2.5) lib/thin/connection.rb:74:in `pre_process' thin (1.2.5) lib/thin/connection.rb:57:in `process' thin (1.2.5) lib/thin/connection.rb:42:in `receive_data' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' thin (1.2.5) lib/thin/backends/base.rb:57:in `start' thin (1.2.5) lib/thin/server.rb:156:in `start' thin (1.2.5) lib/thin/controllers/controller.rb:80:in `start' thin (1.2.5) lib/thin/runner.rb:177:in `send' thin (1.2.5) lib/thin/runner.rb:177:in `run_command' thin (1.2.5) lib/thin/runner.rb:143:in `run!' thin (1.2.5) bin/thin:6 /usr/bin/thin:19:in `load' /usr/bin/thin:19 Rendering template within layouts/application Rendering layouts/error ~ ~ (END)
I pushed rubygem-deltacloud-client 0.3.0 to the testing repo. It had been fixed on Fedora for a long time (in fedora-updates), but we were carrying an ancient version on RHEL. I don't appear to have permissions to update this ticket to ON_QA, but that's how it should read.
rhevm provider with bad user name cannot be added. Validation done. verified on : [root@dell-pe860-01 ~]# rpm -qa | grep aeolus aeolus-configure-2.0.1-0.el6.20110706084705git542b456.noarch aeolus-conductor-0.3.0-0.el6.20110706142422git0ebf7d1.noarch aeolus-conductor-doc-0.3.0-0.el6.20110706142422git0ebf7d1.noarch aeolus-conductor-daemons-0.3.0-0.el6.20110706142422git0ebf7d1.noarch rubygem-aeolus-cli-0.0.1-1.el6.20110706142422git0ebf7d1.noarch aeolus-all-0.3.0-0.el6.20110706142422git0ebf7d1.noarc
removing verified bugs from tracker
release pending...
closing out old bugs
perm close