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
<[email protected]>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 <
> [email protected]> 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 <[email protected]>
>> Reply-To: "[email protected]" <[email protected]>
>> Date: Wednesday, January 15, 2014 at 12:48 AM
>> To: "[email protected]" <[email protected]>
>> 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
>>
>
>

Reply via email to