Openstack deployment Summary: "Error: Localipforovsagentmustbesetwhentunnelingisenabled" during deployment

Source: Internet
Author: User

Openstack deployment Summary: "Error: Localipforovsagentmustbesetwhentunnelingisenabled" during deployment
Problem description

When using RDO for multi-node deployment and testing, the models of several dilapidated machines are different (some HP PCs and some DELL PCs ), the following error occurs:

Applying 192.168.40.107_neutron.pp192.168.40.107_neutron.pp:                           [ DONE ]        192.168.40.248_neutron.pp:                           [ DONE ]        192.168.40.105_neutron.pp:                        [ ERROR ]          Applying Puppet manifests                         [ ERROR ]ERROR : Error appeared during Puppet run: 192.168.40.105_neutron.ppError: Local ip for ovs agent must be set when tunneling is enabled at /var/tmp/packstack/b8647a3c31b84caa8b43227bda752bc3/modules/neutron/manifests/agents/ml2/ovs.pp:107 on node computenode.example.org
Problem Analysis

Analysis Error shows that the reason is that the following parameters are configured in the packstack file:

CONFIG_NEUTRON_OVS_TUNNEL_IF=eth0
This configuration specifies that the tunnel communication between the computing node and the network node is implemented through the em1 port, but 192.168.40.107 is an HP machine (the Network Interface Name Is eth *), 192.168.40.105 is a DELL machine (the network interface name is em *). The above error occurs because port eth0 does not exist in port 105. To solve this problem, we must unify the port names of port 105 and port 107, so we need to modify the port name of one of the machines.

Modify the network port name of the machine 105 as eth0. The specific operation is as follows:

(1) Modify NAME = "em1" to NAME = "eth0" in the/etc/udev/rules. d/70-persistent-net.rules File"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="70:f3:95:00:cd:b9", ATTR{type}=="1", KERNEL=="eth*", NAME="em1"

(2) Rename the configuration file

mv /etc/sysconfig/network-scripts/ifcfg-em1 /etc/sysconfig/network-scripts/ifcfg-eth0
(3) change the DEVICE in the eth0 file to eth0.

(4) restart the server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.