なにかの技術メモ置き場

なにかの技術メモ置き場

@インフラエンジニア

OpenStack環境構築 part21

Networking service (Neutron)

Install and configure compute node

Install the components
Network Option 1で実施済みのため不要
Configure the common component
Network Option 1で実施済みのため不要
Configure networking options

▼jump page

Networking Option 2: Self-service networks

Configure the Linux bridge agent
cp -p /etc/neutron/plugins/ml2/linuxbridge_agent.ini{,_provider}
ls -l /etc/neutron/plugins/ml2/linuxbridge_agent.ini*
cat << EOF > /etc/neutron/plugins/ml2/linuxbridge_agent.ini
[linux_bridge]
physical_interface_mappings = provider:enp0s25

[vxlan]
enable_vxlan = true
local_ip = 172.16.0.207
l2_population = true

[securitygroup]
enable_security_group = true
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
EOF
cat /etc/neutron/plugins/ml2/linuxbridge_agent.ini
sysctl net.bridge.bridge-nf-call-iptables
sysctl net.bridge.bridge-nf-call-ip6tables

→いつの間にか1になっていた

▲return page

Install and configure compute node

Configure the Compute service to use the Networking service
Network Option 1で実施済みのため不要
Finalize installation
systemctl restart openstack-nova-compute.service
systemctl restart neutron-linuxbridge-agent.service
systemctl is-active neutron-linuxbridge-agent.service

参考サイト

docs.openstack.org