2. 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.
Dell India R&D Centre
3. 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.
Dell India R&D Centre
4. What do we cover today?
➔
Understand and configure Keystone
➔
WIFM?
➔
How does it help me?
➔
Can we participate in the development and contribute?
Dell India R&D Centre
6. 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.cnf
service mysql restart
●
apt-get install rabbitmq-server
Dell India R&D Centre
7. Steps to Configure keystone
●
apt-get install ntp
●
apt-get install keystone
●
mysql -u root -p
CREATE DATABASE keystone;
GRANT ALL ON keystone.* TO 'keystoneUser'@'%'
IDENTIFIED BY 'keystonePass';
quit;
Dell India R&D Centre
8. Steps to Configure keystone
●
apt-get install ntp
●
apt-get install keystone
●
mysql -u root -p
CREATE DATABASE keystone;
GRANT ALL ON keystone.* TO 'User'@'%' IDENTIFIED BY
'Pass';
quit;
Dell India R&D Centre
9. Steps to Configure keystone
●
/etc/keystone/keystone.conf
connection =
mysql://keystoneUser:keystonePass@192.168.20.1/keystone
●
service keystone restart
●
keystone-manage db_sync
Dell India R&D Centre
10. 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
Dell India R&D Centre
11. Steps to Configure keystone
●
vi creds
#Paste the following:
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=admin_pass
export OS_AUTH_URL="http://192.168.20.1:5000/v2.0/"
●
# source it:
source creds
Dell India R&D Centre
12. Steps to Configure keystone
●
vi creds
#Paste the following:
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=admin_pass
export OS_AUTH_URL="http://192.168.20.1:5000/v2.0/"
●
# Load it:
source creds
Dell India R&D Centre
13. Steps to Configure keystone
●
Keystone use cases
●
https://wiki.openstack.org/wiki/KeystoneUseCases#User_story:
_Windows_.2B_Virtual_Machine
Dell India R&D Centre
14. Contact me
●
Freenode
●
my nick ( spn )
Dell India R&D Centre
15. References
–
http://openstack.org
Dell India R&D Centre