Disclaimer: The recent installation of the kilo version of OpenStack found that there were very few existing web tutorials and that most of the tutorials did not install successfully, So write this tutorial. The installation of OpenStack is complex, and this tutorial does not guarantee that it will be installed successfully in different environments. Personal installation tutorials are also prone to errors. At the same time, the installation is in the virtual machine environment, the real installation environment needs to be changed.
Reprint please declare the source:
Zhang someone ER
Original link:http://blog.csdn.net/xinxing__8185/article/details/51353646
Part V Installation of neutron (3)
installation on a compute node
to configure
Vim/etc/sysctl.conf
net.ipv4.conf.all.rp_filter=0net.ipv4.conf.default.rp_filter=0net.bridge.bridge-nf-call-iptables= 1net.bridge.bridge-nf-call-ip6tables=1
Execution
Sysctl-p
Install package
Yum Install Openstack-neutron OPENSTACK-NEUTRON-ML2 openstack-neutron-openvswitch
Making changes to the relevant configuration file
Vim/etc/neutron/neutron.conf
Rpc_backend=rabbit Remove # rabbit_host = Controllerrabbit_userid=openstackrabbit_password =openstack auth_strategy = Keystone Remove the # number in the label [Keystone_authtoken] to modify the following: Auth_uri = Http://controller:5000auth_url = Http://controller:35357auth_ Plugin = passwordproject_domain_id = defaultuser_domain_id = Defaultproject_name = serviceusername = Neutronpassword = neu Tron #替换NEUTRON_PASScore_plugin = ml2service_plugins = Routerallow_overlapping_ips = True[default]verbose = True
Vim/etc/neutron/plugins/ml2/ml2_conf.ini
Type_drivers = Flat,vlan,gre,vxlantenant_network_types = Gremechanism_drivers = openvswitchtunnel_id_ranges=1:1000 Enable_security_group = Trueenable_ipset = Truefirewall_driver = Neutron.agent.linux.iptables_firewall. Ovshybridiptablesfirewalldriver Add the following (if not) [OVS]LOCAL_IP = instance_tunnels_interface_ip_address [agent]tunnel_ Types = GRE
Start
Systemctl Enable Openvswitch.servicesystemctl start Openvswitch.service
Make the relevant configuration
Vim//etc/nova/nova.conf
Network_api_class = Nova.network.neutronv2.api.APIsecurity_group_api = Neutronlinuxnet_interface_driver = Nova.network.linux_net. Linuxovsinterfacedriverfirewall_driver = Nova.virt.firewall.NoopFirewallDriver under [neutorn] tab URL = Http://controller : 9696auth_strategy = Keystoneadmin_auth_url = Http://controller:35357/v2.0admin_tenant_name = Serviceadmin_username = Neutronadmin_password = Neutron #替换NEUTRON_PASS auth_strategy=keystone
Ln-s/etc/neutron/plugins/ml2/ml2_conf.ini/etc/neutron/plugin.ini
cp/usr/lib/systemd/system/neutron-openvswitch-agent.service/usr/lib/systemd/system/ Neutron-openvswitch-agent.service.orig
Sed-i ' S,plugins/openvswitch/ovs_neutron_plugin.ini,plugin.ini,g '/usr/lib/systemd/system/ Neutron-openvswitch-agent.service
Restart
Systemctl Restart Openstack-nova-compute.servicesystemctl Enable Neutron-openvswitch-agent.servicesystemctl start Neutron-openvswitch-agent.service
--------------------------------------------------------------------------------------------------------------- -------
On the Control node (test)
SOURCE Admin-openrc.shneutorn Agent-list
If it works, you can create the initial network.
This tutorial ends.
Note: The future blog will be related to the installation of the problems encountered during the summary.
Oracle VM + centos7.1+openstack kilo Multi-node installation tutorial---Neutron installation (3)