Talk:Getting started with OpenStack Nova

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
Updates for Fedora 17 / OpenStack >= Essex-4
+
Moved most of the content here to https://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17
 
+
* install Keystone
+
$> sudo yum install --enablerepo=updates-testing openstack-keystone python-keystoneclient
+
 
+
Should get installed:
+
python-keystoneclient >= 2012.1-0.5.e4
+
openstack-keystone >= 2012.1-0.9.e4
+
 
+
* configure Keystone database
+
$> sudo openstack-keystone-db-setup
+
Please enter the password for the 'root' MySQL user:
+
Verified connectivity to MySQL.
+
Creating 'keystone' database.
+
Asking openstack-keystone to sync the databse.
+
Complete!
+
 
+
* change default administrative token in keystone.conf
+
$> sudo openstack-config-set /etc/keystone/keystone.conf DEFAULT admin_token $(openssl rand -hex 10)
+
 
+
* 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 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
+
+----------------------------------+---------+-------------------+-------+
+
|                id                | enabled |      email      |  name |
+
+----------------------------------+---------+-------------------+-------+
+
| 05742d10109540d2892d17ec312a6cd9 | True    | admin@example.com | admin |
+
| 25fe47659d6a4255a663e6add1979d6c | True    | admin@example.com | demo  |
+
+----------------------------------+---------+-------------------+-------+
+

Latest revision as of 01:38, 5 March 2012

Moved most of the content here to https://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17