Openstack keystone-130319161514-phpapp02

Embed Size (px)

Citation preview

OpenStack Identity Service

Surya Prabhakar16th March 2013

What is OpenStack?

Iaas cloud computing software to build public and private clouds.

More than 100 companies are part including Dell, AMD, HP, CISCO

All code will be released under the Apache License

Development based on a design summit every 6 months.

Publicly available source code.

What is OpenStack Identity Service?

OpenStack Identity (Keystone) provides a central directory of users mapped to the OpenStack services they can access. It acts as a common authentication system across the cloud operating system and can integrate with existing backend directory services like LDAP.

What do we cover today?

Understand and configure Keystone

WIFM?

How does it help me?

Can we participate in the development and contribute?

OpenStack Components

Sequence of things to be done..

MYSQL

RABBITMQ

KEYSTONE

GLANCE

NOVA

Steps to Configure keystone

apt-get install mysql-server python-mysqldb

sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnfservice mysql restart

apt-get install rabbitmq-server

Steps to Configure keystone

apt-get install ntp

apt-get install keystone

mysql -u root -pCREATE DATABASE keystone;GRANT ALL ON keystone.* TO 'keystoneUser'@'%' IDENTIFIED BY 'keystonePass';quit;

Steps to Configure keystone

apt-get install ntp

apt-get install keystone

mysql -u root -pCREATE DATABASE keystone;GRANT ALL ON keystone.* TO 'User'@'%' IDENTIFIED BY 'Pass';quit;

Steps to Configure keystone

/etc/keystone/keystone.conf connection = mysql://keystoneUser:[email protected]/keystone

service keystone restart

keystone-manage db_sync

Steps to Configure keystone

#Change the HOST_IP and HOST_IP_EXT variables before executing the scripts

chmod +x keystone_basic.sh

chmod +x keystone_endpoints_basic.sh

./keystone_basic.sh

./keystone_endpoints_basic.sh

Steps to Configure keystone

vi creds#Paste the following:export OS_TENANT_NAME=adminexport OS_USERNAME=adminexport OS_PASSWORD=admin_passexport OS_AUTH_URL="http://192.168.20.1:5000/v2.0/"

# source it:source creds

Steps to Configure keystone

vi creds#Paste the following:export OS_TENANT_NAME=adminexport OS_USERNAME=adminexport OS_PASSWORD=admin_passexport OS_AUTH_URL="http://192.168.20.1:5000/v2.0/"

# Load it:source creds

Steps to Configure keystone

Keystone use cases

https://wiki.openstack.org/wiki/KeystoneUseCases#User_story:_Windows_.2B_Virtual_Machine

Contact me

Freenodemy nick ( spn )

Referenceshttp://openstack.org

Dell India R&D Centre Click to edit the title text formatClick to edit Master title style

Dell India R&D Centre Click to edit the title text formatClick to edit Master title style

Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level

Ninth Outline LevelClick to edit Master text stylesSecond level

Third level

Confidential