Hello Shital,

The OS-KSADM extension is a built-in extension (
http://docs.openstack.org/developer/keystone/old/extensions.html) and
should be available with the stock Devstack installation (just tested it
locally). You may want to check the user/tenant you're providing to JClouds
does have the right permissions to create tenants.

Jasdeep



On Wed, Apr 9, 2014 at 10:00 PM, Shital Patil <[email protected]>wrote:

> Thanks for reply  any idea about how to do this with devstack local.conf ?
>
>
>
> On Wed, Apr 9, 2014 at 6:06 PM, Ignasi Barrera <[email protected]> wrote:
>
>> The logs show that your openstack installation does not have the OS-KSADM
>> extension, required to manage tenants.
>>
>> Do you have it installed, and the user you are using has permissions to
>> use it?
>>
>> Also remember to remove the credentials when sharing the logs!
>>
>> I.
>> El 09/04/2014 13:28, "Shital Patil" <[email protected]> escribió:
>>
>> Hi,
>>>
>>> My tenant creation is failing with error -
>>> http://pastie.org/9036408
>>>
>>> My code is -
>>>
>>> private void createTenants(){
>>>       System.out.println("Creating tenant..");
>>>        TenantAdminApi tenantAdminApi =
>>> keystoneApi.getTenantAdminApi().get();
>>>       Tenant firstTenant = tenantAdminApi.create("FirstTenant",
>>>
>>> CreateTenantOptions.Builder.enabled(true).description("FirstTenant"));
>>>        System.out.println(firstTenant);
>>>   }
>>>
>>> Please tell where it is going wrong
>>>
>>> Thank you
>>>
>>>
>

Reply via email to