八:OPENSTACK Queens部署neutron服务到计算节点

Posted MisterChen

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了八:OPENSTACK Queens部署neutron服务到计算节点相关的知识,希望对你有一定的参考价值。

备注:在计算节点操作

  • 安装网络相关服务

[root@computer ~]# yum install -y openstack-neutron-linuxbridge ebtables ipset

  • 编辑配置文件neutron.conf

[root@computer ~]# vim /etc/neutron/neutron.conf

[DEFAULT]

transport_url = rabbit://openstack:123456@controller

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 = 123456

[oslo_concurrency]

lock_path = /var/lib/neutron/tmp

  • 编辑配置文件linuxbridge_agent.ini

[root@computer ~]# vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini

[vxlan]

enable_vxlan = false

[linux_bridge]

physical_interface_mappings = provider:ens160

[securitygroup]

enable_security_group = true

firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

  • 编辑配置文件00-system.conf

[root@computer ~]# vim /usr/lib/sysctl.d/00-system.conf

net.bridge.bridge-nf-call-ip6tables = 1

net.bridge.bridge-nf-call-iptables = 1

  • 编辑配置文件nova.conf

[root@computer ~]# vim /etc/nova/nova.conf

[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 = 123456

  • 重新启动nova

[root@computer ~]# systemctl restart openstack-nova-compute.service

  • 启动网络服务

[root@computer ~]# systemctl enable neutron-linuxbridge-agent.service

[root@computer ~]# systemctl start neutron-linuxbridge-agent.service

以上是关于八:OPENSTACK Queens部署neutron服务到计算节点的主要内容,如果未能解决你的问题,请参考以下文章

queens版本openstack部署nova报错解决

四:OPENSTACK Queens部署glance服务

三:OPENSTACK Queens部署keystone服务

六:OPENSTACK Queens部署computer服务

社区OpenStack Queens版本部署安装详解

五:OPENSTACK Queens部署computer计算服务