Bug 712792 - uninitialized constant Deltacloud::BackendError : if invalid ec2 credentials are provided
Summary: uninitialized constant Deltacloud::BackendError : if invalid ec2 credentials ...
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: Richard Su
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-13 07:29 UTC by Shveta
Modified: 2012-01-26 12:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-16 17:55:42 UTC


Attachments (Terms of Use)
err (248.06 KB, image/png)
2011-06-13 07:29 UTC, Shveta
no flags Details

Description Shveta 2011-06-13 07:29:36 UTC
Created attachment 504384 [details]
err

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Add a provider account 
2. Provide wrong secret access key 
3. Click on Add

uninitialized constant Deltacloud::BackendError 


Same bug when you provide wrong access key .
  
Actual results:


Expected results:


Additional info:
tail -f /var/log/deltacloud-ec2-us-west-1/ec2.log 

NameError - uninitialized constant Deltacloud::BackendError:
 ././lib/deltacloud/drivers/ec2/ec2_driver.rb:578:in `valid_credentials?'
 ././server.rb:71:in `GET /api/?'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `route_eval'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
 ././lib/sinatra/rack_driver_select.rb:45:in `call'
 ././lib/sinatra/rack_matrix_params.rb:85:in `call'
 ././lib/sinatra/rack_runtime.rb:36:in `call'
 ././lib/sinatra/rack_etag.rb:42:in `call'
 /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in `call'
 /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'
 /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
 /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/stats.rb:24:in `call'
 /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/stats.rb:33:in `log'
 /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/stats.rb:24:in `call'
 /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process'
 /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch'
 /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `pre_process'
 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in `call'
 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in `spawn_threadpool'
 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in `initialize'
 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in `new'
 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in `spawn_threadpool'
 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1049:in `defer'

Comment 1 Shveta 2011-06-13 07:30:11 UTC
 rpm -qa|grep aeolus
aeolus-conductor-doc-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-all-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-conductor-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-conductor-daemons-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-conductor-debuginfo-0.0.3-0.fc14.20110401225256git6800ed8.x86_64
aeolus-configure-2.0.1-0.fc14.20110602110128git5cb9257.noarch

Comment 2 Richard Su 2011-06-13 17:48:55 UTC
I'm unable to reproduce this issue. This error was shown when incorrect secret key is used: "Login Credenials are Invalid for this Provider"

I used the same rpms. Only exception is aelous-conductor-debuginfo which I could not find. 

aeolus-conductor-doc-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-all-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-conductor-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-conductor-daemons-0.3.0-0.fc14.20110601221125git0f429f7.noarch
aeolus-configure-2.0.1-0.fc14.20110602110128git5cb9257.noarch

Comment 3 wes hayutin 2011-06-16 17:55:42 UTC
1 error prohibited this provider account from being saved
There were problems with the following fields:
Login Credenials are Invalid for this Provider

works for me.. too

[root@ibm-x3650-03 ~]# rpm -qa | grep aeolus
aeolus-conductor-devel-0.3.0-0.el6.20110616154040gited9b37c.noarch
aeolus-configure-2.0.1-0.el6.20110602110128git5cb9257.noarch
aeolus-conductor-0.3.0-0.el6.20110616154040gited9b37c.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110616154040gited9b37c.noarch
aeolus-conductor-doc-0.3.0-0.el6.20110616154040gited9b37c.noarch
aeolus-all-0.3.0-0.el6.20110616154040gited9b37c.noarch

Comment 4 wes hayutin 2011-07-11 00:32:44 UTC
removing from tracker

Comment 5 wes hayutin 2011-12-08 13:55:58 UTC
perm close


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