Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -Icehouse -
OpenStack Installation Guide for
Ubuntu 12.04/14.04 (LTS)
June 1, 2015 icehouse
iii
Table of Contents
Preface ............................................................................................................................ 7
Conventions ............................................................................................................ 7
Document change history ....................................................................................... 7
1. Architecture ................................................................................................................ 1
Overview ................................................................................................................. 1
Conceptual architecture .......................................................................................... 2
Example architectures ............................................................................................. 3
2. Basic environment configuration ................................................................................. 6
Before you begin .................................................................................................... 6
Networking ............................................................................................................. 7
Network Time Protocol (NTP) ................................................................................ 17
Security ................................................................................................................. 17
Database ............................................................................................................... 18
OpenStack packages ............................................................................................. 19
Messaging server ................................................................................................... 20
3. Configure the Identity Service ................................................................................... 22
Identity Service concepts ....................................................................................... 22
Install the Identity Service ..................................................................................... 24
Define users, tenants, and roles ............................................................................. 25
Define services and API endpoints ......................................................................... 27
Verify the Identity Service installation .................................................................... 28
4. Install and configure the OpenStack clients ................................................................ 30
Overview ............................................................................................................... 30
Install the OpenStack command-line clients ........................................................... 31
Set environment variables using the OpenStack RC file .......................................... 33
Create openrc.sh files ............................................................................................ 34
5. Configure the Image Service ...................................................................................... 35
Image Service overview ......................................................................................... 35
Install the Image Service ........................................................................................ 36
Verify the Image Service installation ...................................................................... 37
6. Configure Compute services ...................................................................................... 41
Compute service .................................................................................................... 41
Install Compute controller services ......................................................................... 43
Configure a compute node ................................................................................... 46
7. Add a networking service .......................................................................................... 49
OpenStack Networking (neutron) .......................................................................... 49
Legacy networking (nova-network) ....................................................................... 68
Next steps ............................................................................................................. 70
8. Add the dashboard ................................................................................................... 71
System requirements ............................................................................................. 71
Install the dashboard ............................................................................................ 72
Next steps ............................................................................................................. 73
9. Add the Block Storage service ................................................................................... 74
Block Storage ........................................................................................................ 74
Configure a Block Storage service controller .......................................................... 74
Configure a Block Storage service node ................................................................. 76
Verify the Block Storage installation ...................................................................... 78
Next steps ............................................................................................................. 79