You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Ignasi Barrera <ig...@gmail.com> on 2014/03/03 10:58:31 UTC

Re: OpenStack add tenant and user

Just a quick update: There is an ongoing PR to support the OS-KSADM
extension [1]. Stay tuned!


I.

[1] https://github.com/jclouds/jclouds/pull/303


On 15 January 2014 10:48, Radek Skokan <ra...@gmail.com> wrote:

> Just an update after playing with it: the correct port Keystone port for
> this operation is 35357 (Admin API), not 5000 I mentioned above which is
> for Service API which supports only basic operations.
> And it seems jclouds is using just the Service API (?).
>
> R.
>
>
> On Wed, Jan 15, 2014 at 10:26 AM, Radek Skokan <
> radek.skokan.conf@gmail.com> wrote:
>
>> Hi Jeremy,
>>
>> I am working primarily against OpenStack Havana (2013.2) and Devstack
>> (2014.1). The Keystone (identity) API version can be 2.0 or 3 (
>> http://devstack:5000/v2.0/, http://devstack:5000/v3/).
>>
>> According to Openstack doc, these create operations are available in the
>> OS-KSADM extension (
>> http://docs.openstack.org/api/openstack-identity-service/2.0/content/Admin_API_Service_Developer_Operations-d1e1357.html
>> ).
>>
>> Add tenant:
>> - POST v2.0/tenants
>> -
>> http://docs.openstack.org/api/openstack-identity-service/2.0/content/POST_addTenant_v2.0_tenants_Tenant_Operations_OS-KSADM.html
>>
>> Add user:
>> - POST v2.0/users
>> -
>> http://docs.openstack.org/api/openstack-identity-service/2.0/content/POST_addUser_v2.0_users_User_Operations_OS-KSADM.html
>>
>> So actually as we can see, this is a API v2.0 extension.
>>
>> Cheers,
>> Radek
>>
>>
>> On Wed, Jan 15, 2014 at 9:55 AM, Jeremy Daggett <
>> jeremy.daggett@rackspace.com> wrote:
>>
>>>  Hi Radek!
>>>
>>>  What version of Keystone are you using? Can you please send a link to
>>> the OpenStack APIs [1] that you are referring to in order to accomplish
>>> this?
>>>
>>>  /jd
>>>
>>>  [1] http://api.openstack.org/
>>>
>>>   From: Radek Skokan <ra...@gmail.com>
>>> Reply-To: "user@jclouds.apache.org" <us...@jclouds.apache.org>
>>> Date: Wednesday, January 15, 2014 at 12:48 AM
>>> To: "user@jclouds.apache.org" <us...@jclouds.apache.org>
>>> Subject: OpenStack add tenant and user
>>>
>>>   Hello,
>>>
>>>  Is there a functionality in jclouds (lab) to add a new OpenStack
>>> tenant and new user (a Keystone service)?
>>>
>>>  I only can see listing them, getting info about existing ones, but
>>> nothing to create them.
>>>
>>>  Thanks,
>>> Radek
>>>
>>
>>
>