The compute node handles connectivity and security groups for instances.
With the network node configured, there are some services that need to run our Compute nodes. The services that run our compute node for Neutron are nova-compute, quantum-ovs-plugin-agent, and openvswitch-server.
Ensure that you are logged on to the compute node in our environment. If you created this using Vagrant, you can issue the following command:
vagrant ssh compute
To configure our OpenStack Compute node, carry out the following steps:
The first is to configure the database credentials to point to our MySQL installation:
In a similar way to configuring other OpenStack services, the Neutron services have a paste ini file. Edit /etc/quantum/api-paste.ini to configure Keystone authentication. We add the auth and admin lines to the [filter:authtoken] section:
rabbit_host = 172.16.0.200
Configuring our OpenStack Compute node to use Neutron is straightforward. We follow a similar set of initial steps that were conducted on our Network node, which involves installing a number of packages as follows:
Once installed, we also configure the Open vSwitch service running on our Compute node and configure the same integration bridge, br-int.
We utilize the same
/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini file with only one
difference—the local_ip setting is the IP address of the Compute node that we are configuring.
Lastly, we configure /etc/nova/nova.conf— all the important configuration file for our OpenStack Compute services.
The preceding code tells our OpenStack Compute service to use Neutron networking.
The preceding is the address of our Neutron server API (running on our Controller node).
This tells Neutron to utilize the OpenStack identity and authentication service, Keystone.
The name of the service tenant in Keystone.
The username that Neutron uses to authenticate with in Keystone.
The password that Neutron uses to authenticate with in Keystone.
The address of our Keystone service.
This tells Libvirt to use the OVS Bridge driver.
This is the driver used to create Ethernet devices on our Linux hosts.
This is the driver to use when managing the firewalls.