From Fedora Project Wiki

Revision as of 14:17, 5 March 2012 by Apevec (talk | contribs) (Created page with "{{QA/Test_Case |description=Setup required for the Keystone service. |setup=Follow QA:Testcase_install_OpenStack_packages. |actions= Configure the Keystone database, simila...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Setup required for the Keystone service.

Setup

Follow QA:Testcase_install_OpenStack_packages.

How to test

Configure the Keystone database, similar to how we do it for nova

$> sudo openstack-keystone-db-setup

Generate a random administrative token

$> ADMIN_TOKEN=$(openssl rand -hex 10)
$> sudo openstack-config-set /etc/keystone/keystone.conf DEFAULT admin_token $ADMIN_TOKEN

Start and enable Keystone service

$> sudo systemctl start openstack-keystone.service && sudo systemctl enable openstack-keystone.service

Create sample Tenants, Users and Roles

$> sudo ADMIN_PASSWORD=verybadpass openstack-keystone-sample-data

Test the Keystone CLI is working

$> export OS_USERNAME=admin
$> export OS_PASSWORD=verybadpass
$> export OS_TENANT_NAME=admin
$> export OS_AUTH_URL=http://127.0.0.1:5000/v2.0/
$> keystone user-list

Expected Results

Check that no errors are reported.