This change updates the auth_url value to match what has changed in the keystone install guide: https://review.openstack.org/#/c/541857/ Change-Id: I97356b31af35ef19d02b9f0c0a57cbde16752c65
3.3 KiB
Install and configure compute node
The compute node handles connectivity and security groups for instances.
Install the components
# apt install neutron-linuxbridge-agent
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] # ... www_authenticate_uri = http://controller:5000 auth_url = http://controller:5000 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.
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.conffile and complete the following actions:In the
[neutron]section, configure access parameters:[neutron] # ... url = http://controller:9696 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_PASSReplace
NEUTRON_PASSwith the password you chose for theneutronuser in the Identity service.
Finalize installation
Restart the Compute service:
# service nova-compute restartRestart the Linux bridge agent:
# service neutron-linuxbridge-agent restart