Bug 1045137

Summary: Bridge port not added to OVS bridge, external networks inaccessible through bridge
Product: Red Hat OpenStack Reporter: jliberma <jliberma>
Component: openstack-foreman-installerAssignee: Crag Wolfe <cwolfe>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0CC: ajeain, apevec, bperkins, cwolfe, jguiditt, jliberma, mlopes, morazi, oblaut, rhos-maint, sclewis, sreichar, yeylon
Target Milestone: z1Keywords: ZStream
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-foreman-installer-1.0.1-1.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 14:22:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1040649    

Description jliberma@redhat.com 2013-12-19 17:05:17 UTC
Description of problem:
If configure_ovswitch set to true in neutron::networker.pp, bridge interface does not get added to OVS bridge.

Version-Release number of selected component (if applicable):

How reproducible:

Every time

Steps to Reproduce:
1. In Foreman, set Neutron::networker host group parameter configure_ovswich to true
2. Add a host to Neutron::networker host group
3. Run ovs-vsctl show

Actual results:

Interface port not added to bridge:

Bridge "br-em2"
        Port "phy-br-em2"
            Interface "phy-br-em2"
        Port "br-em2"
            Interface "br-em2"
                type: internal

Expected results: Interface port added to bridge:

Bridge "br-em2"
        Port "em2"
            Interface "em2"
        Port "phy-br-em2"
            Interface "phy-br-em2"
        Port "br-em2"
            Interface "br-em2"
                type: internal


Additional info:
Manual command to add Neutron L3 NIC to bridge:

    ovs-vsctl add-port br-em2 em2

Fix L3 agent to use provider network instead of bridge:

    1. edit /etc/neutron/l3_agent.ini
        external_network_bridge = 
    2. restart agent
        service neutron_l3_agent restart

Comment 2 Crag Wolfe 2013-12-20 00:55:56 UTC
*** Bug 1045221 has been marked as a duplicate of this bug. ***

Comment 3 Ofer Blaut 2013-12-31 10:05:54 UTC
I have tested foreman and i can't find a way to add the ports to any bridge 

I have tried uplink/ bridge interface and more

interface is not added to the bridge 

openstack-foreman-installer-1.0.1-1.el6ost.noarch

Comment 4 Ami Jeain 2013-12-31 15:18:33 UTC
based on comment#3...

Comment 5 Crag Wolfe 2014-01-02 17:51:30 UTC
What are the parameters you are using on the Neutron Networker Host Group?  What is the output of "ovs-vsctl show"?

Comment 6 Crag Wolfe 2014-01-02 18:02:44 UTC
Here is a way to cut and paste the parameters that I asked for above: click on the host that is assigned to the Neutron Networker Host Group, then click on the YAML button under details.

Comment 12 Ofer Blaut 2014-01-19 09:15:29 UTC
Verified

Comment 16 Lon Hohberger 2014-02-04 17:19:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-0046.html