[
https://issues.apache.org/jira/browse/DTACLOUD-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronelle Landy closed DTACLOUD-54.
---------------------------------
Resolution: Fixed
With deltacloud 0.5.0-4 and aeolus 0.8, was able to add an account for ec2
provider (see second account text copied below):
Account Name Username Cloud Resource Provider Name Cloud Resource
Provider Type Priority Quota Used Quota Limit
ec2-us-east-1_xxxx xxx ec2-us-east-1 Amazon EC2 0%
unlimited
ec2-us-east-1-yyyy yyy ec2-us-east-1 Amazon EC2 0%
20
Closing this issue out as no longer reproducible in the latest version.
> Exception while parsing error from ec2
> --------------------------------------
>
> Key: DTACLOUD-54
> URL: https://issues.apache.org/jira/browse/DTACLOUD-54
> Project: DeltaCloud
> Issue Type: Bug
> Components: Client (Ruby)
> Environment: conductor, ec2
> Reporter: wes hayutin
> Assignee: David Lutterkort
> Priority: Minor
>
> While using conductor to add a provider account
> 1. Login -> Administer -> Select Provider Account -> New
> add a provider account for ec2-us-east-1
> Fill out form, w/ quota (may not be necessary)
> Save..
> Get non-fatal error
> [2011-07-11T08:50:24.528114 #18150] INFO -- : New Aws::Ec2 using
> per_thread-connection mode
> I, [2011-07-11T08:50:24.528857 #18150] INFO -- : Opening new HTTPS
> connection to ec2.us-east-1.amazonaws.com:443
> I, [2011-07-11T08:50:27.123519 #18150] INFO -- : New Aws::S3Interface using
> per_thread-connection mode
> I, [2011-07-11T08:50:27.124097 #18150] INFO -- : Opening new HTTPS
> connection to s3.amazonaws.com:443
> W, [2011-07-11T08:50:27.343702 #18150] WARN -- : ##### Aws::S3Interface
> returned an error: 405 Method Not Allowed
> <?xml version="1.0" encoding="UTF-8"?>
> <Error><Code>MethodNotAllowed</Code><Message>The specified method is not
> allowed against this
> resource.</Message><ResourceType>SERVICE</ResourceType><Method>PUT</Method><RequestId>A78D718DD0EB5C62</RequestId><HostId>q/LdJ6lNQ2w28ChAucyZj8tkaW4fNkhvHVJ/enXAwo51c7EsipVJANEoiZ/RuFH2</HostId></Error>
> #####
> W, [2011-07-11T08:50:27.343788 #18150] WARN -- : ##### Aws::S3Interface
> request: s3.amazonaws.com:443/ ####
> !! Unexpected error while processing request: undefined method `details' for
> #<Deltacloud::ExceptionHandler::ProviderError:0x7f3b6c0cb300>
> undefined method `details' for
> #<Deltacloud::ExceptionHandler::ProviderError:0x7f3b6c0cb300>
> ././views/errors/502.xml.haml:5:in
> `__tilt_eee8582e4a889b1ebbbedf080e7ca463'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:192:in
> `send'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:192:in
> `evaluate'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:449:in
> `evaluate'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:131:in
> `render'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:343:in
> `render_without_format'
> ././lib/sinatra/respond_to.rb:129:in `render'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:311:in
> `haml'
> ././lib/deltacloud/helpers/application_helper.rb:112:in `report_error'
> ././lib/sinatra/respond_to.rb:242:in `call'
> ././lib/sinatra/respond_to.rb:242:in `respond_to'
> ././lib/deltacloud/helpers/application_helper.rb:111:in `report_error'
> ././server.rb:61
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:641:in
> `instance_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:641:in
> `error_block!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:636:in
> `each'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:636:in
> `error_block!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:630:in
> `handle_exception!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:605: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/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/li127.0.0.1 - -
> [11/Jul/2011 08:50:27] "GET /api HTTP/1.1" 200 1439 0.0109
> 127.0.0.1 - - [11/Jul/2011 08:50:28] "POST /api/keys HTTP/1.1" 201 2156 0.7404
> 127.0.0.1 - - [11/Jul/2011 08:50:28] "GET /api HTTP/1.1" 200 1439 0.0088
> 127.0.0.1 - - [11/Jul/2011 08:50:28] "GET /api/realms HTTP/1.1" 200 639 0.2717
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira