[
https://issues.apache.org/jira/browse/DTACLOUD-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577407#comment-13577407
]
Marios Andreou commented on DTACLOUD-469:
-----------------------------------------
Hey Matt:
indeed it is 'standard Keystone stuff' and you are spot on with the 'RAX-KSKEY'
stuff. The good news is that the Openstack rubygem *does* support this RAX
authentication - see [1][2]. You can try it out using the rubygem directly - I
was able to succesfully authenticate like so:
[marios@name ~]$ irb -rubygems
irb(main):001:0> require 'openstack'
=> true
irb(main):002:0> os = OpenStack::Connection.create({:username => "name",
:api_key=>"key", :auth_method=>"rax-kskey", :auth_url =>
"https://identity.api.rackspacecloud.com/v2.0"})
=> #<OpenStack::Compute::Connection:0x9af5934 @extensions=nil,
@connection=#<OpenStack::Connection:0x9af5b00 @authuser=
os.servers etc etc
The problem right now with using the deltacloud openstack driver is that it is
passing in the parameters to create as:
connection_params = {:username => user_name, :api_key => credentials.password,
:authtenant => tenant_name, :auth_url => provider, :service_type => type}
in other words, without specifying the ':auth_method' parameter, which defaults
to 'password' (rather than "rax-kskey") - see [3]. Thus, all that's missing is
some way to signal to the Openstack driver that this is 'rax' authentication -
what do you think? Should we proceed with this?
marios
[1]
https://github.com/ruby-openstack/ruby-openstack/blob/master/lib/openstack/connection.rb#L41
[2]
https://github.com/ruby-openstack/ruby-openstack/blob/master/lib/openstack/connection.rb#L268
[3]
https://github.com/apache/deltacloud/blob/master/server/lib/deltacloud/drivers/openstack/openstack_driver.rb#L513
> Rackspace auth with the openstack driver
> ----------------------------------------
>
> Key: DTACLOUD-469
> URL: https://issues.apache.org/jira/browse/DTACLOUD-469
> Project: DeltaCloud
> Issue Type: New Feature
> Components: Server
> Reporter: Marios Andreou
> Assignee: Marios Andreou
>
> add Rackspace support to Conductor via OpenStack (versus their older API).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira