How to enable OS-KSADM Admin Extension in openstack? - openstack

I am new to openstack and I am working on tenant management in openstack icehouse though restful api, and realized I need to enable OS-KSADM extension.
If I invoke my local openstack instance by the url: http://xx.x.x.x:5000/v2.0/extensions
I will get response of the list of the extensions including "OpenStack Federation APIs","OS-FEDERATION","OS-KSCRUD", "OS-EC2"....etc, but no OS-KSADM . I have googled around about it and could not find an example or detail config instruction.
What is the config change needed to enable this extension?
Thanks in advance

By default you have the Identity v3 API enabled, and the OS-KSADM extension is for Identity v2.0.
There are a couple of blog posts about enabling the v2 API:
http://www.symantec.com/connect/blogs/how-switch-keystone-v20-v3
https://www.mirantis.com/blog/manage-openstack-projects-using-domains-havana/

Related

Develop the openstack manage website like the original dashboard

I installed the HA OpenStack on 3 host machines, and them works perfect.
As you know, the HA OpenStack has a original dashboard, I can access from browser: http://44.118.44.1xx/dashboard, now I want to write a new website to do the dashboard's functions.
and I want to develop the site on my Mac, how to do with that?
I don't know how to connect with the original HA openstack's database(there are mariadb cluster).
because in the website, I will register the user(tenant), I will put the tenant information to the mariadb.
In Openstack you are not advised to connect to DB directly. Each services in Openstack exposes API(primarily it shall be REST API). Assuming you are trying to build website from scratch, you can use javascript or similar to call REST APIs. here is quick start guide for using REST APIs. You can fine complete list of services and its REST APIs description Here.

WSO2 API Manager UserInformationRecoveryService is not listed in admin services

I am trying to setup WSO2 API Manager version 2.
I wanted to send an email for user activation. After going through documentation and blogs I came to know that I need UserInformationRecoveryService.
But when I start my WSO2 API Manager with OSGI console flag to run listAdminServices command, in the list I could not get the name ad url for UserInformationRecoveryService.
Can someone guide me on how to install this service in WSO2 API Manager version 2?
Thanks in advance.
Yes, UserInformationRecoveryService is not included by default in API Manager. You need to install that feature. Please refer this article [1].

Adding a realm in Websphere Linux 8.5.5.4 Server

Need a help on how to add a realm for a example.
com.worklight.integration.auth.AdapterAuthenticator
How should i put this realm to server?
That's got nothing to do with your application server.
You define Realms in the MobileFirst project that you created using either MobileFirst Studio or the CLI tool (in which case you then edit a file in whichever code/text editor of your choosing).
In both cases the file to edit is called authenticationConfig.xml and is located in the your-project\server\conf\ folder.
Before touching this file, though, you should familiar yourself with the authentication concept in MobileFirst Platform because you do not simply "add a realm". You are required to also configure its associated Login Module and security tests as well as actually utilize it somewhere in your application's logic.
Please read:
Developer Center: Authentication and Security
Knowledge Center: MobileFirst Security Framework
The tutorials and documentations topic above will also lead you to Adapter-based authentication, which is what you are supposedly actually looking for.

Create Azure Cache Programmatically

I am creating an application that automate the deployment to Azure Web Sites. I was able to create Azure Web Site, database and storage programmatically but I didn't saw any library out there that can create Azure Cache programmtically. Anyone?
Thanks in advance. :)
Whatever operations you perform on Windows Azure Management Portal is backed by Windows Azure Service Management API. I'm pretty sure that there's an API for creating and configuring caching programmatically but it has not been made public yet. I would recommend keeping an eye out on the REST API documentation page. This is where you will find information about how you could create cache programmatically.
Azure Managed Cache is in preview and hence REST API are not available for it. Also it can not be created from Portal. However, you can use Powershell commands to create it. Once created you can then manage it from azure portal itself.
Following command can be used for creating Basic Cache of 128MB.
New-AzureManagedCache -Name YourCacheName -Location "YourLocation"
For the detailed steps refer to - Create Azure Managed Cache from Powershell
So you can create .ps1 file or powersehll commands string which then can be invoked from your code.
Hope this helps.

How to add users and passwords to a local cloudify deployment

I am following the Cloudify user guide - its pretty easy to follow, and have installed a local deployment successfully.
Now I want to add users and passwords to the web management interface, how to do this? By default, the web interface supports anonymous login.
Assuming your aim is to obtain full control over deployments, use the Cloudify shell (or "Cloudify CLI").
As the Cloudify shell currently exposes read-only operations, it does not require login details. Configuring secured access for the REST API, however, can be done using spring security (which will be documented soon).

Resources