[Rdo-list] OVS bridge not coming up at boot on centos7

Arif Ali mail at arif-ali.co.uk
Wed Sep 17 14:52:06 UTC 2014


Hi chaps,

I have been testing rdo-openstack for the last few months, and finally got
the basic stuff working yesterday with all the necessary core bits, :)

The one issue I have found with the system at the moment is that when I
reboot any of the machines in the cluster, whether it's the controller or
the nova node, the OVSBridge ports do not acquire an IP address.

I then go onto the machine via IPMI SOL, and restart the networking through
"systemctl restart network.service"

So an extracts of commands below

If someone can shed any light, hat would be great

# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

# uname -r
3.10.0-123.6.3.el7.x86_64

[root at stack03 ~]# cat /etc/sysconfig/network-scripts/ifcfg-enp2s1f0
DEVICE=enp2s1f0
ONBOOT=yes
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-xcat

[root at stack03 ~]# cat /etc/sysconfig/network-scripts/ifcfg-br-xcat
BOOTPROTO=static
DEVICE=br-xcat
ONBOOT=yes
TYPE=OVSBridge
DEVICETYPE=ovs
IPADDR=10.0.0.3
NETMASK=255.255.254.0

# ovs-vsctl show
663f3055-d146-4e59-979d-741c8488edb8
    Bridge br-int
        fail_mode: secure
        Port "qvo9bb27bce-15"
            tag: 1
            Interface "qvo9bb27bce-15"
        Port "qvo6424e2c9-ec"
            tag: 1
            Interface "qvo6424e2c9-ec"
        Port "qvo89552e51-eb"
            tag: 1
            Interface "qvo89552e51-eb"
        Port "qvo8d8059a9-b7"
            tag: 1
            Interface "qvo8d8059a9-b7"
        Port int-br-xcat
            Interface int-br-xcat
        Port br-int
            Interface br-int
                type: internal
        Port "qvo0ca24fd5-3d"
            tag: 1
            Interface "qvo0ca24fd5-3d"
    Bridge br-xcat
        Port "enp2s1f0"
            Interface "enp2s1f0"
        Port br-xcat
            Interface br-xcat
                type: internal
    ovs_version: "2.0.0"

Below are the list of the core RPMs installed on a nova compute node

# rpm -qa | grep "openvswitch\|openstack\|libvirt\|qemu"
libvirt-daemon-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-driver-nwfilter-1.1.1-29.el7_0.1.x86_64
libvirt-python-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-kvm-1.1.1-29.el7_0.1.x86_64
openstack-neutron-2014.1.2-1.el7.centos.noarch
qemu-kvm-1.5.3-60.el7_0.7.x86_64
qemu-img-1.5.3-60.el7_0.7.x86_64
ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch
libvirt-client-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-driver-nodedev-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-driver-interface-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-driver-secret-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-config-network-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-driver-qemu-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-driver-lxc-1.1.1-29.el7_0.1.x86_64
openstack-nova-compute-2014.1.2-1.el7.centos.noarch
openstack-utils-2014.1-3.el7.noarch
openvswitch-2.0.0-6.el7.x86_64
openstack-neutron-ml2-2014.1.2-1.el7.centos.noarch
libvirt-daemon-driver-storage-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-config-nwfilter-1.1.1-29.el7_0.1.x86_64
libvirt-daemon-driver-network-1.1.1-29.el7_0.1.x86_64
libvirt-1.1.1-29.el7_0.1.x86_64
openstack-nova-common-2014.1.2-1.el7.centos.noarch
qemu-kvm-common-1.5.3-60.el7_0.7.x86_64
openstack-neutron-openvswitch-2014.1.2-1.el7.centos.noarch


--
Arif Ali

IRC: arif-ali at freenode
LinkedIn: http://uk.linkedin.com/in/arifali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20140917/24b56192/attachment.html>


More information about the dev mailing list