Install and configure compute node¶
The compute node handles connectivity and security groups for instances.
Install the components¶
# zypper install --no-recommends \ openstack-neutron-openvswitch-agent bridge-utils
Configure the common component¶
The Networking common component configuration includes the authentication mechanism, message queue, and plug-in.
Default configuration files vary by distribution. You might need
to add these sections and options rather than modifying existing
sections and options. Also, an ellipsis (
...) in the configuration
snippets indicates potential default configuration options that you
/etc/neutron/neutron.conffile and complete the following actions:
[database]section, comment out any
connectionoptions because compute nodes do not directly access the database.
RabbitMQmessage queue access:
[DEFAULT] # ... transport_url = rabbit://openstack:RABBIT_PASS@controller
RABBIT_PASSwith the password you chose for the
openstackaccount in RabbitMQ.
[oslo_concurrency]section, configure the lock path:
[oslo_concurrency] # ... lock_path = /var/lib/neutron/tmp
Configure networking options¶
Choose the same networking option that you chose for the controller node to configure services specific to it. Afterwards, return here and proceed to Configure the Compute service to use the Networking service.
Configure the Compute service to use the Networking service¶
/etc/nova/nova.conffile and complete the following actions:
[neutron]section, configure access parameters:
[neutron] # ... auth_url = http://controller:5000 auth_type = password project_domain_name = Default user_domain_name = Default region_name = RegionOne project_name = service username = neutron password = NEUTRON_PASS
NEUTRON_PASSwith the password you chose for the
neutronuser in the Identity service.
See the compute service configuration guide for the full set of options including overriding the service catalog endpoint URL if necessary.
The Networking service initialization scripts expect the variable
/etc/sysconfig/neutronfile to reference the ML2 plug-in configuration file. Ensure that the
/etc/sysconfig/neutronfile contains the following:
Restart the Compute service:
# systemctl restart openstack-nova-compute.service
Start the Open vSwitch agent and configure it to start when the system boots:
# systemctl enable openstack-neutron-openvswitch-agent.service # systemctl start openstack-neutron-openvswitch-agent.service