Výpočetní uzel obsluhuje připojení a bezpečnostní skupiny instancí.
# zypper install --no-recommends \
openstack-neutron-linuxbridge-agent bridge-utils
Nastavení společných součástí sítě zahrnuje mechanismus ověření, frontu zpráv a zásuvný modul.
Poznámka
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
should retain.
Upravte soubor /etc/neutron/neutron.conf
a proveďte následující úkony:
V části [database]
okomentujte všechny volby connection
protože uzly výpočty nevyužívají přímý přístup k databázi.
In the [DEFAULT]
section, configure RabbitMQ
message queue access:
[DEFAULT]
...
transport_url = rabbit://openstack:RABBIT_PASS@controller
Nahraďte RABBIT_PASS
Vámi zvoleným heslem pro účet openstack
v RabbitMQ.
V částech [DEFAULT]
a [keystone_authtoken]
nastavte přístup ke službě identit:
[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
Nahraďte NEUTRON_PASS
vámi zvoleným heslem pro uživatele neutron
ve službě identit.
Poznámka
Okomentujte nebo odstraňte všechny ostatní možnosti v části [keystone_authtoken]
.
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.
Upravte soubor /etc/nova/nova.conf
a proveďte následující úkony:
V části ``[neutron]``nastavte parametry přístupu:
[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
Nahraďte NEUTRON_PASS
vámi zvoleným heslem pro uživatele neutron
ve službě identit.
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"
Restartujte výpočtovou službu:
# systemctl restart openstack-nova-compute.service
Spusťte Linux agenta přemostění a nastavte ho aby byl spuštěn při zavedení systému:
# systemctl enable openstack-neutron-linuxbridge-agent.service
# systemctl start openstack-neutron-linuxbridge-agent.service
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.