neutron/doc/source/install/compute-install-ubuntu.rst
Takashi Kajinami 2bcad25d34 doc: Stop configuring authtoken middleware in compute
... because the middleware is used only by neutron-server.

This also removes the metadata shared secret from compute, because
metadata-agent runs only in controller nodes according to the guide.

Change-Id: I0e5ed7453384d24581bcd8c3a85c8fc36fab910f
2023-10-25 11:26:51 +09:00

2.9 KiB

Install and configure compute node

The compute node handles connectivity and security groups for instances.

Install the components

# apt install neutron-openvswitch-agent

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 any connection options because compute nodes do not directly access the database.

    • In the [DEFAULT] section, configure RabbitMQ message queue access:

      [DEFAULT]
      # ...
      transport_url = rabbit://openstack:RABBIT_PASS@controller

      Replace RABBIT_PASS with the password you chose for the openstack account in RabbitMQ.

  • 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-ubuntu.

compute-install-option1-ubuntu.rst compute-install-option2-ubuntu.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]
      # ...
      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

      Replace NEUTRON_PASS with the password you chose for the neutron user in the Identity service.

      See the compute service configuration guide <configuration/config.html#neutron> for the full set of options including overriding the service catalog endpoint URL if necessary.

Finalize installation

  1. Restart the Compute service:

    # service nova-compute restart
  2. Restart the Linux bridge agent:

    # service neutron-openvswitch-agent restart