Oslo_concurrency needs lock_path option, make it consistent in documentation for Suse, Redhat and Ubuntu installation guides. Change-Id: Ib675d7bf399f2aa7eba9d343fa0f06281d33089a Related-Bug: #1796976 Closes-Bug: #1812497 (cherry picked from commit534e850392) (cherry picked from commit573b0be3e8) (cherry picked from commitde9f813928)
4.1 KiB
Install and configure compute node
The compute node handles connectivity and security groups for instances.
Install the components
# zypper install --no-recommends \
openstack-neutron-linuxbridge-agent bridge-utils
Configure the common component
The Networking common component configuration includes the authentication mechanism, message queue, and plug-in.
Edit the
/etc/neutron/neutron.conffile and complete the following actions:In the
[database]section, comment out anyconnectionoptions because compute nodes do not directly access the database.In the
[DEFAULT]section, configureRabbitMQmessage queue access:[DEFAULT] # ... transport_url = rabbit://openstack:RABBIT_PASS@controllerReplace
RABBIT_PASSwith the password you chose for theopenstackaccount in RabbitMQ.In the
[DEFAULT]and[keystone_authtoken]sections, configure Identity service access:[DEFAULT] # ... auth_strategy = keystone [keystone_authtoken] # ... auth_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = neutron password = NEUTRON_PASSReplace
NEUTRON_PASSwith the password you chose for theneutronuser in the Identity service.Note
Comment out or remove any other options in the
[keystone_authtoken]section.
In the
[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 neutron-compute-compute-obs.
compute-install-option1-obs.rst compute-install-option2-obs.rst
Configure the Compute service to use the Networking service
- Edit the
/etc/nova/nova.conffile and complete the following actions:In the
[neutron]section, configure access parameters:[neutron] # ... url = http://controller:9696 auth_url = http://controller:35357 auth_type = password project_domain_name = default user_domain_name = default region_name = RegionOne project_name = service username = neutron password = NEUTRON_PASSReplace
NEUTRON_PASSwith the password you chose for theneutronuser in the Identity service.
Finalize installation
The Networking service initialization scripts expect the variable
NEUTRON_PLUGIN_CONFin the/etc/sysconfig/neutronfile to reference the ML2 plug-in configuration file. Ensure that the/etc/sysconfig/neutronfile contains the following:NEUTRON_PLUGIN_CONF="/etc/neutron/plugins/ml2/ml2_conf.ini"Restart the Compute service:
# systemctl restart openstack-nova-compute.serviceStart the Linux Bridge agent and configure it to start when the system boots:
# systemctl enable openstack-neutron-linuxbridge-agent.service # systemctl start openstack-neutron-linuxbridge-agent.service