问题描述
配置neutron的时候遇到问题:两台机器,一台做controller一台做compute,都是单网卡。controller的ip:192.168.20.1compute的ip:192.168.20.2controller上面nova的相关配置:neutron_url=http://controller:9696neutron_auth_strategy=keystoneneutron_admin_tenant_name=serviceneutron_admin_username=neutronneutron_admin_password=neutronneutron_admin_auth_url=http://controller:35357/v2.0neutron_use_dhcp=truenetwork_manager=nova.network.neutron.manager.NeutronManagerconnection_type=libvirtlibvirt_type=qemulibvirt_vif_type=ethernetlibvirt_vif_driver=nova.virt.libvirt.vif.NeutronLinuxBridgeVIFDriverlinuxnet_interface_driver=nova.network.linux_net.NeutronLinuxBridgeInterfaceDriverservice_neutron_metadata_proxy=trueneutron_metadata_proxy_shared_secret=star123metadata_host=controllermetadata_listen=0.0.0.0forward_bridge_interface=all
l3_agent.ini[DEFAULT]interface_driver=neutron.agent.linux.interface.BridgeInterfaceDriveruse_namespaces=Trueexternal_network_bridge=
dhcp_agent.iniinterface_driver=neutron.agent.linux.interface.BridgeInterfaceDriverdhcp_driver=neutron.agent.linux.dhcp.Dnsmasquse_namespaces=True
linuxbridge.ini[vlans]tenant_network_type=vlannetwork_vlan_ranges=physnet1:1000:2999[linux_bridge]physical_interface_mappings=physnet1:int0[securitygroup]firewall_driver=neutron.agent.firewall.NoopFirewallDriver
neutron.confcore_plugin=neutron.plugins.linuxbridge.lb_neutron_plugin.LinuxBridgePluginV2service_plugins=router
其他认证之类的配置没有贴上来。启动的时候还算正常,运行neutronagent-list等命令的时候会显示Connectiontoneutronfailed:Maximumattemptsreached,查看发现neutron-server挂掉,log里面显示[code=text]2014-07-0209:49:36.11017513CRITICALneutron[-](u'Multiplepluginsforservice%swereconfigured','L3_ROUTER_NAT')[code]另外,关于linux-bridge配置的资料,官方文档里面基本没有提及,在网上找了一些但是配出来还是有各种问题。是否可以推荐一个比较靠谱的linuxbridge配置openstack教程吗?
解决方案
本帖最后由 fzhouse 于 2014-07-02 09:59:22 编辑
解决方案二:
我也遇到同样的问题,不知道你的问题解决了没有?
解决方案三:
说得好不错,楼主多多指教
解决方案四:
不错啊啊啊啊啊