The new sphinx version introduces some changes that break build: * Warns if code cannot be parsed for highlighting. Fix the code so that it can be parsed, this includes uncommenting "..." lines. Note that not every config file is an ini-file. Also, the parser seems to have bugs and cannot parse all files. Fix mysql ini file and enable the parameter, see http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_file_per_table * :option: works only with declared options, replace useage with simple ``. This change only handles a few files, more to come later. Change-Id: I7c7335e514581622dd562ee355f62d6ae1beaa18
5.4 KiB
Install and configure compute node
The compute node handles connectivity and security groups <security
group>
for instances.
ubuntu or debian
Install the components
# apt install neutron-linuxbridge-agent
rdo
Install the components
# yum install openstack-neutron-linuxbridge ebtables ipset
obs
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.conf
file and complete the following actions:In the
[database]
section, comment out anyconnection
options because compute nodes do not directly access the database.In the
[DEFAULT]
section, configureRabbitMQ
message queue access:[DEFAULT] # ... transport_url = rabbit://openstack:RABBIT_PASS@controller
Replace
RABBIT_PASS
with the password you chose for theopenstack
account 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_PASS
Replace
NEUTRON_PASS
with the password you chose for theneutron
user in the Identity service.Note
Comment out or remove any other options in the
[keystone_authtoken]
section.
rdo
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
.
neutron-compute-install-option1.rst neutron-compute-install-option2.rst
Configure the Compute service to use the Networking service
- Edit the
/etc/nova/nova.conf
file 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_PASS
Replace
NEUTRON_PASS
with the password you chose for theneutron
user in the Identity service.
Finalize installation
rdo
Restart the Compute service:
# systemctl restart openstack-nova-compute.service
Start the Linux bridge agent and configure it to start when the system boots:
# systemctl enable neutron-linuxbridge-agent.service # systemctl start neutron-linuxbridge-agent.service
obs
The Networking service initialization scripts expect the variable
NEUTRON_PLUGIN_CONF
in the/etc/sysconfig/neutron
file to reference the ML2 plug-in configuration file. Ensure that the/etc/sysconfig/neutron
file contains the following:NEUTRON_PLUGIN_CONF="/etc/neutron/plugins/ml2/ml2_conf.ini"
Restart the Compute service:
# systemctl restart openstack-nova-compute.service
Start 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
ubuntu or debian
Restart the Compute service:
# service nova-compute restart
Restart the Linux bridge agent:
# service neutron-linuxbridge-agent restart