Bug 717276 - addding a rhevm provider account w/ bad username causes proxy error
Summary: addding a rhevm provider account w/ bad username causes proxy error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
Assignee: Angus Thomas
QA Contact: wes hayutin
URL: https://sgi-xe270-01.rhts.eng.bos.red...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-28 13:43 UTC by wes hayutin
Modified: 2012-01-26 12:15 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
ss (50.52 KB, image/png)
2011-06-28 13:43 UTC, wes hayutin
no flags Details

Description wes hayutin 2011-06-28 13:43:51 UTC
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)

Comment 1 Matt Wagner 2011-07-01 19:21:18 UTC
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.

Comment 2 Aziza Karol 2011-07-07 05:38:03 UTC
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

Comment 3 wes hayutin 2011-07-08 13:48:20 UTC
removing verified bugs from tracker

Comment 4 wes hayutin 2011-08-01 19:58:09 UTC
release pending...

Comment 5 wes hayutin 2011-08-01 19:59:14 UTC
release pending...

Comment 7 wes hayutin 2011-12-08 13:58:14 UTC
closing out old bugs

Comment 8 wes hayutin 2011-12-08 14:10:57 UTC
perm close


Note You need to log in before you can comment on or make changes to this bug.