Book Image

LEARNING OPENSTACK NETWORKING (NEUTRON)

By : James Denton
Book Image

LEARNING OPENSTACK NETWORKING (NEUTRON)

By: James Denton

Overview of this book

Table of Contents (17 chapters)
Learning OpenStack Networking (Neutron)
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing and configuring Neutron services


In this installation, the various services that make up OpenStack Networking will be installed on the controller node rather than on a dedicated networking node. However, some Neutron configuration files must exist on all nodes, and the configuration files can only be installed via packages.

To install Neutron services, issue the following command on all nodes:

# yum -y install openstack-neutron

As a result, the following services will be installed in /etc/init.d/:

neutron-server
neutron-dhcp-agent
neutron-metadata-agent
neutron-l3-agent
neutron-lbaas-agent

In this installation, the services mentioned will run only on the controller node despite them being installed across all nodes.

Creating the Neutron database

Due to an unresolved bug, it is not possible to use the openstack-db command to properly create the Neutron database and user. Instead, use the mysql client on the controller as follows:

# mysql -u root -p

Enter the MySQL root password when...